Function at 0x405d70
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x510
mov esi, esp
mov dword [esi + 0x4f8], ebp
mov dword [esi + 0x4fc], esp
mov dword [esi + 0x508], 0xffffffff
mov dword [esi + 0x504], 0x417910
lea edi, [esi + 0xa0]
lea eax, [esi + 0x500]
mov ecx, dword fs:[0]
mov dword [esi + 0x500], ecx
mov dword fs:[0], eax
push edi
call fcn.004172a0
add esp, 4
lea eax, [esi + 0x2c0]
push 0x150
push edi
push eax
call fcn.0054ad50
add esp, 0xc
lea eax, [esi + 0x18]
mov dword [esi + 0x508], 0
push eax
call fcn.004ddcd0
add esp, 4
lea ecx, [esi + 0x18]
mov dword [esi + 0x508], 1
lea eax, [esi + 0x38]
push ecx
lea ecx, [esi + 0x2c0]
push ecx
push eax
call fcn.004341d0
add esp, 0xc
mov edi, dword [esi + 0x20]
mov ebx, dword [esi + 0x24]
sub ebx, edi
je 0x405e4e
add edi, 4
jmp 0x405e38
add edi, 0xc
add ebx, 0xfffffff4
je 0x405e4e
mov eax, dword [edi]
test eax, eax
je 0x405e30
push 1
push eax
push dword [edi - 4]
call fcn.0043c2a0
add esp, 0xc
jmp 0x405e30
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x405e77
shl eax, 2
lea eax, [eax + eax*2]
test eax, eax
je 0x405e77
push 4
push eax
push dword [esi + 0x18]
call fcn.0043c2a0
add esp, 0xc
mov dword [esi + 0x508], 2
mov dword [esi + 0x508], 2
push 9
push 0x57319d
lea eax, [esi + 0x38]
push eax
call fcn.00434580
add esp, 0xc
test eax, eax
je 0x405fc3
push edx
push eax
lea eax, [esi + 0x2c0]
push eax
call fcn.004e6fd0
add esp, 0xc
mov eax, dword [esi + 0x2c0]
mov ecx, dword [esi + 0x2c4]
mov edx, dword [esi + 0x2c8]
mov dword [esi + 8], ecx
mov dword [esi + 0x34], edx
mov ecx, dword [esi + 0x48]
mov dword [esi + 4], eax
test ecx, ecx
je 0x405ef4
lea eax, [ecx + 1]
mov edx, 4
mul edx
mov edx, dword [esi + 0x4c]
add eax, 0xf
and eax, 0xfffffff0
lea ecx, [ecx + eax + 0x11]
sub edx, eax
push 0x10
push ecx
push edx
call fcn.0043c2a0
add esp, 0xc
lea eax, [esi + 0x58]
mov dword [esi + 0x508], 3
push eax
call fcn.00431b00
add esp, 4
mov eax, dword [esi + 0x5c]
mov edi, dword [esi + 4]
test eax, eax
je 0x405f29
imul eax, eax, 0x38
test eax, eax
je 0x405f29
push 8
push eax
push dword [esi + 0x58]
call fcn.0043c2a0
add esp, 0xc
lea ecx, [esi + 0x68]
mov dword [esi + 0x508], 0xffffffff
call fcn.00401390
mov eax, dword [0x5720b0]
mov dword [esi + 0xa0], edi
mov dword [esi + 0x508], 0xd
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x34]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0xa8], eax
mov eax, dword [esi + 8]
mov dword [esi + 0xa4], eax
push 0xe
push str.bdredline.conferror_reading_config_fileinvalid_config_file
lea eax, [esi + 0x2c0]
push eax
call fcn.004e6fd0
add esp, 0xc
mov eax, dword [esi + 0x2c0]
mov ecx, dword [esi + 0x2c4]
cmp dword [esi + 4], 0
je 0x405fd8
mov edx, dword [esi + 0xa8]
movsd xmm0, qword [esi + 0xa0]
test ecx, ecx
mov dword [esi + 0x40], edx
movsd qword [esi + 0x38], xmm0
je 0x405fe7
push 1
push ecx
push eax
call fcn.0043c2a0
add esp, 0xc
jmp 0x405fe7
xor eax, eax
mov ecx, dword [esi + 0x48]
mov dword [esi + 4], eax
test ecx, ecx
jne 0x405ecf
jmp 0x405ef4
mov edx, dword [esi + 0x2c8]
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], ecx
mov dword [esi + 0x40], edx
lea eax, [esi + 0x2c0]
mov dword [esi + 0x508], 8
push eax
call fcn.004deca0
add esp, 4
push 1
lea eax, [esi + 0x2c0]
push eax
call fcn.004decd0
add esp, 8
mov dword [esi + 4], eax
lea eax, [esi + 0x38]
push eax
call fcn.004ef6a0
add esp, 4
push edx
push eax
push dword [esi + 4]
lea eax, [esi + 0x18]
push eax
call fcn.004ded20
add esp, 0x10
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x406046
push 1
push eax
push dword [esi + 0x38]
call fcn.0043c2a0
add esp, 0xc
cmp dword [esi + 0x18], 1
jne 0x406054
mov edx, dword [esi + 0x1c]
mov ecx, dword [esi + 0x20]
jmp 0x4060a5
mov eax, dword [esi + 0x1c]
mov dword [esi + 0x508], 0xc
lea ecx, [esi + 0x70]
mov dword [esi + 0x2c0], eax
lea eax, [esi + 0xc]
push eax
lea eax, [esi + 0x2c0]
push eax
push ecx
call fcn.004debf0
add esp, 0xc
mov eax, dword [esi + 0x2c0]
mov dword [esi + 0x508], 4
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esi + 0x70], 1
jne 0x406290
mov ecx, dword [esi + 0x78]
mov edx, dword [esi + 0x74]
lea eax, [esi + 0x2c0]
mov dword [esi + 8], edx
mov dword [esi + 0x38], edx
mov dword [esi + 4], ecx
mov dword [esi + 0x3c], ecx
mov dword [esi + 0x508], 7
push eax
call fcn.004ccf10
add esp, 4
mov eax, dword [esi + 0x2d8]
movsd xmm0, qword [esi + 0x2d0]
movsd xmm2, qword [esi + 0x2c0]
movsd xmm1, qword [esi + 0x2c8]
mov dword [esi + 0xb8], eax
movsd qword [esi + 0xb0], xmm0
movsd qword [esi + 0xa8], xmm1
movsd qword [esi + 0xa0], xmm2
push 4
push 0x24
call fcn.0043c290
add esp, 8
test eax, eax
je 0x406830
mov ecx, dword [esi + 0xb8]
movsd xmm0, qword [esi + 0xb0]
movsd xmm1, qword [esi + 0xa8]
mov dword [esi + 0x508], 6
mov dword [eax + 0x18], ecx
movsd qword [eax + 0x10], xmm0
movsd xmm0, qword [esi + 0xa0]
mov ecx, dword [esi + 8]
movsd qword [eax + 8], xmm1
mov dword [esi + 0xa0], 0x5721ca
mov dword [esi + 0xa4], 0x19
mov dword [esi + 0xa8], 1
mov dword [esi + 0xac], eax
mov dword [esi + 0xb0], 0x575680
movsd qword [eax], xmm0
mov dword [eax + 0x1c], ecx
mov ecx, dword [esi + 4]
mov dword [eax + 0x20], ecx
lea ecx, [esi + 0xa8]
push ecx
call fcn.004cce00
add esp, 4
lea eax, [esi + 0x38]
push eax
call fcn.004ccf00
add esp, 4
movsd xmm1, qword [esi + 0xb0]
movsd xmm0, qword [esi + 0xc0]
movsd xmm2, qword [esi + 0xb8]
movsd xmm3, qword [esi + 0xa0]
mov eax, dword [esi + 0x50]
movsd qword [esi + 0x2ec], xmm1
movsd xmm1, qword [esi + 0xa8]
movsd qword [esi + 0x2f4], xmm2
movsd qword [esi + 0x2fc], xmm0
movsd qword [esi + 0x2dc], xmm3
movsd xmm2, qword [esi + 0x38]
movsd qword [esi + 0x2e4], xmm1
movsd xmm1, qword [esi + 0x40]
movsd qword [esi + 0x2c0], xmm2
mov dword [esi + 0x2d8], eax
movsd qword [esi + 0x2c8], xmm1
movsd xmm1, qword [esi + 0x48]
movsd qword [esi + 0x2d0], xmm1
push 4
push 0x44
call fcn.0043c290
add esp, 8
test eax, eax
je 0x40683e
mov edi, eax
push 0x44
lea eax, [esi + 0x2c0]
push eax
push edi
call fcn.0054ad50
add esp, 0xc
mov eax, dword [ebp + 8]
mov dword [eax + 4], edi
mov dword [eax + 8], 0x5754b8
mov edi, eax
mov dword [eax], 1
mov eax, dword [esi + 0x10]
test eax, eax
je 0x40627a
push 1
push eax
push dword [esi + 0xc]
call fcn.0043c2a0
add esp, 0xc
mov eax, dword [esi + 0x500]
mov dword fs:[0], eax
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
push dword [esi + 0x14]
push dword [esi + 0xc]
lea eax, [esi + 0x2c0]
push eax
call fcn.00417e30
add esp, 0xc
cmp dword [esi + 0x2c0], 0
je 0x4062d2
mov edi, dword [esi + 0x2c4]
mov eax, dword [edi]
cmp eax, 1
je 0x4062f8
test eax, eax
jne 0x406349
mov eax, dword [edi + 8]
test eax, eax
je 0x406349
push 1
push eax
push dword [edi + 4]
jmp 0x406341
mov edi, dword [ebp + 8]
lea eax, [esi + 0x2c4]
lea ecx, [edi + 4]
push 0xb0
push eax
push ecx
call fcn.0054ad50
add esp, 0xc
mov dword [edi], 0
jmp 0x406265
cmp byte [edi + 4], 3
jne 0x406349
mov ecx, dword [edi + 8]
mov dword [esi + 8], edi
mov eax, dword [ecx]
mov dword [esi + 4], ecx
mov ecx, dword [ecx + 4]
mov dword [esi + 0x508], 5
push eax
call dword [ecx]
add esp, 4
mov edx, dword [esi + 4]
mov eax, dword [edx + 4]
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x406337
push dword [eax + 8]
push ecx
push dword [edx]
call fcn.0043c2a0
add esp, 0xc
push 4
push 0xc
mov edi, dword [esi + 8]
push dword [edi + 8]
call fcn.0043c2a0
add esp, 0xc
push 4
push 0x14
push edi
call fcn.0043c2a0
add esp, 0xc
mov eax, dword [esi + 0x14]
mov dword [esi + 0x508], 4
cmp eax, 0xc
ja 0x4063e0
lea eax, [esi + 0x2c0]
push eax
call fcn.004ccf10
add esp, 4
push 4
push 0x24
call fcn.0043c290
add esp, 8
test eax, eax
je 0x406830
mov ecx, dword [esi + 0x2d8]
movsd xmm0, qword [esi + 0x2d0]
movsd xmm2, qword [esi + 0x2c0]
movsd xmm1, qword [esi + 0x2c8]
mov edi, dword [ebp + 8]
mov dword [edi + 4], eax
mov dword [edi + 8], 0x575420
mov dword [eax + 0x18], ecx
movsd qword [eax + 0x10], xmm0
movsd qword [eax + 8], xmm1
movsd qword [eax], xmm2
mov dword [eax + 0x1c], 0x5721e3
mov dword [eax + 0x20], 0x13
mov dword [edi], 1
jmp 0x406265
mov dword [esi + 0x14], 0
add eax, 0xfffffff4
mov dword [esi + 0x2c0], 0xc
mov ecx, dword [esi + 0xc]
mov dword [esi + 0x2c4], eax
lea eax, [esi + 0xc]
mov dword [esi + 0x2c8], ecx
add ecx, 0xc
mov dword [esi + 0x2cc], ecx
lea ecx, [esi + 0x2c0]
mov dword [esi + 0x2d0], eax
lea eax, [esi + 0x7c]
push ecx
push eax
call fcn.00432f70
add esp, 8
mov eax, dword [esi + 0x84]
cmp eax, 0xc
jne 0x40684c
mov eax, dword [esi + 0x7c]
movsd xmm0, qword [eax]
mov dword [esi + 4], eax
movsd qword [esi + 0x90], xmm0
mov eax, dword [eax + 8]
mov dword [esi + 0x508], 9
mov dword [esi + 0x98], eax
mov eax, dword [0x61c0bc]
push 0x20
push str.NVAAGDZCAWIEYLUWWCHXTYKTSCISABMXerror_parsing_config_file
push eax
lea eax, [esi + 0xa0]
push eax
call fcn.0046af80
add esp, 0x10
cmp dword [esi + 0xa0], 2
je 0x406868
push 0x220
lea edi, [esi + 0xa0]
push edi
lea ebx, [esi + 0x2c0]
push ebx
call fcn.0054ad50
add esp, 0xc
movsd xmm0, qword [esi + 0x90]
mov eax, dword [esi + 0x98]
mov edx, dword [esi + 0x14]
mov ecx, dword [esi + 0xc]
movsd qword [esi + 0x4e1], xmm0
mov dword [esi + 0x4e9], eax
mov byte [esi + 0x4e0], 0
mov dword [esi + 0xa8], eax
movsd qword [esi + 0xa0], xmm0
push 0
push edx
push ecx
push 9
push 0x5721a1
push edi
push ebx
call fcn.0046ae50
add esp, 0x1c
test eax, eax
je 0x406689
push edx
push eax
lea eax, [esi + 0xa0]
push eax
call fcn.00417e30
add esp, 0xc
mov ebx, dword [esi + 0xa4]
cmp dword [esi + 0xa0], 1
jne 0x4067a3
lea eax, [esi + 0x38]
mov dword [esi + 8], ebx
mov dword [esi + 0x70], ebx
mov dword [esi + 0x508], 0xa
push eax
call fcn.004ccf10
add esp, 4
mov eax, dword [esi + 0x50]
movsd xmm0, qword [esi + 0x48]
movsd xmm2, qword [esi + 0x38]
movsd xmm1, qword [esi + 0x40]
mov dword [esi + 0x30], eax
movsd qword [esi + 0x28], xmm0
movsd qword [esi + 0x20], xmm1
movsd qword [esi + 0x18], xmm2
push 4
push 0x20
call fcn.0043c290
add esp, 8
test eax, eax
je 0x406895
mov ecx, dword [esi + 0x30]
movsd xmm0, qword [esi + 0x28]
movsd xmm2, qword [esi + 0x18]
movsd xmm1, qword [esi + 0x20]
mov dword [esi + 0x38], 0x572228
mov dword [esi + 0x3c], 0x19
mov dword [esi + 0x40], 1
mov dword [esi + 0x44], eax
mov dword [esi + 0x48], 0x5753d4
mov dword [esi + 0x508], 0xf
mov dword [eax + 0x18], ecx
mov ecx, dword [esi + 8]
movsd qword [eax + 0x10], xmm0
movsd qword [eax + 8], xmm1
movsd qword [eax], xmm2
mov dword [eax + 0x1c], ecx
lea ecx, [esi + 0x40]
push ecx
call fcn.004cce00
add esp, 4
lea eax, [esi + 0x18]
push eax
call fcn.004ccf00
add esp, 4
movsd xmm1, qword [esi + 0x48]
movsd xmm0, qword [esi + 0x58]
movsd xmm2, qword [esi + 0x50]
movsd xmm3, qword [esi + 0x38]
mov eax, dword [esi + 0x30]
movsd qword [esi + 0xcc], xmm1
movsd xmm1, qword [esi + 0x40]
movsd qword [esi + 0xd4], xmm2
movsd qword [esi + 0xdc], xmm0
movsd qword [esi + 0xbc], xmm3
movsd xmm2, qword [esi + 0x18]
movsd qword [esi + 0xc4], xmm1
movsd xmm1, qword [esi + 0x20]
movsd qword [esi + 0xa0], xmm2
mov dword [esi + 0xb8], eax
movsd qword [esi + 0xa8], xmm1
movsd xmm1, qword [esi + 0x28]
movsd qword [esi + 0xb0], xmm1
push 4
push 0x44
call fcn.0043c290
add esp, 8
test eax, eax
je 0x40683e
mov edi, eax
push 0x44
lea eax, [esi + 0xa0]
push eax
push edi
call fcn.0054ad50
add esp, 0xc
mov eax, dword [ebp + 8]
mov dword [eax + 4], edi
mov edi, eax
mov dword [eax + 8], 0x5754b8
mov dword [eax], 1
jmp 0x40680f
lea eax, [esi + 0xa0]
mov dword [esi + 0xa0], 0x572244
mov dword [esi + 0xa4], 1
mov dword [esi + 0xa8], 0
mov dword [esi + 0xb0], str.error_reading
mov dword [esi + 0xb4], 0
push eax
lea eax, [esi + 0x70]
push eax
call fcn.004feef0
add esp, 8
mov eax, dword [esi + 0x78]
movsd xmm0, qword [esi + 0x70]
mov dword [esi + 0x508], 0xb
mov dword [esi + 0x20], eax
lea eax, [esi + 0x38]
movsd qword [esi + 0x18], xmm0
push eax
call fcn.004ccf10
add esp, 4
mov eax, dword [esi + 0x20]
movsd xmm0, qword [esi + 0x18]
movsd xmm1, qword [esi + 0x40]
movsd xmm2, qword [esi + 0x38]
mov dword [esi + 0xc4], eax
movsd qword [esi + 0xbc], xmm0
mov eax, dword [esi + 0x50]
movsd qword [esi + 0xa8], xmm1
movsd xmm1, qword [esi + 0x48]
movsd qword [esi + 0xa0], xmm2
movsd qword [esi + 0xb0], xmm1
mov dword [esi + 0xb8], eax
push 4
push 0x28
call fcn.0043c290
add esp, 8
mov edi, dword [ebp + 8]
test eax, eax
je 0x406887
movsd xmm2, qword [esi + 0xb8]
movsd xmm1, qword [esi + 0xb0]
movsd xmm0, qword [esi + 0xc0]
mov dword [edi + 4], eax
mov dword [edi + 8], 0x575718
mov dword [edi], 1
movsd qword [eax + 0x18], xmm2
movsd qword [eax + 0x10], xmm1
movsd xmm2, qword [esi + 0xa0]
movsd xmm1, qword [esi + 0xa8]
movsd qword [eax + 0x20], xmm0
movsd qword [eax + 8], xmm1
movsd qword [eax], xmm2
jmp 0x40680f
mov ecx, dword [esi + 0xa8]
mov edi, dword [ebp + 8]
lea eax, [esi + 0xb8]
mov dword [esi + 8], ecx
mov ecx, dword [esi + 0xac]
mov dword [esi + 0x34], ecx
mov ecx, dword [esi + 0xb0]
mov dword [esi + 0x8c], ecx
mov ecx, dword [esi + 0xb4]
mov dword [esi + 0x88], ecx
lea ecx, [edi + 0x18]
push 0x9c
push eax
push ecx
call fcn.0054ad50
add esp, 0xc
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0x34]
mov dword [edi + 4], ebx
mov edx, dword [esi + 0x8c]
mov dword [edi + 8], eax
mov dword [edi + 0xc], ecx
mov ecx, dword [esi + 0x88]
mov dword [edi + 0x10], edx
mov dword [edi + 0x14], ecx
mov dword [edi], 0
mov eax, dword [esi + 0x80]
test eax, eax
je 0x406265
push 1
push eax
push dword [esi + 4]
call fcn.0043c2a0
add esp, 0xc
jmp 0x406265
push 4
push 0x24
call fcn.00570650
add esp, 8
ud2
push 4
push 0x44
call fcn.00570650
add esp, 8
ud2
mov dword [esi + 0x508], 9
push 0x5721f8
push eax
push 0xc
call fcn.00570ab0
add esp, 0xc
jmp 0x406885
push 0x5721ac
push 0x572088
lea eax, [esi + 0x38]
push eax
push 0x2b
push 0x57203b
call fcn.005708f0
add esp, 0x14
ud2
push 4
push 0x28
call fcn.00570650
add esp, 8
ud2
push 4
push 0x20
call fcn.00570650
add esp, 8
ud2