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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffed0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x4c], ebx
mov byte [ebp - 9], cl
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x653876
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x682514]
mov eax, dword [eax]
mov eax, dword [eax + 0x474]
call fcn.00586a80
mov dword [ebp - 0x14], eax
mov eax, dword [0x682514]
mov eax, dword [eax]
cmp dword [eax + 0x478], 0
jbe 0x65325e
push 0
push 0
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [0x682514]
mov eax, dword [eax]
mov eax, dword [eax + 8]
call fcn.00588e18
push eax
call fcn.005d6118
push 0
push 0
lea edx, [ebp - 0x1c]
lea eax, [ebp - 0x64]
mov ecx, 0x40
call fcn.005d5f40
lea eax, [ebp - 0x28]
push eax
push 0
push 0x80
push 1
push 1
push 0x60
push 0
push 0
lea ecx, [ebp - 0x64]
lea eax, [ebp - 0x20]
mov edx, 0x80100080
call fcn.006519b4
test eax, eax
jne 0x653255
mov eax, dword [0x682514]
mov eax, dword [eax]
mov eax, dword [eax + 0x470]
xor edx, edx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edx
push 8
push 0xe
lea ecx, [ebp - 0x30]
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0x20]
call fcn.006518f4
mov eax, dword [0x682514]
mov eax, dword [eax]
mov eax, dword [eax + 0x478]
call fcn.00586a80
mov ebx, eax
push 0
lea eax, [ebp - 0x28]
push eax
push ebx
mov eax, dword [0x682514]
mov eax, dword [eax]
mov eax, dword [eax + 0x478]
push eax
push 0
push 0
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 0x20]
call fcn.0065195c
test eax, eax
jne 0x653246
mov eax, dword [0x682514]
mov eax, dword [eax]
add eax, 0x458
push eax
mov eax, dword [0x682514]
mov eax, dword [eax]
mov ecx, dword [eax + 0x478]
mov edx, ebx
mov eax, ebx
call fcn.006329e0
mov edx, dword [ebp - 0x14]
mov eax, ebx
call fcn.00651fd4
mov eax, ebx
call fcn.00586ab0
mov eax, dword [ebp - 0x20]
call fcn.006518d8
lea eax, [ebp - 0x1c]
push eax
call fcn.005d61e8
mov edx, dword [ebp - 0x14]
mov eax, edx
mov ebx, dword [eax + 0x3c]
add ebx, edx
push 0x40
push 0x1000
mov eax, dword [ebx + 0x50]
push eax
push 0
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov eax, dword [eax]
push eax
call fcn.0058b328
mov dword [ebp - 0x34], eax
mov eax, dword [ebx + 0x50]
call fcn.00586a80
mov edi, eax
mov edx, dword [ebx + 0x50]
mov eax, edi
call fcn.0058bcc4
mov ecx, dword [ebx + 0x54]
mov edx, dword [ebp - 0x14]
mov eax, edi
call fcn.0058bcbc
movzx esi, word [ebx + 6]
dec esi
test esi, esi
jl 0x6532e6
inc esi
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x10]
lea eax, [eax + eax*4]
mov edx, dword [ebx + eax*8 + 0x108]
push edx
mov edx, dword [ebx + eax*8 + 0x10c]
add edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebx + eax*8 + 0x104]
add eax, edi
pop edx
pop ecx
call fcn.0058bcbc
inc dword [ebp - 0x10]
dec esi
jne 0x6532b7
mov eax, dword [ebp - 0x14]
call fcn.00586ab0
mov esi, edi
mov eax, esi
mov ebx, dword [eax + 0x3c]
add ebx, esi
mov eax, dword [ebx + 0xa0]
test eax, eax
je 0x653310
mov ecx, dword [ebp - 0x34]
sub ecx, dword [ebx + 0x34]
add eax, esi
mov edx, esi
call fcn.00652ed8
mov eax, dword [ebx + 0x80]
test eax, eax
je 0x653323
add eax, esi
mov edx, esi
call fcn.00652f48
xor eax, eax
mov dword [ebp - 0x3c], eax
cmp dword [ebx + 0x78], 0
je 0x65333c
push 0x653884
push edi
call fcn.00653058
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x38]
push eax
mov eax, dword [ebx + 0x50]
push eax
push edi
mov eax, dword [ebp - 0x34]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov eax, dword [eax]
push eax
call fcn.0058b390
mov eax, dword [ebx + 0x50]
push eax
mov eax, dword [ebp - 0x34]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov eax, dword [eax]
push eax
call fcn.0058af58
mov eax, edi
call fcn.00586ab0
lea edx, [ebp - 0x44]
mov eax, dword [0x682514]
mov eax, dword [eax]
mov eax, dword [eax + 0x4c]
call fcn.005c34c8
lea edx, [ebp - 0x48]
mov eax, dword [0x682514]
mov eax, dword [eax]
mov eax, dword [eax + 0x50]
call fcn.005c34c8
lea edx, [ebp - 0x4c]
mov eax, dword [0x682514]
mov eax, dword [eax]
mov eax, dword [eax + 0x54]
call fcn.005c34c8
mov eax, dword [0x682514]
mov eax, dword [eax]
mov eax, dword [eax + 8]
call fcn.00588e28
mov ebx, eax
add ebx, ebx
add ebx, 0x4b0
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov eax, dword [eax + 8]
call fcn.00588e28
add eax, eax
add ebx, eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov eax, dword [eax + 0x10]
call fcn.00588e28
add eax, eax
add ebx, eax
mov eax, dword [ebp - 0x44]
call fcn.0058877c
add ebx, eax
mov eax, dword [ebp - 0x48]
call fcn.0058877c
add ebx, eax
mov eax, dword [ebp - 0x4c]
call fcn.0058877c
add ebx, eax
mov dword [ebp - 0x10], ebx
mov eax, dword [0x682514]
mov eax, dword [eax]
mov eax, dword [eax + 0x4b8]
call fcn.00589a44
mov esi, eax
test esi, esi
jl 0x653440
inc esi
xor edi, edi
mov eax, dword [0x682514]
mov eax, dword [eax]
mov eax, dword [eax + 0x4b8]
mov eax, dword [eax + edi*4]
call fcn.00588e28
add eax, eax
add eax, 2
add dword [ebp - 0x10], eax
inc edi
dec esi
jne 0x65341f
mov eax, dword [ebp - 0x10]
call fcn.00586a80
mov ebx, eax
mov edx, dword [ebp - 0x10]
mov eax, ebx
call fcn.0058bcc4
mov eax, dword [ebp - 0x10]
mov dword [ebx], eax
mov eax, dword [ebp - 0x34]
mov dword [ebx + 4], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov edx, dword [eax + 0x20]
mov dword [ebx + 0x28], edx
mov edx, dword [eax + 0x24]
mov dword [ebx + 0x2c], edx
mov al, byte [ebp - 9]
mov byte [ebx + 0x40], al
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov edx, dword [eax + 0x2c]
mov dword [ebx + 0x30], edx
mov edx, dword [eax + 0x30]
mov dword [ebx + 0x34], edx
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov edx, dword [eax + 0x34]
mov dword [ebx + 0x38], edx
mov edx, dword [eax + 0x38]
mov dword [ebx + 0x3c], edx
mov eax, dword [0x682514]
mov eax, dword [eax]
mov eax, dword [eax + 8]
call fcn.00588e28
add eax, eax
mov dword [ebx + 8], eax
mov eax, 0x4b0
mov dword [ebx + 0xc], eax
mov edx, dword [0x682514]
mov edx, dword [edx]
mov edx, dword [edx + 8]
mov esi, ebx
mov ecx, esi
add ecx, eax
mov eax, ecx
mov ecx, dword [ebx + 8]
call fcn.0058bcbc
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov eax, dword [eax + 8]
call fcn.00588e28
add eax, eax
mov dword [ebx + 0x10], eax
mov eax, dword [ebx + 8]
add eax, dword [ebx + 0xc]
mov dword [ebx + 0x14], eax
mov edx, dword [ebp - 8]
mov edx, dword [edx]
mov edx, dword [edx + 8]
mov ecx, esi
add ecx, eax
mov eax, ecx
mov ecx, dword [ebx + 0x10]
call fcn.0058bcbc
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov al, byte [eax + 0xc]
mov byte [ebx + 0x18], al
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov eax, dword [eax + 0x10]
call fcn.00588e28
add eax, eax
mov dword [ebx + 0x1c], eax
mov eax, dword [ebx + 0x10]
add eax, dword [ebx + 0x14]
mov dword [ebx + 0x20], eax
mov edx, dword [ebp - 8]
mov edx, dword [edx]
mov edx, dword [edx + 0x10]
add esi, eax
mov eax, esi
mov ecx, dword [ebx + 0x1c]
call fcn.0058bcbc
xor eax, eax
mov dword [ebx + 0x4a4], eax
mov eax, dword [ebx + 0x1c]
add eax, dword [ebx + 0x20]
mov dword [ebx + 0x4a8], eax
mov edx, ebx
add edx, eax
mov dword [ebp - 0x40], edx
mov eax, dword [0x682514]
mov eax, dword [eax]
mov eax, dword [eax + 0x4b8]
call fcn.00589a44
mov esi, eax
test esi, esi
jl 0x6535de
inc esi
xor edi, edi
mov eax, dword [0x682514]
mov eax, dword [eax]
mov eax, dword [eax + 0x4b8]
mov eax, dword [eax + edi*4]
call fcn.00588e28
mov edx, dword [ebp - 0x40]
mov word [edx], ax
add dword [ebp - 0x40], 2
mov eax, dword [0x682514]
mov eax, dword [eax]
mov eax, dword [eax + 0x4b8]
mov eax, dword [eax + edi*4]
call fcn.00588e28
mov ecx, eax
add ecx, ecx
mov eax, dword [0x682514]
mov eax, dword [eax]
mov eax, dword [eax + 0x4b8]
mov edx, dword [eax + edi*4]
mov eax, dword [ebp - 0x40]
call fcn.0058bcbc
mov eax, dword [0x682514]
mov eax, dword [eax]
mov eax, dword [eax + 0x4b8]
mov eax, dword [eax + edi*4]
call fcn.00588e28
add eax, eax
add dword [ebp - 0x40], eax
inc edi
dec esi
jne 0x653570
mov eax, ebx
add eax, dword [ebx + 0x4a8]
push eax
mov eax, dword [ebp - 0x40]
pop edx
sub eax, edx
mov dword [ebx + 0x4a4], eax
mov edx, dword [ebx + 0x4a8]
add edx, eax
mov dword [ebx + 0x460], edx
mov eax, dword [ebp - 0x44]
call fcn.0058877c
mov edi, eax
mov dword [ebx + 0x45c], edi
mov esi, ebx
mov eax, esi
add eax, dword [ebx + 0x460]
mov ecx, edi
mov edx, dword [ebp - 0x44]
call fcn.0058bcbc
mov eax, dword [ebx + 0x460]
add eax, dword [ebx + 0x45c]
mov dword [ebx + 0x468], eax
mov eax, dword [ebp - 0x48]
call fcn.0058877c
mov edi, eax
mov dword [ebx + 0x464], edi
mov eax, esi
add eax, dword [ebx + 0x468]
mov ecx, edi
mov edx, dword [ebp - 0x48]
call fcn.0058bcbc
mov eax, dword [ebx + 0x468]
add eax, dword [ebx + 0x464]
mov dword [ebx + 0x470], eax
mov eax, dword [ebp - 0x4c]
call fcn.0058877c
mov edi, eax
mov dword [ebx + 0x46c], edi
mov eax, esi
add eax, dword [ebx + 0x470]
mov ecx, edi
mov edx, dword [ebp - 0x4c]
call fcn.0058bcbc
mov eax, dword [0x682514]
mov eax, dword [eax]
mov eax, dword [eax + 0x468]
mov dword [ebx + 0x44], eax
mov eax, dword [0x682514]
mov eax, dword [eax]
mov eax, dword [eax + 0x46c]
mov dword [ebx + 0x48], eax
mov eax, dword [0x682514]
mov eax, dword [eax]
lea esi, [eax + 0x58]
lea edi, [ebx + 0x4c]
mov ecx, pe_nt_image_headers32
rep movsd dword es:[edi], dword [esi]
xor eax, eax
mov edx, dword [0x682514]
mov edx, dword [edx]
mov edx, dword [edx + eax*4 + 0x458]
mov dword [ebx + eax*4 + 0x44c], edx
inc eax
cmp eax, 4
jne 0x6536c3
mov eax, dword [0x682514]
mov eax, dword [eax]
mov eax, dword [eax + 0x470]
mov dword [ebx + 0x474], eax
mov eax, dword [0x682514]
mov eax, dword [eax]
mov eax, dword [eax + 0x474]
mov dword [ebx + 0x478], eax
mov eax, dword [0x682514]
mov eax, dword [eax]
mov eax, dword [eax + 0x478]
mov dword [ebx + 0x47c], eax
mov eax, dword [0x682514]
mov eax, dword [eax]
mov eax, dword [eax + 0x47c]
mov dword [ebx + 0x480], eax
mov eax, dword [0x682514]
mov eax, dword [eax]
mov eax, dword [eax + 0x480]
mov dword [ebx + 0x484], eax
mov eax, dword [0x682514]
mov eax, dword [eax]
mov eax, dword [eax + 0x484]
mov dword [ebx + 0x488], eax
mov eax, dword [0x682514]
mov eax, dword [eax]
mov al, byte [eax + 0x4a1]
mov byte [ebx + 0x48c], al
mov eax, dword [0x682514]
mov eax, dword [eax]
mov al, byte [eax + 0x4a2]
mov byte [ebx + 0x48d], al
mov eax, dword [0x682514]
mov eax, dword [eax]
mov edx, dword [eax + 0x4a8]
mov dword [ebx + 0x490], edx
mov edx, dword [eax + 0x4ac]
mov dword [ebx + 0x494], edx
mov eax, dword [0x682514]
mov eax, dword [eax]
mov al, byte [eax + 0x4b1]
mov byte [ebx + 0x499], al
mov eax, dword [0x682514]
mov eax, dword [eax]
mov al, byte [eax + 0x4b0]
mov byte [ebx + 0x498], al
mov eax, dword [0x682514]
mov eax, dword [eax]
mov al, byte [eax + 0x4b2]
mov byte [ebx + 0x49a], al
mov eax, dword [0x682514]
mov eax, dword [eax]
mov al, byte [eax + 0x4b3]
mov byte [ebx + 0x49b], al
mov eax, dword [0x682514]
mov eax, dword [eax]
mov al, byte [eax + 0x4b4]
mov byte [ebx + 0x49c], al
mov eax, dword [0x682514]
mov eax, dword [eax]
mov eax, dword [eax + 0x4b8]
call fcn.00589a3c
mov dword [ebx + 0x4a0], eax
push 4
push 0x1000
mov eax, dword [ebx]
push eax
push 0
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov eax, dword [eax]
push eax
call fcn.0058b328
mov esi, eax
lea eax, [ebp - 0x38]
push eax
mov eax, dword [ebx]
push eax
push ebx
push esi
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov eax, dword [eax]
push eax
call fcn.0058b390
mov eax, ebx
call fcn.00586ab0
mov eax, dword [ebp - 0x3c]
add eax, dword [ebp - 0x34]
mov edx, dword [ebp - 8]
mov edx, dword [edx]
mov dword [edx + 0x18], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov dword [eax + 0x1c], esi
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x65387d
lea eax, [ebp - 0x4c]
mov edx, 3
call fcn.005884d0
ret