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

Disassembly:
sub esp, 0x88
mov eax, dword [0x546560]
push ebx
push ebp
mov ebp, ecx
mov ecx, dword [esp + 0x9c]
push esi
push edi
push ecx
lea edx, [esp + 0x2c]
push 0x547b34
push edx
mov dword [esp + 0x34], eax
call fcn.00405cb0
mov eax, dword [0x546560]
mov ecx, dword [ebp + 0xf0]
add esp, 0xc
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], eax
lea eax, [esp + 0x74]
lea edx, [esp + 0x28]
push eax
push ecx
push ecx
mov ecx, esp
push edx
call fcn.00405440
mov ebx, dword [esp + 0xa8]
mov ecx, ebp
push ebx
call fcn.004e5d10
xor edi, edi
mov dword [esp + 0x3c], eax
mov dword [esp + 0x30], edi
mov ecx, dword [esp + 0xa4]
mov eax, dword [0x546560]
push edi
push ecx
lea edx, [esp + 0x1c]
push str._d__d
push edx
mov dword [esp + 0x24], eax
call fcn.00405cb0
mov eax, dword [0x546560]
mov ecx, 0x54cba0
add esp, 0x10
mov dword [esp + 0x10], eax
test ecx, ecx
jne 0x4e589c
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
xor eax, eax
jmp 0x4e58a9
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push 0x54cba0
call esi
mov ecx, dword [esp + 0x14]
push ecx
mov edx, dword [ecx - 8]
lea ecx, [esp + 0x14]
push edx
push 0x54cba0
push eax
call fcn.004059f0
lea eax, [esp + 0x10]
lea ecx, [esp + 0x2c]
push eax
call fcn.00405440
lea ecx, [esp + 0x10]
call fcn.00405700
mov ecx, dword [0x546560]
mov edx, 0x54cb90
test edx, edx
mov dword [esp + 0x10], ecx
jne 0x4e58ef
xor eax, eax
jmp 0x4e58f6
push 0x54cb90
call esi
mov ecx, dword [esp + 0x14]
push ecx
mov ecx, dword [ecx - 8]
push ecx
push 0x54cb90
push eax
lea ecx, [esp + 0x20]
call fcn.004059f0
lea edx, [esp + 0x10]
lea ecx, [esp + 0x24]
push edx
call fcn.00405440
lea ecx, [esp + 0x10]
call fcn.00405700
mov eax, dword [0x546560]
mov ecx, str.CurSel
test ecx, ecx
mov dword [esp + 0x10], eax
jne 0x4e593b
xor eax, eax
jmp 0x4e5942
push str.CurSel
call esi
mov ecx, dword [esp + 0x14]
push ecx
mov edx, dword [ecx - 8]
lea ecx, [esp + 0x14]
push edx
push str.CurSel
push eax
call fcn.004059f0
lea eax, [esp + 0x10]
lea ecx, [esp + 0x4c]
push eax
call fcn.00405440
lea ecx, [esp + 0x10]
call fcn.00405700
mov ecx, dword [0x546560]
mov edx, str.CurPos
test edx, edx
mov dword [esp + 0x10], ecx
jne 0x4e5988
xor eax, eax
jmp 0x4e598f
push str.CurPos
call esi
mov ecx, dword [esp + 0x14]
push ecx
mov ecx, dword [ecx - 8]
push ecx
push str.CurPos
push eax
lea ecx, [esp + 0x20]
call fcn.004059f0
lea edx, [esp + 0x10]
lea ecx, [esp + 0x48]
push edx
call fcn.00405440
lea ecx, [esp + 0x10]
call fcn.00405700
mov eax, dword [ebx + 8]
xor esi, esi
test eax, eax
jle 0x4e5b18
mov eax, dword [ebx]
mov ecx, dword [esp + 0x2c]
push ecx
mov eax, dword [eax + esi*4]
push eax
call fcn.00531809
add esp, 8
test eax, eax
je 0x4e59ef
mov eax, dword [ebx + 8]
inc esi
cmp esi, eax
jl 0x4e59cb
jmp 0x4e5b18
cmp esi, 0xffffffff
je 0x4e5b18
mov edx, dword [ebx + 4]
mov eax, dword [edx + esi*4]
lea ecx, [edx + esi*4]
mov edx, dword [eax - 0xc]
test edx, edx
jl 0x4e5a18
mov dword [esp + 0x1c], eax
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x4e5a2d
mov eax, dword [0x546560]
mov dword [esp + 0x1c], eax
mov ecx, dword [ecx]
push ecx
lea ecx, [esp + 0x20]
call fcn.00405920
mov edx, dword [esp + 0x1c]
push 0
push edx
lea ecx, [esp + 0x48]
call fcn.005106b0
lea eax, [esp + 0x40]
sub esp, 8
neg eax
sbb eax, eax
lea ecx, [esp + 0x4c]
mov esi, esp
and eax, ecx
push eax
lea ecx, [esi + 4]
call fcn.00406280
lea edx, [esp + 0x20]
mov dword [esi], 0x5409d8
push edx
call fcn.0049c210
mov eax, dword [esp + 0x24]
add esp, 8
mov ecx, esp
mov edx, dword [eax - 0xc]
test edx, edx
jl 0x4e5a8b
mov dword [ecx], eax
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x4e5a9d
mov edx, dword [0x546560]
mov dword [ecx], edx
mov eax, dword [esp + 0x1c]
push eax
call fcn.00405920
push ecx
lea edx, [esp + 0x2c]
mov ecx, esp
push edx
call fcn.00405440
mov ecx, ebx
call fcn.00456680
mov eax, dword [esp + 0x18]
mov edx, dword [0x546564]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4e5ae0
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4e5ae0
mov edx, dword [esp + 0x18]
add edx, 0xfffffff4
push edx
call fcn.00531732
add esp, 4
lea ecx, [esp + 0x40]
call fcn.0050fe40
mov eax, dword [esp + 0x1c]
mov edx, dword [0x546564]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4e5b18
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4e5b18
mov edx, dword [esp + 0x1c]
add edx, 0xfffffff4
push edx
call fcn.00531732
add esp, 4
mov eax, dword [ebx + 8]
xor esi, esi
test eax, eax
jle 0x4e5cb0
mov eax, dword [ebx]
mov ecx, dword [esp + 0x24]
push ecx
mov eax, dword [eax + esi*4]
push eax
call fcn.00531809
add esp, 8
test eax, eax
je 0x4e5b49
mov eax, dword [ebx + 8]
inc esi
cmp esi, eax
jl 0x4e5b25
jmp 0x4e5cb0
cmp esi, 0xffffffff
je 0x4e5cb0
mov edx, dword [ebx + 4]
mov eax, dword [edx + esi*4]
lea ecx, [edx + esi*4]
mov edx, dword [eax - 0xc]
test edx, edx
jl 0x4e5b72
mov dword [esp + 0x20], eax
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x4e5b87
mov eax, dword [0x546560]
mov dword [esp + 0x20], eax
mov ecx, dword [ecx]
push ecx
lea ecx, [esp + 0x24]
call fcn.00405920
lea ecx, [esp + 0x34]
call fcn.0050fea0
mov edx, dword [0x546560]
push ecx
mov edi, esp
mov eax, str._44_
test eax, eax
mov dword [edi], edx
je 0x4e5bd8
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
test esi, esi
je 0x4e5bd8
push esi
mov ecx, edi
call fcn.00405530
test eax, eax
je 0x4e5bd8
mov ecx, dword [edi]
inc esi
push esi
push str._44_
push ecx
call fcn.00405400
add esp, 0xc
mov ecx, edi
push 0xffffffffffffffff
call fcn.00405bb0
push ecx
lea edx, [esp + 0x28]
mov ecx, esp
push edx
call fcn.00405440
lea eax, [esp + 0x3c]
mov ecx, ebp
push eax
call fcn.004e53d0
test eax, eax
je 0x4e5c9a
mov eax, dword [esp + 0x38]
test eax, eax
je 0x4e5c9a
lea ecx, [esp + 0x50]
call fcn.00428350
lea ecx, [esp + 0x50]
lea edx, [esp + 0x14]
push ecx
push 0
push ecx
mov ecx, esp
push edx
call fcn.00405440
push ebx
mov ecx, ebp
call fcn.004e5d10
lea eax, [esp + 0x50]
lea edx, [esp + 0x34]
push eax
sub esp, 8
mov ecx, esp
push edx
call fcn.004217d0
lea ecx, [ebp + 0x428]
call fcn.00429490
lea ecx, [esp + 0x70]
call fcn.00405700
lea ecx, [esp + 0x6c]
call fcn.00405700
lea ecx, [esp + 0x68]
call fcn.00405700
lea ecx, [esp + 0x64]
call fcn.00405700
lea ecx, [esp + 0x60]
call fcn.00405700
lea ecx, [esp + 0x5c]
call fcn.00405700
lea ecx, [esp + 0x58]
call fcn.00405700
lea ecx, [esp + 0x54]
call fcn.00405700
lea ecx, [esp + 0x50]
call fcn.00405700
lea ecx, [esp + 0x34]
call fcn.0050fe40
lea ecx, [esp + 0x20]
call fcn.00405700
mov edi, dword [esp + 0x30]
lea ecx, [esp + 0x48]
call fcn.00405700
lea ecx, [esp + 0x4c]
call fcn.00405700
lea ecx, [esp + 0x24]
call fcn.00405700
lea ecx, [esp + 0x2c]
call fcn.00405700
lea ecx, [esp + 0x14]
call fcn.00405700
inc edi
cmp edi, 0x18
mov dword [esp + 0x30], edi
jl 0x4e585c
lea ecx, [esp + 0x74]
call fcn.00492600
lea ecx, [esp + 0x28]
call fcn.00405700
mov eax, dword [esp + 0x3c]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x88
ret 0xc