Function at 0x439cb0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x4b7d93
mov eax, dword fs:[0]
push eax
mov eax, 0x2258
call fcn.00494d10
mov eax, dword [0x50a360]
xor eax, esp
mov dword [esp + 0x2254], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x50a360]
xor eax, esp
push eax
lea eax, [esp + 0x226c]
mov dword fs:[0], eax
mov esi, ecx
mov ebx, dword [esp + 0x2280]
mov ebp, dword [esp + 0x227c]
push 0xffffffffffffffff
push 0
mov ecx, ebx
mov dword [esp + 0x30], ebx
call fcn.0046e6d1
xor eax, eax
cmp dword [esi + 0xc64], eax
je 0x43a29c
push 0x206
push eax
lea ecx, [esp + 0x6a]
push ecx
mov word [esp + 0x6c], ax
call fcn.00494750
mov eax, dword [0x50b824]
add esp, 0xc
push 0x104
lea edx, [esp + 0x64]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [esp + 0x60]
push 0x5c
push ecx
call fcn.0049543c
xor edx, edx
lea edi, [esp + 0x68]
add esp, 8
mov word [eax], dx
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x439d65
xor eax, eax
mov ecx, 8
mov esi, str.BMFileType.ini
push 0x1ffe
rep movsd dword es:[edi], dword [esi]
push eax
lea ecx, [esp + 0x272]
push ecx
mov word [esp + 0x274], ax
call fcn.00494750
add esp, 0xc
lea edx, [esp + 0x60]
push edx
push 0x1000
lea eax, [esp + 0x270]
push eax
push str.ChipDSPMap
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionW]
test eax, eax
jne 0x439dd2
push eax
push eax
push str.Not_found_ChipID_DSPName_map_setting_in_BMFileType.ini_
call fcn.0046cf28
or eax, 0xffffffff
jmp 0x43a29c
lea ecx, [esp + 0x34]
call fcn.0046e650
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x26c]
push edx
mov dword [esp + 0x227c], 0
call fcn.004589d0
mov edi, eax
add esp, 8
mov dword [esp + 0x30], edi
test edi, edi
jne 0x439e2d
push eax
push eax
push str.Not_found_ChipID_DSPName_map_setting_in_BMFileType.ini_
call fcn.0046cf28
lea ecx, [esp + 0x34]
mov dword [esp + 0x2274], 0xffffffff
call fcn.0046e87c
or eax, 0xffffffff
jmp 0x43a29c
push 0x4ef7cc
lea ecx, [esp + 0x20]
call fcn.00402560
push ebp
lea ecx, [esp + 0x28]
mov byte [esp + 0x2278], 1
call fcn.00402560
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
push eax
mov byte [esp + 0x2278], 2
call fcn.00401560
lea esi, [eax + 0x10]
mov dword [esp + 0x24], esi
push 0x5c
push esi
mov byte [esp + 0x2280], 3
call fcn.0049543c
add esp, 0xc
test eax, eax
jne 0x439e85
or eax, 0xffffffff
jmp 0x439e89
sub eax, esi
sar eax, 1
push eax
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x28]
call fcn.00401a30
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x2278], 4
call fcn.00401bf0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x2274], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x439ed2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x48]
call fcn.00475e73
xor ebp, ebp
mov byte [esp + 0x2274], 5
test edi, edi
jbe 0x43a11d
lea edi, [ebp + 1]
lea esi, [ebp + 4]
mov bl, 6
call fcn.0046c2c1
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x43a1eb
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0x2274], bl
test edi, edi
jl 0x43a1f5
cmp edi, dword [esp + 0x3c]
jge 0x43a1f5
mov ecx, dword [esp + 0x38]
mov eax, dword [ecx + esi]
mov edx, dword [esp + 0x20]
push eax
push edx
lea eax, [esp + 0x20]
push str._s_s
push eax
call fcn.00401cb0
mov ecx, dword [esp + 0x28]
add esp, 0x10
push 0
push ecx
lea ecx, [esp + 0x50]
call fcn.00475f0b
test eax, eax
jne 0x43a0a0
call fcn.0046c2c1
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x43a1eb
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
push str..flag
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x34]
push edx
mov byte [esp + 0x2280], 7
call fcn.00418700
add esp, 0xc
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x2278], 8
call fcn.00401bf0
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
mov byte [esp + 0x2274], 7
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x439fe6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x14]
push 0
push ecx
lea ecx, [esp + 0x50]
call fcn.00475f0b
test eax, eax
jne 0x43a037
mov eax, dword [esp + 0x18]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x24]
call fcn.00401ab0
push 0x4c5f58
lea ecx, [esp + 0x20]
call fcn.00402520
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x2274], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x43a092
mov eax, dword [esp + 0x24]
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x43a1eb
mov ecx, dword [esp + 0x14]
push eax
push ecx
call fcn.00495a5d
add esp, 8
test eax, eax
je 0x43a06e
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx + 8]
lea edx, [esp + 0x14]
push edx
push eax
call fcn.0046e9cb
lea ecx, [esp + 0x48]
call fcn.00475a58
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x2274], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43a0e0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x43a0e0
mov eax, dword [esp + 0x24]
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x43a1eb
mov ecx, dword [esp + 0x18]
push eax
push ecx
call fcn.00495a5d
add esp, 8
test eax, eax
je 0x43a0d7
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx + 8]
lea edx, [esp + 0x18]
push edx
push eax
call fcn.0046e9cb
lea ecx, [esp + 0x48]
call fcn.00475a58
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [esp + 0x2274], 5
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43a108
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
inc ebp
add esi, 8
add edi, 2
cmp ebp, dword [esp + 0x30]
jb 0x439ef5
mov ebx, dword [esp + 0x28]
mov ecx, dword [esp + 0x1c]
cmp dword [ecx - 0xc], 0
je 0x43a1fa
push str.Not_found_bellow_DSP_file:_r_n
push 0
lea ecx, [esp + 0x24]
call fcn.00417890
push 0x2c
push str._r_nPlease_check_BMFileType.ini___ChipDspMap__
lea ecx, [esp + 0x24]
call fcn.00401ab0
mov edx, dword [esp + 0x1c]
push 0
push 0
push edx
call fcn.0046cf28
lea ecx, [esp + 0x48]
mov byte [esp + 0x2274], 3
call fcn.00475e9c
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x2274], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43a192
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov byte [esp + 0x2274], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43a1ba
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x2274], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x439e11
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x439e11
push 0x80004005
call fcn.00401150
call fcn.00464489
mov esi, dword [ebx + 8]
lea ecx, [esp + 0x48]
mov byte [esp + 0x2274], 3
call fcn.00475e9c
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x2274], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43a236
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov byte [esp + 0x2274], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43a25e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x2274], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43a286
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x34]
mov dword [esp + 0x2274], 0xffffffff
call fcn.0046e87c
mov eax, esi
mov ecx, dword [esp + 0x226c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2254]
xor ecx, esp
call fcn.004945a7
add esp, 0x2264
ret 8