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

Disassembly:
push 0xffffffffffffffff
push 0x814ca7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
push ebx
push ebp
push esi
push edi
xor bl, bl
push 0
push 0xa
mov dword [esp + 0x1c], 0
mov byte [esp + 0x18], bl
call fcn.00588a40
mov ebp, dword [esp + 0x84]
add esp, 8
push edx
push eax
mov eax, dword [esp + 0x80]
push ebp
push eax
call fcn.007add20
mov esi, edx
mov edi, eax
test esi, esi
ja 0x588e9d
cmp edi, 0x44c
jb 0x588eda
cmp bl, 4
je 0x588ed6
inc bl
xor ax, ax
mov al, bl
lea ecx, [eax + eax*2]
push ecx
push 0xa
call fcn.00588a40
add esp, 8
push edx
mov edx, dword [esp + 0x7c]
push eax
push ebp
push edx
call fcn.007add20
mov esi, edx
mov edi, eax
test esi, esi
ja 0x588e9d
jb 0x588ed6
cmp edi, 0x44c
jae 0x588e9d
mov byte [esp + 0x10], bl
lea ecx, [esp + 0x3c]
call fcn.004034a0
mov dword [esp + 0x3c], vtable.ucs2string.0
push 0
push 0xa
push esi
lea eax, [esp + 0x24]
push edi
push eax
mov dword [esp + 0x80], 1
call fcn.00589b30
add esp, 0x14
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x48]
mov byte [esp + 0x78], 2
call fcn.00403140
push 1
lea ecx, [esp + 0x1c]
mov byte [esp + 0x70], 1
call fcn.00404f20
test bl, bl
je 0x589124
mov edx, dword [esp + 0x3c]
lea ecx, [esp + 0x3c]
call dword [edx]
test al, al
je 0x589025
mov esi, dword [esp + 0x48]
lea ecx, [esp + 0x3c]
call fcn.00435660
test al, al
je 0x588f64
mov eax, dword [esp + 0x3c]
lea ecx, [esp + 0x3c]
call dword [eax + 0x1c]
sub esi, eax
cmp esi, 1
jne 0x589025
xor ax, ax
mov al, bl
lea ecx, [eax + eax*2 - 2]
push ecx
push 0xa
call fcn.00588a40
add esp, 8
push edx
mov edx, dword [esp + 0x7c]
push eax
push ebp
push edx
call fcn.007add20
push 0
push 0x64
push edx
push eax
call fcn.007ae6e0
push 2
push 0xa
push eax
lea eax, [esp + 0x5c]
push eax
call fcn.0044e7a0
add esp, 0x10
mov bl, 3
test eax, eax
mov byte [esp + 0x6c], bl
je 0x588fba
lea esi, [eax + 4]
jmp 0x588fbc
xor esi, esi
lea ecx, [esp + 0x28]
push 0
push ecx
call fcn.00588bc0
add esp, 8
test eax, eax
mov byte [esp + 0x6c], 4
je 0x588fd9
add eax, 4
jmp 0x588fdb
xor eax, eax
push esi
lea edx, [esp + 0x1c]
push eax
push edx
call fcn.00406890
add esp, 0xc
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x48]
mov byte [esp + 0x78], 5
call fcn.00403370
push 1
lea ecx, [esp + 0x1c]
mov byte [esp + 0x70], 4
call fcn.00404f20
push 1
lea ecx, [esp + 0x30]
mov byte [esp + 0x70], bl
call fcn.00404f20
lea ecx, [esp + 0x54]
jmp 0x589118
mov eax, dword [esp + 0x3c]
lea ecx, [esp + 0x3c]
call dword [eax]
test al, al
je 0x589124
mov esi, dword [esp + 0x48]
lea ecx, [esp + 0x3c]
call fcn.00435660
test al, al
je 0x589055
mov edx, dword [esp + 0x3c]
lea ecx, [esp + 0x3c]
call dword [edx + 0x1c]
sub esi, eax
cmp esi, 2
jne 0x589124
xor ax, ax
mov al, bl
add eax, 0x5555
lea eax, [eax + eax*2]
push eax
push 0xa
call fcn.00588a40
mov ecx, dword [esp + 0x80]
add esp, 8
push edx
push eax
push ebp
push ecx
call fcn.007add20
push 0
push 0xa
push edx
push eax
call fcn.007ae6e0
push 1
push 0xa
lea edx, [esp + 0x30]
push eax
push edx
call fcn.0044e7a0
add esp, 0x10
test eax, eax
mov byte [esp + 0x6c], 6
je 0x5890b1
lea esi, [eax + 4]
jmp 0x5890b3
xor esi, esi
lea eax, [esp + 0x50]
push 0
push eax
call fcn.00588bc0
add esp, 8
mov bl, 7
test eax, eax
mov byte [esp + 0x6c], bl
je 0x5890d1
add eax, 4
jmp 0x5890d3
xor eax, eax
push esi
lea ecx, [esp + 0x1c]
push eax
push ecx
call fcn.00406890
add esp, 0xc
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x48]
mov byte [esp + 0x78], 8
call fcn.00403370
push 1
lea ecx, [esp + 0x1c]
mov byte [esp + 0x70], bl
call fcn.00404f20
push 1
lea ecx, [esp + 0x58]
mov byte [esp + 0x70], 6
call fcn.00404f20
lea ecx, [esp + 0x2c]
push 1
mov byte [esp + 0x70], 1
call fcn.00404f20
lea edx, [esp + 0x40]
push 0x8fbc24
lea eax, [esp + 0x2c]
push edx
push eax
call fcn.00406b50
mov ecx, dword [esp + 0x1c]
mov bl, 9
and ecx, 0xff
mov byte [esp + 0x78], bl
mov edx, dword [ecx*4 + 0x9102bc]
push edx
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.00406b50
add esp, 0x18
mov esi, dword [esp + 0x74]
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
mov byte [esp + 0x78], 0xa
call fcn.00419860
mov dword [esp + 0x14], 1
push 1
lea ecx, [esp + 0x1c]
mov byte [esp + 0x70], bl
call fcn.00404f20
push 1
lea ecx, [esp + 0x2c]
mov byte [esp + 0x70], 1
call fcn.00404f20
push 1
lea ecx, [esp + 0x44]
mov byte [esp + 0x70], 0
call fcn.00404f20
mov ecx, dword [esp + 0x64]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x60
ret