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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x681eb6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3e8
push ebx
push ebp
push esi
push edi
mov edi, ecx
lea ecx, [esp + 0x2f0]
call fcn.00654ac0
mov eax, dword [edi + 0xd0]
xor esi, esi
mov dword [esp + 0x20], eax
mov eax, dword [edi + 0xa8]
cmp eax, 1
mov dword [esp + 0x400], esi
jl 0x5d125d
mov eax, dword [edi + 0x148]
cmp eax, esi
mov dword [esp + 0xc4], eax
jle 0x5d125d
mov eax, dword [0x6ecfb8]
xor ebx, ebx
cmp eax, ebx
je 0x5d0870
cmp esi, dword [esp + 0x20]
jge 0x5d0865
mov ecx, dword [edi + 0xa4]
mov ecx, dword [ecx]
jmp 0x5d0878
mov eax, dword [edi + 0xa4]
mov ecx, dword [eax + 4]
jmp 0x5d0878
mov eax, dword [edi + 0xa4]
mov ecx, dword [eax]
mov edx, dword [ecx]
push ebx
call dword [edx + 0x68]
mov ecx, dword [edi + 0x144]
mov ebp, eax
lea eax, [esp + 0x380]
mov ecx, dword [ecx + esi*4]
push eax
add ecx, 0xd0
call fcn.00654e30
push eax
lea ecx, [esp + 0x2f4]
mov byte [esp + 0x404], 1
call fcn.00654de0
lea ecx, [esp + 0x380]
mov byte [esp + 0x400], 0
call fcn.00456760
sub esp, 0x78
lea edx, [esp + 0x368]
mov ecx, esp
mov dword [esp + 0x90], esp
push edx
call fcn.00654cc0
mov eax, dword [ebp]
mov ecx, ebp
call dword [eax + 0x2c]
mov ecx, dword [edi + 0x144]
mov dword [esp + 0xa8], ebx
mov dword [esp + 0xa4], ebx
mov edx, dword [ecx + esi*4]
mov ecx, dword [edx + 0x20]
cmp ecx, ebx
je 0x5d0bca
mov eax, dword [esp + 0x20]
mov ebx, 1
cmp esi, eax
mov dword [esp + 0xa4], ebx
jne 0x5d0b7f
mov eax, dword [0x6ecfb8]
test eax, eax
je 0x5d0b7f
lea ecx, [esp + 0x44]
call fcn.0064dc20
lea ecx, [esp + 0x5c]
call fcn.0064dc20
mov eax, dword [edi + 0x144]
mov ecx, dword [eax + esi*4]
mov ecx, dword [ecx + 0x20]
call fcn.004da3a0
mov edx, dword [edi + 0x144]
mov ebx, eax
mov ecx, 1
mov dword [esp + 0x1c], ebx
mov eax, dword [edx + esi*4]
cmp dword [eax + 0x28], ecx
jne 0x5d0a09
cmp dword [eax + 0x14], ecx
jne 0x5d09bc
mov eax, dword [ebp]
lea ecx, [esp + 0x158]
push ecx
mov ecx, ebp
call dword [eax + 0x7c]
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], ecx
mov edx, dword [eax + 8]
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x4c], edx
mov dword [esp + 0x50], ecx
mov edx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
lea ecx, [esp + 0x368]
mov dword [esp + 0x54], edx
mov dword [esp + 0x58], eax
mov eax, dword [ebx]
push ecx
mov ecx, ebx
jmp 0x5d0a98
mov edx, dword [ebp]
lea eax, [esp + 0x188]
push eax
mov ecx, ebp
call dword [edx + 0x84]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], edx
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], edx
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
mov dword [esp + 0x54], ecx
lea ecx, [esp + 0x368]
mov dword [esp + 0x58], edx
mov eax, dword [ebx]
push ecx
mov ecx, ebx
jmp 0x5d0a98
mov edx, dword [ebx]
lea eax, [esp + 0x1b8]
push eax
mov ecx, ebx
call dword [edx + 0x7c]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], edx
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], edx
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
mov eax, dword [edi + 0x144]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], edx
mov ecx, dword [eax + esi*4]
cmp dword [ecx + 0x14], 1
jne 0x5d0a8b
mov edx, dword [ebp]
lea eax, [esp + 0x278]
push eax
mov ecx, ebp
call dword [edx + 0x7c]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], edx
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], edx
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], edx
jmp 0x5d0ac7
mov eax, dword [ebp]
lea ecx, [esp + 0x1e8]
push ecx
mov ecx, ebp
call dword [eax + 0x84]
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [esp + 0x5c], edx
mov dword [esp + 0x60], ecx
mov edx, dword [eax + 8]
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x64], edx
mov dword [esp + 0x68], ecx
mov edx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
mov dword [esp + 0x6c], edx
mov dword [esp + 0x70], eax
mov ebx, dword [ebx]
sub esp, 0x18
lea edx, [esp + 0x74]
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
call fcn.0064dc70
sub esp, 0x18
lea eax, [esp + 0x74]
mov ecx, esp
mov dword [esp + 0x48], esp
push eax
call fcn.0064dc70
mov ecx, dword [esp + 0x4c]
call dword [ebx + 0x14c]
mov ebx, eax
test ebx, ebx
je 0x5d0bb3
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0xf8]
push eax
mov edx, dword [ecx]
call dword [edx + 0xdc]
mov edx, dword [ebx]
lea eax, [esp + 0x128]
push eax
mov ecx, ebx
call dword [edx + 0xdc]
lea ecx, [esp + 0x128]
lea edx, [esp + 0xf8]
push ecx
push edx
call fcn.00657490
fcomp qword [0x691ac0]
add esp, 8
fnstsw ax
test ah, 1
je 0x5d0b58
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x154]
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x5d0b67
mov edx, dword [ecx]
push 1
call dword [edx + 4]
mov eax, dword [edi + 0x144]
push ebx
mov ecx, dword [eax + esi*4]
mov ecx, dword [ecx + 0x20]
call fcn.004da3b0
mov dword [esp + 0x1c], ebx
jmp 0x5d0bb3
call fcn.004da3a0
mov edx, dword [edi + 0x144]
mov ecx, eax
mov dword [esp + 0x1c], ecx
mov eax, dword [edx + esi*4]
cmp dword [eax + 0x28], ebx
jne 0x5d0ba7
mov edx, dword [ecx]
push 0
push 0
push ebp
call dword [edx + 0x124]
jmp 0x5d0bb3
mov eax, dword [ecx]
push 0
push ebx
push ebp
call dword [eax + 0x124]
mov ecx, dword [edi + 0x144]
push 1
push 1
push 1
mov edx, dword [ecx + esi*4]
mov ecx, dword [edx + 0x20]
call fcn.00498b40
mov eax, dword [edi + 0x144]
mov ecx, dword [eax + esi*4]
mov ecx, dword [ecx + 0x44]
test ecx, ecx
je 0x5d0eee
mov edx, dword [esp + 0x20]
mov dword [esp + 0xa8], 1
dec edx
cmp esi, edx
je 0x5d0c34
call fcn.004da3a0
mov ebx, eax
mov eax, dword [edi + 0x144]
mov dword [esp + 0x14], ebx
mov ecx, dword [eax + esi*4]
cmp dword [ecx + 0x4c], 1
jne 0x5d0c20
mov edx, dword [ebx]
push 0
push 0
push ebp
mov ecx, ebx
call dword [edx + 0x124]
jmp 0x5d0ed5
mov eax, dword [ebx]
push 0
push 1
push ebp
mov ecx, ebx
call dword [eax + 0x124]
jmp 0x5d0ed5
lea ecx, [esp + 0x8c]
call fcn.0064dc20
lea ecx, [esp + 0x74]
call fcn.0064dc20
mov ecx, dword [edi + 0x144]
mov edx, dword [ecx + esi*4]
mov ecx, dword [edx + 0x44]
call fcn.004da3a0
mov ebx, eax
mov eax, dword [edi + 0x144]
mov ecx, 1
mov dword [esp + 0x14], ebx
mov eax, dword [eax + esi*4]
cmp dword [eax + 0x4c], ecx
jne 0x5d0d37
cmp dword [eax + 0x18], ecx
jne 0x5d0cd8
mov edx, dword [ebp]
lea eax, [esp + 0x2d8]
push eax
mov ecx, ebp
call dword [edx + 0x7c]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], edx
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], edx
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
lea eax, [esp + 0x2a8]
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa0], edx
mov edx, dword [ebx]
push eax
mov ecx, ebx
jmp 0x5d0de1
mov eax, dword [ebp]
lea ecx, [esp + 0x218]
push ecx
mov ecx, ebp
call dword [eax + 0x84]
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [esp + 0x8c], edx
mov dword [esp + 0x90], ecx
mov edx, dword [eax + 8]
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x94], edx
mov dword [esp + 0x98], ecx
mov edx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
mov dword [esp + 0xa0], eax
lea eax, [esp + 0x2a8]
mov dword [esp + 0x9c], edx
mov edx, dword [ebx]
push eax
mov ecx, ebx
jmp 0x5d0de1
mov eax, dword [ebx]
lea ecx, [esp + 0x248]
push ecx
mov ecx, ebx
call dword [eax + 0x7c]
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [esp + 0x8c], edx
mov dword [esp + 0x90], ecx
mov edx, dword [eax + 8]
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x94], edx
mov dword [esp + 0x98], ecx
mov edx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
mov ecx, dword [edi + 0x144]
mov dword [esp + 0x9c], edx
mov dword [esp + 0xa0], eax
mov edx, dword [ecx + esi*4]
cmp dword [edx + 0x18], 1
jne 0x5d0dd4
mov eax, dword [ebp]
lea ecx, [esp + 0x170]
push ecx
mov ecx, ebp
call dword [eax + 0x7c]
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], ecx
mov edx, dword [eax + 8]
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x7c], edx
mov dword [esp + 0x80], ecx
mov edx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
mov dword [esp + 0x84], edx
mov dword [esp + 0x88], eax
jmp 0x5d0e19
mov edx, dword [ebp]
lea eax, [esp + 0x1a0]
push eax
mov ecx, ebp
call dword [edx + 0x84]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], edx
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], edx
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], edx
mov ebx, dword [ebx]
sub esp, 0x18
lea eax, [esp + 0x8c]
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
call fcn.0064dc70
sub esp, 0x18
lea edx, [esp + 0xbc]
mov ecx, esp
mov dword [esp + 0x48], esp
push edx
call fcn.0064dc70
mov ecx, dword [esp + 0x44]
call dword [ebx + 0x14c]
mov ebx, eax
test ebx, ebx
je 0x5d0ed1
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0xe0]
push edx
mov eax, dword [ecx]
call dword [eax + 0xdc]
mov eax, dword [ebx]
lea ecx, [esp + 0xc8]
push ecx
mov ecx, ebx
call dword [eax + 0xdc]
lea edx, [esp + 0xc8]
lea eax, [esp + 0xe0]
push edx
push eax
call fcn.00657490
fcomp qword [0x691ac0]
add esp, 8
fnstsw ax
test ah, 1
je 0x5d0eac
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0x154]
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x5d0ebb
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov ecx, dword [edi + 0x144]
push ebx
mov edx, dword [ecx + esi*4]
mov ecx, dword [edx + 0x44]
call fcn.004da3b0
mov dword [esp + 0x14], ebx
mov ebx, dword [esp + 0x14]
mov eax, dword [edi + 0x144]
push 1
push 1
push 1
mov ecx, dword [eax + esi*4]
mov ecx, dword [ecx + 0x44]
call fcn.00498b40
jmp 0x5d0ef2
mov ebx, dword [esp + 0x14]
mov edx, dword [edi + 0x144]
mov eax, dword [edx + esi*4]
mov ecx, dword [eax + 4]
test ecx, ecx
jne 0x5d11ab
lea ecx, [esp + 0x2c]
call fcn.0064dc20
lea ecx, [esp + 0xac]
call fcn.0064dc20
mov ecx, dword [esp + 0xa4]
mov eax, 1
cmp ecx, eax
jne 0x5d1055
cmp esi, dword [esp + 0x20]
je 0x5d1055
mov ecx, dword [edi + 0x144]
mov edx, dword [ecx + esi*4]
mov ecx, dword [edx + 0x28]
cmp ecx, eax
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx]
jne 0x5d0f5c
lea edx, [esp + 0x1d0]
push edx
call dword [eax + 0x7c]
jmp 0x5d0f6a
lea edx, [esp + 0x200]
push edx
call dword [eax + 0x84]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], edx
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], edx
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
mov ebx, dword [ebp]
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x44], edx
sub esp, 0x18
mov dword [esp + 0x58], ecx
lea edx, [esp + 0x48]
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
call fcn.0064dc70
lea eax, [esp + 0x24c]
mov ecx, ebp
push eax
call dword [ebx + 0x98]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0xac], ecx
mov dword [esp + 0xb0], edx
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov dword [esp + 0xb4], ecx
mov dword [esp + 0xb8], edx
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
mov eax, dword [edi + 0x144]
mov ebx, dword [ebp]
mov dword [esp + 0xbc], ecx
mov dword [esp + 0xc0], edx
mov ecx, dword [eax + esi*4]
cmp dword [ecx + 0x14], 1
jne 0x5d1022
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
push 0
push edx
push eax
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x3c], esp
jmp 0x5d1037
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
push 1
push eax
push ecx
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x3c], esp
lea edx, [esp + 0xd0]
push edx
call fcn.0064dc70
mov ecx, ebp
call dword [ebx + pe_nt_image_headers32]
mov ebx, dword [esp + 0x14]
mov eax, 1
cmp dword [esp + 0xa8], eax
jne 0x5d11ab
mov ecx, dword [esp + 0x20]
dec ecx
cmp esi, ecx
je 0x5d11ab
mov edx, dword [edi + 0x144]
mov ecx, dword [edx + esi*4]
cmp dword [ecx + 0x4c], eax
jne 0x5d10b7
mov edx, dword [ebx]
lea eax, [esp + 0x260]
push eax
mov ecx, ebx
call dword [edx + 0x7c]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], edx
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], edx
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], edx
jmp 0x5d10f2
mov eax, dword [ebx]
lea ecx, [esp + 0x290]
push ecx
mov ecx, ebx
call dword [eax + 0x84]
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], ecx
mov edx, dword [eax + 8]
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], ecx
mov edx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
mov ebx, dword [ebp]
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x30]
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
call fcn.0064dc70
lea eax, [esp + 0x2dc]
mov ecx, ebp
push eax
call dword [ebx + 0x98]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0xac], ecx
mov dword [esp + 0xb0], edx
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov dword [esp + 0xb4], ecx
mov dword [esp + 0xb8], edx
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
mov eax, dword [edi + 0x144]
mov ebx, dword [ebp]
mov dword [esp + 0xbc], ecx
mov dword [esp + 0xc0], edx
mov ecx, dword [eax + esi*4]
cmp dword [ecx + 0x18], 1
jne 0x5d1181
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
push 0
push edx
push eax
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x3c], esp
jmp 0x5d1196
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
push 1
push eax
push ecx
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x3c], esp
lea edx, [esp + 0xd0]
push edx
call fcn.0064dc70
mov ecx, ebp
call dword [ebx + pe_nt_image_headers32]
mov eax, dword [edi + 0x144]
mov ecx, dword [eax + esi*4]
mov ecx, dword [ecx + 0x10]
call fcn.004da3a0
test ebp, ebp
mov ebx, eax
je 0x5d120c
mov edx, dword [ebx]
lea eax, [esp + 0x140]
push eax
mov ecx, ebx
call dword [edx + 0xdc]
mov edx, dword [ebp]
lea eax, [esp + 0x110]
push eax
mov ecx, ebp
call dword [edx + 0xdc]
lea ecx, [esp + 0x110]
lea edx, [esp + 0x140]
push ecx
push edx
call fcn.00657490
fcomp qword [0x691ac0]
add esp, 8
fnstsw ax
test ah, 1
je 0x5d1217
mov eax, dword [ebp]
mov ecx, ebp
call dword [eax + 0x154]
test ebx, ebx
je 0x5d1224
mov edx, dword [ebx]
push 1
mov ecx, ebx
call dword [edx + 4]
mov eax, dword [edi + 0x144]
push ebp
mov ecx, dword [eax + esi*4]
mov ecx, dword [ecx + 0x10]
call fcn.004da3b0
mov edx, dword [edi + 0x144]
push 1
push 1
push 1
mov eax, dword [edx + esi*4]
mov ecx, dword [eax + 0x10]
call fcn.00498b40
mov eax, dword [esp + 0xc4]
inc esi
cmp esi, eax
jl 0x5d084a
lea ecx, [esp + 0x2f0]
mov dword [esp + 0x400], 0xffffffff
call fcn.00456760
mov ecx, dword [esp + 0x3f8]
pop edi
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret