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

Disassembly:
sub esp, 0x90
push ebx
push ebp
push esi
mov esi, ecx
test esi, esi
push edi
mov ebp, edx
mov dword [esp + 0x48], esi
je 0x6322c7
mov eax, dword [esi + 0xdc]
mov ecx, dword [eax + 0x9c]
test ecx, ecx
je 0x6322c7
mov eax, dword [esi + 0xd8]
test eax, eax
je 0x631d02
mov ecx, dword [eax + 0xa0]
test ecx, ecx
jne 0x631d55
xor ebx, ebx
mov edi, 5
test eax, eax
jne 0x631d30
push 0x234
call fcn.0076d5a7
add esp, 4
test eax, eax
je 0x631d28
push ebx
mov ecx, eax
call fcn.0065f880
jmp 0x631d2a
xor eax, eax
mov dword [esi + 0xd8], eax
mov eax, dword [esi + 0xd8]
mov ecx, dword [eax + 0xa0]
cmp ecx, 0x32
jge 0x631d55
mov dword [eax + ecx*8 + 0xa4], edi
mov dword [eax + ecx*8 + 0xa8], ebx
inc dword [eax + 0xa0]
mov ecx, esi
call fcn.006311f0
mov edi, eax
xor ebx, ebx
cmp edi, ebx
mov ecx, dword [edi + 0x4c4]
mov byte [ecx + 0x74], 0
je 0x6322c7
lea edx, [esp + 0x34]
mov ecx, esi
push edx
call fcn.006b4f90
mov eax, dword [eax]
cmp ebp, 0xffffffff
mov dword [esp + 0x38], eax
je 0x631da0
lea ecx, [esp + 0x34]
push ebp
push ecx
mov ecx, dword [0xa255a0]
call fcn.00659fe0
mov edx, dword [eax]
mov dword [esp + 0x38], edx
mov eax, dword [edi + 0x30]
mov dword [edi + 0x30], ebx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], ebx
test edi, edi
mov byte [esp + 0x13], 0
je 0x631dc7
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x2c]
cmp eax, 1
jne 0x631dc7
mov byte [esp + 0x13], al
lea eax, [esp + 0x38]
mov ecx, 0x81a800
push eax
call fcn.005453b0
mov edx, dword [eax]
lea ecx, [esp + 0x88]
push ecx
mov ecx, eax
call dword [edx + 0x48]
mov edx, dword [eax]
mov dword [esp + 0x20], edx
mov ecx, dword [eax + 4]
mov dword [esp + 0x24], ecx
mov edx, dword [eax + 8]
mov al, byte [esp + 0x13]
test al, al
mov dword [esp + 0x28], edx
jne 0x631e33
mov eax, dword [edi + 0x254]
mov ebp, dword [esp + 0x20]
and eax, 3
sub eax, 2
shl eax, 8
add ebp, eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x20], ebp
mov ecx, dword [edi + 0x254]
and ecx, 0xc
sub ecx, 4
shl ecx, 6
add eax, ecx
mov dword [esp + 0x24], eax
mov edx, dword [edi + 0x254]
lea eax, [esp + 0x20]
dec edx
push eax
mov dword [edi + 0x254], edx
mov edx, dword [0xa9e1d8]
mov ebp, dword [0xa9e1d0]
mov ebx, dword [0xa9e1d4]
mov ecx, 0x81a800
mov dword [esp + 0x60], edx
call fcn.00545340
mov esi, eax
xor eax, eax
mov dword [esp + 0x18], eax
cmp ebp, dword [0xa9e1d0]
jne 0x631fb7
cmp ebx, dword [0xa9e1d4]
jne 0x631fb7
mov ecx, dword [esp + 0x5c]
mov edx, dword [0xa9e1d8]
cmp ecx, edx
jne 0x631fb7
cmp dword [esp + 0x18], 0xff
jge 0x631fb7
mov edx, dword [esi]
mov word [esp + 0x3c], ax
mov word [esp + 0x3e], ax
lea eax, [esp + 0x64]
mov ebp, 1
push eax
mov ecx, esi
mov ebx, ebp
call dword [edx + 0x48]
mov ecx, eax
push 0
mov eax, dword [ecx]
cdq
and edx, 0xff
add eax, edx
sar eax, 8
mov word [esp + 0x44], ax
mov eax, dword [ecx + 4]
cdq
and edx, 0xff
add eax, edx
lea edx, [esp + 0x40]
push edx
push ebp
push 0
push 0
sar eax, 8
push 0
mov word [esp + 0x5a], ax
mov ecx, dword [esp + 0x58]
mov eax, dword [edi]
push ebx
push ebp
push 0
mov dword [esp + 0x70], ecx
push 0
push 0xffffffffffffffff
mov ecx, edi
call dword [eax + 0x80]
mov ecx, dword [eax + 0x5a4]
lea edx, [esp + 0x78]
push ecx
lea eax, [esp + 0x90]
push edx
push eax
mov ecx, 0x81a800
call fcn.0054d620
mov ecx, dword [eax]
lea edx, [esp + 0x44]
mov dword [esp + 0x44], ecx
push edx
mov ecx, 0x81a800
call fcn.005453b0
mov esi, eax
mov al, byte [esp + 0x13]
test al, al
je 0x631f78
mov eax, dword [esi]
lea ecx, [esp + 0x70]
push ecx
mov ecx, esi
call dword [eax + 0x48]
mov ebp, dword [eax]
mov ebx, dword [eax + 4]
mov edx, dword [eax + 8]
mov eax, dword [esp + 0x18]
inc eax
mov dword [esp + 0x5c], edx
mov dword [esp + 0x18], eax
xor eax, eax
jmp 0x631e6d
mov eax, dword [esi]
push 0
lea ecx, [esp + 0x80]
push 0
push ecx
mov ecx, esi
call dword [eax + 0x48]
lea edx, [esp + 0x9c]
mov ecx, esi
push eax
push edx
call fcn.004760b0
mov ebp, dword [eax]
mov ebx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x18]
inc eax
mov dword [esp + 0x18], eax
xor eax, eax
jmp 0x631e6d
mov ecx, dword [0xa283a4]
push eax
inc ecx
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebx
mov dword [0xa283a4], ecx
mov edx, dword [edi]
lea eax, [esp + 0x24]
push eax
mov ecx, edi
call dword [edx + 0xd4]
mov edx, dword [0xa283a4]
and eax, 0xff
dec edx
test eax, eax
mov dword [0xa283a4], edx
je 0x632222
lea ebp, [edi + 0x564]
mov dword [esp + 0x14], 0
cmp dword [ebp], 0
je 0x63205c
mov ecx, ebp
call fcn.004539d0
mov ecx, dword [eax]
lea edx, [esp + 0x50]
push edx
push 0x7babc8
push eax
call dword [ecx]
mov esi, eax
test esi, esi
jge 0x632039
lea ecx, [esp + 0x14]
call fcn.00508b60
mov dword [esp + 0x14], 0
jmp 0x63204a
mov ebx, dword [esp + 0x50]
lea ecx, [esp + 0x14]
call fcn.00508b60
mov dword [esp + 0x14], ebx
test esi, esi
jge 0x63205c
cmp esi, 0x80004002
je 0x63205c
push esi
call fcn.00780ec0
push 7
push 0
push str.GXJ9
lea ecx, [esp + 0x28]
mov dword [esp + 0x28], 0
call fcn.0041b650
test eax, eax
jge 0x632087
cmp eax, 0x80004002
je 0x632087
push eax
call fcn.00780ec0
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x63209d
push 0x80004003
call fcn.00780ec0
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + 0xc]
xor eax, eax
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x18], eax
test ecx, ecx
je 0x632106
lea ecx, [esp + 0x1c]
call fcn.004539d0
mov edx, dword [eax]
lea ecx, [esp + 0x34]
push ecx
push 0x7babc8
push eax
call dword [edx]
mov esi, eax
test esi, esi
jge 0x6320dd
lea ecx, [esp + 0x18]
call fcn.00508b60
xor eax, eax
jmp 0x6320ec
mov ebx, dword [esp + 0x34]
lea ecx, [esp + 0x18]
call fcn.00508b60
mov eax, ebx
test esi, esi
mov dword [esp + 0x18], eax
jge 0x632106
cmp esi, 0x80004002
je 0x632106
push esi
call fcn.00780ec0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
cmp ecx, eax
je 0x63212f
mov esi, ecx
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], eax
call fcn.006322e0
test esi, esi
je 0x632127
mov edx, dword [esi]
push esi
call dword [edx + 8]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
test eax, eax
je 0x63213d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x632171
mov eax, dword [ebp]
mov edx, dword [ecx]
push eax
push ecx
call dword [edx + 0xc]
mov esi, dword [ebp]
mov eax, dword [esp + 0x1c]
cmp esi, eax
je 0x632171
mov dword [ebp], eax
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x632167
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
test esi, esi
je 0x632171
mov edx, dword [esi]
push esi
call dword [edx + 8]
mov ecx, dword [esp + 0x20]
lea eax, [edi + 0x21c]
mov dword [edi + 0x21c], ecx
mov edx, dword [esp + 0x24]
mov dword [eax + 4], edx
mov ecx, dword [esp + 0x28]
mov dword [eax + 8], ecx
mov eax, dword [edi + 0x564]
mov esi, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x28]
test eax, eax
jne 0x6321af
push 0x80004003
call fcn.00780ec0
mov eax, dword [edi + 0x564]
sub esp, 0xc
mov ecx, esp
mov edx, dword [eax]
push eax
mov dword [ecx], esi
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebp
call dword [edx + 0x44]
mov byte [edi + 0x205], 1
mov edx, dword [0x821b68]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x30], edi
mov eax, dword [edx + 0xab0]
mov dword [edi + 0x30], ecx
mov dword [edi + 0x218], eax
mov edi, dword [esp + 0x2c]
test edi, edi
je 0x632204
mov edx, dword [edi + 0x30]
lea eax, [edi + 0x30]
mov dword [esp + 0x2c], edx
mov dword [eax], 0
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x632212
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x632247
mov edx, dword [eax]
push eax
call dword [edx + 8]
jmp 0x632247
test edi, edi
je 0x63222f
mov eax, dword [edi]
push 1
mov ecx, edi
call dword [eax + 0x20]
mov edi, dword [esp + 0x2c]
test edi, edi
je 0x63224f
mov ecx, dword [edi + 0x30]
lea eax, [edi + 0x30]
mov dword [esp + 0x2c], ecx
mov dword [eax], 0
test edi, edi
jne 0x631dae
mov esi, dword [esp + 0x30]
test esi, esi
mov edi, dword [esi + 0x30]
lea eax, [esi + 0x30]
mov dword [eax], 0
je 0x632297
mov edx, dword [esi]
push 0
mov ecx, esi
call dword [edx + 0x11c]
mov eax, dword [esi]
mov ecx, esi
mov dword [esi + 0x214], 3
call dword [eax + 0x1d4]
test edi, edi
mov esi, edi
je 0x632297
lea eax, [edi + 0x30]
mov edi, dword [edi + 0x30]
mov dword [eax], 0
jmp 0x632263
mov ecx, dword [0xa1e0c4]
mov edx, dword [esp + 0x48]
push ecx
mov ecx, dword [edx + 0xc0]
call fcn.004e4a90
test al, al
je 0x6322ba
mov eax, dword [esp + 0x38]
mov dword [0xa9e2c0], eax
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x90
ret
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x90
ret