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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x13c
mov eax, dword [esp + 0x150]
mov edx, dword [esp + 0x15c]
lea ebp, [esp + 0x6c]
lea ebx, [esp + 0x110]
lea esi, [esp + 0xcc]
lea edi, [esp + 0xe0]
mov dword [esp + 0x10c], eax
mov eax, dword [esp + 0x154]
mov dword [esp + 0x104], edx
mov edx, dword [esp + 0x164]
mov dword [esp + 0x108], eax
mov eax, dword [esp + 0x158]
mov dword [esp + 0xfc], edx
mov edx, dword [esp + 0x174]
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x160]
mov dword [esp + 0xec], edx
mov dword [esp + 0xf8], eax
mov eax, dword [esp + 0x168]
mov dword [esp + 0xf4], eax
mov eax, dword [esp + 0x16c]
mov dword [esp + 0xf0], eax
mov eax, dword [esp + 0x170]
mov dword [esp + 0xe8], eax
mov eax, dword [esp + 0x178]
mov dword [esp + 0xe4], eax
mov eax, dword [esp + 0x17c]
mov dword [esp + 0xe0], eax
mov eax, dword [esp + 0x180]
mov dword [esp + 0xdc], eax
mov eax, dword [esp + 0x184]
mov edx, dword [esp + 0x188]
mov dword [esp + 0xd0], eax
mov eax, dword [esp + 0x18c]
mov dword [esp + 0xd4], edx
mov edx, dword [esp + 0x1a8]
mov dword [esp + 0xd8], eax
mov eax, dword [esp + 0x190]
mov dword [esp + 0xb4], edx
mov edx, dword [esp + 0x1c0]
mov dword [esp + 0xcc], eax
mov eax, dword [esp + 0x194]
mov dword [esp + 0x9c], edx
mov dword [esp + 0xc8], eax
mov eax, dword [esp + 0x198]
mov dword [esp + 0xc4], eax
mov eax, dword [esp + 0x19c]
mov dword [esp + 0xc0], eax
mov eax, dword [esp + 0x1a0]
mov dword [esp + 0xbc], eax
mov eax, dword [esp + 0x1a4]
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0x1ac]
mov dword [esp + 0xb8], eax
mov eax, dword [esp + 0x1b0]
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0x1b4]
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0x1b8]
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0x1bc]
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x1c4]
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x1c8]
mov edx, dword [esp + 0x1d4]
mov dword [esp + 0x48], ebx
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x1cc]
mov dword [esp + 0x8c], edx
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x1d0]
mov dword [esp + 0x44], ebp
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x1d8]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x1dc]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x1e0]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x1e4]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x1e8]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x1ec]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x1f0]
mov dword [esp + 0x6c], eax
mov eax, dword [0xd41044]
mov dword [esp + 0x12c], eax
xor eax, eax
lea eax, [esp + 0x124]
mov dword [esp + 0x58], eax
lea eax, [esp + 0x120]
mov dword [esp + 0x54], eax
lea eax, [esp + 0x118]
mov dword [esp + 0x50], eax
lea eax, [esp + 0x114]
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x70]
mov dword [esp + 0x40], eax
lea eax, [esp + 0x84]
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x88]
mov dword [esp + 0x38], eax
lea eax, [esp + 0xa4]
mov dword [esp + 0x34], eax
lea eax, [esp + 0xac]
mov dword [esp + 0x30], eax
lea eax, [esp + 0xb8]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0xb0]
mov dword [esp + 0x28], eax
lea eax, [esp + 0xc4]
mov dword [esp + 0x24], eax
lea eax, [esp + 0xc8]
mov dword [esp + 0x20], eax
lea eax, [esp + 0xd8]
mov dword [esp + 0x18], eax
lea eax, [esp + 0xd0]
mov dword [esp + 0x14], eax
lea eax, [esp + 0xdc]
mov dword [esp + 0x10], eax
lea eax, [esp + 0xe4]
mov dword [esp + 8], eax
lea eax, [esp + 0xe8]
mov dword [esp + 4], eax
lea eax, [esp + 0x100]
mov dword [esp], eax
mov dword [esp + 0x1c], esi
mov dword [esp + 0xc], edi
call fcn.00541660
mov eax, dword [esp + 0x120]
test eax, eax
jne 0x59d790
xor eax, eax
mov edx, dword [esp + 0x12c]
sub edx, dword [0xd41044]
jne 0x59dcaa
add esp, 0x13c
pop ebx
pop esi
pop edi
pop ebp
ret
lea eax, [esp + 0x128]
lea edx, [esp + 0xa8]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x124]
mov dword [esp + 0x58], eax
lea eax, [esp + 0x11c]
mov dword [esp + 0x54], eax
lea eax, [esp + 0x74]
mov dword [esp + 0x48], eax
lea eax, [esp + 0x78]
mov dword [esp + 0x44], eax
lea eax, [esp + 0x7c]
mov dword [esp + 0x40], eax
lea eax, [esp + 0x80]
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x84]
mov dword [esp + 0x38], eax
lea eax, [esp + 0x88]
mov dword [esp + 0x34], eax
lea eax, [esp + 0x94]
mov dword [esp + 0x30], eax
lea eax, [esp + 0x98]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0xac]
mov dword [esp + 0x24], eax
lea eax, [esp + 0xb0]
mov dword [esp + 0x20], eax
lea eax, [esp + 0xd8]
mov dword [esp + 0x18], eax
lea eax, [esp + 0xdc]
mov dword [esp + 0x28], edx
lea edx, [esp + 0xf4]
mov dword [esp + 0x14], eax
lea eax, [esp + 0xf0]
mov dword [esp + 0xc], eax
lea eax, [esp + 0x100]
mov dword [esp + 8], edx
lea edx, [esp + 0x10c]
mov dword [esp + 4], eax
mov dword [esp + 0x10], edi
mov dword [esp], edx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x4c], ebp
call fcn.005418b0
mov eax, dword [esp + 0x124]
test eax, eax
lea eax, [esp + 0x94]
je 0x59d76d
mov dword [esp + 0x34], eax
lea eax, [esp + 0xa0]
lea ecx, [esp + 0x128]
mov dword [esp + 0x30], eax
lea eax, [esp + 0xa4]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0xac]
mov dword [esp + 0x28], eax
lea eax, [esp + 0xbc]
mov dword [esp + 0x24], eax
lea eax, [esp + 0xd8]
mov dword [esp + 0x5c], ecx
lea ecx, [esp + 0x124]
mov dword [esp + 0x18], eax
lea eax, [esp + 0xd0]
mov dword [esp + 0x58], ecx
lea ecx, [esp + 0x120]
mov dword [esp + 0x14], eax
lea eax, [esp + 0xe4]
mov dword [esp + 0x54], ecx
lea ecx, [esp + 0x70]
mov dword [esp + 0xc], eax
lea eax, [esp + 0xe8]
mov dword [esp + 0x4c], ecx
lea ecx, [esp + 0x74]
mov dword [esp + 8], eax
lea eax, [esp + 0x100]
mov dword [esp + 0x48], ecx
lea ecx, [esp + 0x78]
mov dword [esp + 4], eax
lea eax, [esp + 0x108]
mov dword [esp + 0x44], ecx
lea ecx, [esp + 0x7c]
mov dword [esp], eax
mov dword [esp + 0x1c], esi
mov dword [esp + 0x10], edi
mov dword [esp + 0x40], ecx
lea ecx, [esp + 0x80]
mov dword [esp + 0x50], ebp
lea ebp, [esp + 0xc0]
mov dword [esp + 0x3c], ecx
lea ecx, [esp + 0x88]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x20], ebp
call fcn.00541b00
mov eax, dword [esp + 0x128]
test eax, eax
je 0x59d76d
mov dword [esp], ebx
call fcn.005425f0
mov eax, dword [esp + 0xa4]
cmp dword [esp + 0x110], eax
jl 0x59dab6
jmp 0x59dad8
lea eax, [esp + 0x128]
mov dword [esp + 0x18], esi
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x124]
mov dword [esp + 0x58], eax
lea eax, [esp + 0x120]
mov dword [esp + 0x54], eax
lea eax, [esp + 0x11c]
mov dword [esp + 0x50], eax
lea eax, [esp + 0x118]
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x114]
mov dword [esp + 0x48], eax
lea eax, [esp + 0x70]
mov dword [esp + 0x40], eax
lea eax, [esp + 0x74]
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x78]
mov dword [esp + 0x38], eax
lea eax, [esp + 0x88]
mov dword [esp + 0x34], eax
lea eax, [esp + 0x98]
mov dword [esp + 0x30], eax
lea eax, [esp + 0xa4]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0xac]
mov dword [esp + 0x28], eax
lea eax, [esp + 0xb0]
mov dword [esp + 0x24], eax
lea eax, [esp + 0xc4]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0xd0]
mov dword [esp + 0x14], eax
lea eax, [esp + 0xdc]
mov dword [esp + 0x10], eax
lea eax, [esp + 0xe4]
mov dword [esp + 8], eax
lea eax, [esp + 0xf0]
mov dword [esp + 4], eax
lea eax, [esp + 0x100]
mov dword [esp], eax
mov dword [esp + 0xc], edi
mov dword [esp + 0x44], ebx
mov dword [esp + 0x20], ebp
call fcn.005423d0
mov eax, dword [esp + 0x114]
test eax, eax
je 0x59d76d
mov dword [esp], ebx
call fcn.00541fd0
mov eax, dword [esp + 0xa4]
cmp dword [esp + 0x110], eax
jge 0x59dad8
mov eax, dword [esp + 0xac]
mov eax, dword [eax]
mov eax, dword [eax]
test eax, 0x40000000
je 0x59d9a8
jmp 0x59d76d
lea eax, [esp + 0x128]
mov dword [esp + 0x40], ebx
lea edi, [esp + 0x90]
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x11c]
lea ebx, [esp + 0xf8]
mov dword [esp + 0x48], eax
lea eax, [esp + 0x118]
mov dword [esp + 0x44], eax
lea eax, [esp + 0x70]
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x7c]
mov dword [esp + 0x38], eax
lea eax, [esp + 0x84]
mov dword [esp + 0x34], eax
lea eax, [esp + 0x88]
mov dword [esp + 0x30], eax
lea eax, [esp + 0x98]
mov dword [esp + 0x28], eax
lea eax, [esp + 0xac]
mov dword [esp + 0x24], eax
lea eax, [esp + 0xbc]
mov dword [esp + 0x20], eax
lea eax, [esp + 0xc4]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0xd8]
mov dword [esp + 0x14], eax
lea eax, [esp + 0xdc]
mov dword [esp + 0x10], eax
lea eax, [esp + 0xe8]
mov dword [esp + 0xc], eax
lea eax, [esp + 0x100]
mov dword [esp + 4], eax
lea eax, [esp + 0x108]
mov dword [esp + 0x2c], edi
mov dword [esp + 0x18], esi
mov dword [esp + 8], ebx
mov dword [esp], eax
call fcn.00542620
mov ecx, dword [esp + 0x11c]
test ecx, ecx
je 0x59d76d
lea eax, [esp + 0x120]
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x11c]
mov dword [esp + 0x58], eax
lea eax, [esp + 0x118]
mov dword [esp + 0x54], eax
lea eax, [esp + 0x70]
mov dword [esp + 0x50], eax
lea eax, [esp + 0x74]
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x78]
mov dword [esp + 0x48], eax
lea eax, [esp + 0x7c]
mov dword [esp + 0x44], eax
lea eax, [esp + 0x80]
mov dword [esp + 0x40], eax
lea eax, [esp + 0x84]
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x88]
mov dword [esp + 0x38], eax
lea eax, [esp + 0xa0]
mov dword [esp + 0x30], eax
lea eax, [esp + 0x98]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0xac]
mov dword [esp + 0x28], eax
lea eax, [esp + 0xb0]
mov dword [esp + 0x24], eax
lea eax, [esp + 0xbc]
mov dword [esp + 0x20], eax
lea eax, [esp + 0xc8]
mov dword [esp + 0x18], eax
lea eax, [esp + 0xd8]
mov dword [esp + 0x10], eax
lea eax, [esp + 0xdc]
mov dword [esp + 0xc], eax
lea eax, [esp + 0xe4]
mov dword [esp + 8], eax
lea eax, [esp + 0xe8]
mov dword [esp + 4], eax
mov dword [esp + 0x14], esi
mov dword [esp], ebx
mov dword [esp + 0x34], edi
call fcn.005421b0
mov edx, dword [esp + 0x118]
xor eax, eax
test edx, edx
setne al
jmp 0x59d76f
call fcn.00401690
nop
push edi
push esi
push ebx
sub esp, 0xd0
mov eax, dword [esp + 0xe0]
mov edx, dword [esp + 0x10c]
lea ebx, [esp + 0x6c]
lea edi, [esp + 0x90]
lea esi, [esp + 0xbc]
mov dword [esp + 0xbc], eax
mov eax, dword [esp + 0xe4]
mov dword [esp + 0xa4], edx
mov edx, dword [esp + 0x128]
mov dword [esp + 0xb8], eax
mov eax, dword [esp + 0xe8]
mov dword [esp + 0x8c], edx
mov edx, dword [esp + 0x130]
mov dword [esp + 0xb4], eax
mov eax, dword [esp + 0xf0]
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0xf8]
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0x100]
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0x108]
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x114]
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x118]
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x120]
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x124]
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x12c]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x134]
mov dword [esp + 0x84], edx
mov edx, dword [esp + 0x13c]
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x138]
mov dword [esp + 4], edi
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x140]
mov dword [esp], esi
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x144]
mov dword [esp + 0x7c], edx
mov edx, dword [esp + 0x170]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x14c]
mov dword [esp + 0x5c], edx
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x150]
mov dword [esp + 8], ebx
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x154]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x164]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x16c]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x178]
mov dword [esp + 0x54], eax
mov eax, dword [0xd41044]
mov dword [esp + 0xcc], eax
xor eax, eax
call fcn.00543830
mov eax, dword [esp + 0x6c]
cmp dword [eax + 0x1af54], 0x10
ja 0x59de78
mov eax, 1
mov edx, dword [esp + 0xcc]
sub edx, dword [0xd41044]
jne 0x59df9c
add esp, 0xd0
pop ebx
pop esi
pop edi
ret
mov ecx, dword [eax + 0x1af5c]
lea edx, [ecx + 1]
cmp edx, dword [eax + 0x1af60]
jb 0x59df69
lea eax, [esp + 0x54]
mov dword [esp + 0x38], ebx
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x58]
mov dword [esp + 0x48], eax
lea eax, [esp + 0x60]
mov dword [esp + 0x44], eax
lea eax, [esp + 0x64]
mov dword [esp + 0x40], eax
lea eax, [esp + 0x68]
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x70]
mov dword [esp + 0x34], eax
lea eax, [esp + 0x74]
mov dword [esp + 0x30], eax
lea eax, [esp + 0x78]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x80]
mov dword [esp + 0x28], eax
lea eax, [esp + 0x88]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x94]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x98]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x9c]
mov dword [esp + 0x18], eax
lea eax, [esp + 0xa0]
mov dword [esp + 0x14], eax
lea eax, [esp + 0xa8]
mov dword [esp + 0x10], eax
lea eax, [esp + 0xac]
mov dword [esp + 0xc], eax
lea eax, [esp + 0xb0]
mov dword [esp + 8], eax
lea eax, [esp + 0xb4]
mov dword [esp + 4], eax
lea eax, [esp + 0xb8]
mov dword [esp], eax
call fcn.005435f0
mov eax, dword [esp + 0x6c]
mov edx, dword [eax]
xor eax, eax
mov edx, dword [edx + 0x20]
test edx, edx
jne 0x59de54
mov dword [esp], ebx
call fcn.00543800
lea eax, [esp + 0xc8]
mov dword [esp], ebx
mov dword [esp + 8], eax
lea eax, [esp + 0xc4]
mov dword [esp + 4], eax
call fcn.00543360
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], esi
call fcn.005433c0
jmp 0x59de4f
call fcn.00401690
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop