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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x1c
mov edx, dword [esp + 0x30]
mov dword [esp], ecx
mov eax, dword [ecx + 8]
or dword [edx + 8], 1
mov ecx, dword [edx + 4]
mov edx, ecx
and edx, 0xfffffffc
test cl, 1
jne 0x6394a7
mov ecx, dword [esp + 0x30]
add ecx, 0x78
push edx
push eax
call fcn.0052a8e0
mov eax, dword [esp]
mov eax, dword [eax + 0xc]
movzx ecx, byte [eax]
test cl, 1
je 0x639037
mov ecx, dword [eax + 4]
jmp 0x639039
shr ecx, 1
test ecx, ecx
mov edx, dword [esp + 0x30]
je 0x639066
or byte [edx + 8], 2
mov ecx, dword [edx + 4]
mov edx, ecx
and edx, 0xfffffffc
test cl, 1
jne 0x6394ae
mov edi, dword [esp + 0x30]
lea ecx, [edi + 0x7c]
push edx
push eax
call fcn.0052a8e0
mov edx, edi
mov eax, dword [esp]
cmp byte [eax + 3], 3
jne 0x6390cd
or byte [edx + 8], 4
lea ecx, [edx + 0x80]
mov edx, dword [edx + 4]
mov eax, edx
and eax, 0xfffffffc
test dl, 1
jne 0x6394b5
mov dword [esp + 0x10], 0
mov byte [esp + 8], 0xc
mov dword [esp + 9], 0x746f7270
mov word [esp + 0xd], 0x336f
mov byte [esp + 0xf], 0
lea edx, [esp + 8]
push eax
push edx
call fcn.0052a8e0
test byte [esp + 8], 1
je 0x6390c9
push dword [esp + 0x10]
call fcn.0051c570
add esp, 4
mov edx, dword [esp + 0x30]
mov eax, dword [esp]
cmp dword [eax + 0x18], 0
jle 0x6391dd
lea ebp, [edx + 0x10]
xor ebx, ebx
jmp 0x63911f
mov dword [esp + 4], edi
mov edi, ebp
mov ebp, edx
lea edx, [ecx + 1]
mov dword [ebp + 0x14], edx
mov ebp, edi
mov edi, dword [esp + 4]
mov ecx, dword [eax + ecx*4 + 4]
push edi
call fcn.0051fbb0
inc ebx
mov eax, dword [esp]
cmp ebx, dword [eax + 0x18]
mov edx, dword [esp + 0x30]
jge 0x6391dd
mov eax, dword [esp]
mov eax, dword [eax + 0x14]
test eax, eax
je 0x639166
mov ecx, dword [esp]
mov dword [esp + 0x14], ecx
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x639166
mov dword [esp + 8], 0x6566c0
lea ecx, [esp + 0x14]
mov dword [esp + 0xc], ecx
lea ecx, [esp + 8]
mov dword [esp + 0x18], ecx
push 0x664bf0
lea ecx, [esp + 0x1c]
push ecx
push eax
call fcn.0051c150
mov edx, dword [esp + 0x3c]
add esp, 0xc
mov eax, dword [esp]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + ebx*4]
mov edi, dword [eax + 8]
mov eax, dword [edx + 0x1c]
test eax, eax
je 0x639184
mov ecx, dword [edx + 0x14]
cmp ecx, dword [eax]
jl 0x6390f0
mov ecx, dword [ebp]
test ecx, ecx
je 0x6391b0
push 0x882fec
push 0x10
call fcn.0052c200
mov dword [edx], eax
mov dword [edx + 4], 0x52af10
jmp 0x6391ba
push 0xc
call fcn.0051c3d0
add esp, 4
mov dword [eax + 4], 0
mov dword [eax], 0
mov dword [eax + 8], 0
mov ecx, ebp
push eax
call fcn.00553130
mov ecx, eax
jmp 0x639108
mov eax, dword [esp]
cmp dword [eax + 0x1c], 0
jle 0x63922f
lea esi, [edx + 0x60]
mov ebx, dword [edx + 0x60]
xor ebp, ebp
jmp 0x639202
mov eax, dword [edx + 0x68]
mov dword [eax + ebx*4], edi
inc ebx
mov dword [esi], ebx
inc ebp
mov eax, dword [esp]
cmp ebp, dword [eax + 0x1c]
jge 0x63922f
mov eax, dword [esp]
mov eax, dword [eax + 0x34]
mov edi, dword [eax + ebp*4]
cmp ebx, dword [edx + 0x64]
jne 0x6391f0
lea eax, [ebx + 1]
mov dword [esp + 4], eax
mov ecx, esi
push eax
call fcn.006f91c0
mov edx, dword [esp + 0x30]
mov eax, dword [edx + 0x68]
mov dword [eax + ebx*4], edi
mov ebx, dword [esp + 4]
jmp 0x6391f7
mov eax, dword [esp]
cmp dword [eax + 0x20], 0
jle 0x63928f
lea esi, [edx + 0x6c]
mov ebx, dword [edx + 0x6c]
xor ebp, ebp
jmp 0x639262
mov eax, dword [edx + 0x74]
mov dword [eax + ebx*4], edi
inc ebx
mov dword [esi], ebx
inc ebp
mov eax, dword [esp]
cmp ebp, dword [eax + 0x20]
jge 0x63928f
mov eax, dword [esp]
mov eax, dword [eax + 0x38]
mov edi, dword [eax + ebp*4]
cmp ebx, dword [edx + 0x70]
jne 0x639250
lea eax, [ebx + 1]
mov dword [esp + 4], eax
mov ecx, esi
push eax
call fcn.006f91c0
mov edx, dword [esp + 0x30]
mov eax, dword [edx + 0x74]
mov dword [eax + ebx*4], edi
mov ebx, dword [esp + 4]
jmp 0x639257
mov eax, dword [esp]
cmp dword [eax + 0x24], 0
jle 0x639302
lea eax, [edx + 0x20]
mov dword [esp + 4], eax
xor ebp, ebp
xor edi, edi
jmp 0x6392de
mov esi, dword [esp + 4]
push dword [esi]
call fcn.0077a990
add esp, 4
mov ecx, esi
push eax
call fcn.00553130
mov ecx, ebx
push eax
call fcn.00639520
inc edi
add ebp, 0x58
mov eax, dword [esp]
cmp edi, dword [eax + 0x24]
mov edx, dword [esp + 0x30]
jge 0x639302
mov eax, dword [esp]
mov ebx, dword [eax + 0x3c]
add ebx, ebp
mov eax, dword [edx + 0x2c]
test eax, eax
je 0x6392b0
mov ecx, dword [edx + 0x24]
cmp ecx, dword [eax]
jge 0x6392b0
mov esi, edx
lea edx, [ecx + 1]
mov dword [esi + 0x24], edx
mov eax, dword [eax + ecx*4 + 4]
jmp 0x6392c6
mov eax, dword [esp]
cmp dword [eax + 0x28], 0
jle 0x639374
lea esi, [edx + 0x30]
xor ebp, ebp
xor edi, edi
mov dword [esp + 4], esi
jmp 0x63934a
push dword [esi]
call fcn.0077ac50
add esp, 4
mov ecx, esi
push eax
call fcn.00553130
mov ecx, ebx
push eax
call fcn.00639a30
inc edi
add ebp, 0x2c
mov eax, dword [esp]
cmp edi, dword [eax + 0x28]
mov edx, dword [esp + 0x30]
jge 0x639374
mov eax, dword [esp]
mov ebx, dword [eax + 0x40]
add ebx, ebp
mov eax, dword [edx + 0x3c]
test eax, eax
je 0x639320
mov ecx, dword [edx + 0x34]
cmp ecx, dword [eax]
jge 0x639320
lea edx, [ecx + 1]
mov esi, dword [esp + 0x30]
mov dword [esi + 0x34], edx
mov esi, dword [esp + 4]
mov eax, dword [eax + ecx*4 + 4]
jmp 0x639332
mov eax, dword [esp]
cmp dword [eax + 0x2c], 0
jle 0x6393e4
lea esi, [edx + 0x40]
xor ebp, ebp
xor edi, edi
mov dword [esp + 4], esi
jmp 0x6393ba
push dword [esi]
call fcn.0077ad50
add esp, 4
mov ecx, esi
push eax
call fcn.00553130
mov ecx, ebx
push eax
call fcn.00639c50
inc edi
add ebp, 0x18
mov eax, dword [esp]
cmp edi, dword [eax + 0x2c]
mov edx, dword [esp + 0x30]
jge 0x6393e4
mov eax, dword [esp]
mov ebx, dword [eax + 0x44]
add ebx, ebp
mov eax, dword [edx + 0x4c]
test eax, eax
je 0x639390
mov ecx, dword [edx + 0x44]
cmp ecx, dword [eax]
jge 0x639390
lea edx, [ecx + 1]
mov esi, dword [esp + 0x30]
mov dword [esi + 0x44], edx
mov esi, dword [esp + 4]
mov eax, dword [eax + ecx*4 + 4]
jmp 0x6393a2
mov eax, dword [esp]
cmp dword [eax + 4], 0
jle 0x639454
lea esi, [edx + 0x50]
xor ebp, ebp
xor edi, edi
mov dword [esp + 4], esi
jmp 0x63942a
push dword [esi]
call fcn.0077ab50
add esp, 4
mov ecx, esi
push eax
call fcn.00553130
mov ecx, ebx
push eax
call fcn.00639d50
inc edi
add ebp, 0x30
mov eax, dword [esp]
cmp edi, dword [eax + 4]
mov edx, dword [esp + 0x30]
jge 0x639454
mov eax, dword [esp]
mov ebx, dword [eax + 0x48]
add ebx, ebp
mov eax, dword [edx + 0x5c]
test eax, eax
je 0x639400
mov ecx, dword [edx + 0x54]
cmp ecx, dword [eax]
jge 0x639400
lea edx, [ecx + 1]
mov esi, dword [esp + 0x30]
mov dword [esi + 0x54], edx
mov esi, dword [esp + 4]
mov eax, dword [eax + ecx*4 + 4]
jmp 0x639412
mov eax, dword [esp]
mov eax, dword [eax + 0x4c]
cmp eax, dword [0x8d3304]
je 0x63949d
or byte [edx + 8], 8
mov ecx, dword [edx + 0x84]
test ecx, ecx
jne 0x639492
mov ecx, dword [edx + 4]
mov eax, ecx
and eax, 0xfffffffc
test cl, 1
jne 0x6394bc
push eax
call fcn.0077ae10
add esp, 4
mov ecx, eax
mov eax, dword [esp + 0x30]
mov dword [eax + 0x84], ecx
mov eax, dword [esp]
push dword [eax + 0x4c]
call fcn.00772e20
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret 4
mov edx, dword [edx]
jmp 0x639016
mov edx, dword [edx]
jmp 0x639056
mov eax, dword [eax]
jmp 0x63908a
mov eax, dword [eax]
jmp 0x63947d