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

Disassembly:
sub esp, 0xa0
mov eax, dword [0x5755c4]
xor eax, esp
mov dword [esp + 0x9c], eax
push ebx
push ebp
push esi
push edi
mov esi, ecx
push 0x492950
push 0x20
push dword [esi + 0x4c]
push dword [esi + 0x48]
call fcn.00528d90
push dword [esi + 0xa8]
call fcn.00507864
mov ecx, dword [esi + 4]
add esp, 0x14
add ecx, 0x24
mov dword [esp + 0x30], eax
push ecx
push 0x65
call fcn.00415840
xor eax, eax
mov dword [0x5b7828], 0xffffffff
xor ebp, ebp
mov dword [esp + 0x24], eax
xor edi, edi
mov dword [esp + 0x28], eax
mov dword [esp + 0x20], ebp
mov dword [esp + 0x2c], eax
mov byte [esp + 0x13], al
mov dword [esp + 0x14], edi
mov dword [esp + 0x1c], eax
cmp dword [esi + 0xbc], eax
jb 0x49114e
ja 0x490c82
cmp dword [esi + 0xb8], eax
jbe 0x49114e
call fcn.0049e910
mov ecx, dword [esi + 0xb8]
mov eax, dword [esi + 0xbc]
mov ebx, dword [esi]
cmp ecx, 0x7fffffff
jne 0x490cb1
cmp eax, ecx
jne 0x490cb1
mov ebp, dword [esp + 0x1c]
mov dword [0x5b7828], 0xffffffff
jmp 0x490cf2
mov ebp, dword [esp + 0x1c]
push eax
push ecx
push ebp
push edi
call fcn.0049d200
mov ecx, dword [ebx + 0x2214]
mov edi, eax
cmp byte [ecx + 0x6148], 0
jne 0x490ce8
cmp edi, dword [0x5b7828]
je 0x490ce8
push 0
push 0x64
cdq
push edx
push eax
push 0x5508b4
call fcn.004a0b80
mov dword [0x5b7828], edi
mov edi, dword [esp + 0x14]
push ebp
push edi
mov ecx, esi
call fcn.00493170
mov edx, dword [esi + 0xa4]
xor ecx, ecx
test edx, edx
je 0x490d27
mov edi, dword [esi + 0xa0]
mov ebx, dword [esi + 0x44]
lea eax, [edi + edi*4]
lea eax, [ebx + eax*8]
cmp byte [eax], 0
jne 0x490d31
inc ecx
add eax, 0x28
cmp ecx, edx
jb 0x490d16
mov edi, dword [esp + 0x14]
mov byte [esp + 0x13], 1
jmp 0x4910f1
lea eax, [edi + ecx]
cmp eax, 0xffffffff
je 0x490d23
lea eax, [eax + eax*4]
mov ecx, esi
push dword [ebx + eax*8 + 0xc]
push dword [ebx + eax*8 + 8]
call fcn.00492cb0
xor edx, edx
mov dword [esp + 0x18], eax
cmp dword [esi + 0xa8], edx
jbe 0x490d7c
xor edi, edi
jmp 0x490d60
mov ecx, dword [esi + 0x44]
lea edi, [edi + 0x28]
mov al, byte [edi + ecx - 0x28]
mov ecx, dword [esp + 0x30]
mov byte [edx + ecx], al
inc edx
cmp edx, dword [esi + 0xa8]
jb 0x490d60
jmp 0x490d80
mov ecx, dword [esp + 0x30]
push ecx
push dword [esi + 0xa4]
lea ecx, [esi + 8]
push dword [esi + 0xa0]
call fcn.00499510
mov cl, al
mov eax, dword [esp + 0x18]
test eax, eax
je 0x490e9e
test cl, cl
je 0x490e9e
mov edi, dword [esi + 0xa0]
xor ebp, ebp
test edi, edi
je 0x490e08
xor ebx, ebx
lea esp, [esp]
mov ecx, dword [esi + 0x44]
cmp byte [ecx + ebx], 0
jne 0x490df8
lea eax, [edi + edi*4]
cmp byte [ecx + eax*8], 0
lea eax, [ecx + eax*8]
jne 0x490dde
lea eax, [eax + 0x28]
inc edi
cmp byte [eax], 0
je 0x490dd5
push dword [esi + 0xc8]
lea eax, [edi + edi*4]
push dword [ecx + eax*8 + 0x14]
push dword [ecx + ebx + 0x14]
call fcn.0051ff80
add esp, 0xc
inc edi
inc ebp
add ebx, 0x28
cmp ebp, dword [esi + 0xa0]
jb 0x490dc0
mov eax, dword [esp + 0x18]
xor ebx, ebx
cmp dword [esi + 0xa0], ebx
jbe 0x490e5b
xor ebp, ebp
xor edi, edi
test eax, eax
je 0x490e4f
lea ebx, [ebx]
mov eax, dword [esi + 0xa0]
mov ecx, dword [esi + 0x44]
add eax, edi
push dword [esi + 0xc8]
lea eax, [eax + eax*4]
push dword [ecx + eax*8 + 0x14]
push dword [ecx + ebp + 0x14]
lea ecx, [esi + 8]
push edi
push ebx
call fcn.00499cb0
mov eax, dword [esp + 0x18]
inc edi
cmp edi, eax
jb 0x490e20
inc ebx
add ebp, 0x28
cmp ebx, dword [esi + 0xa0]
jb 0x490e14
mov eax, dword [esi + 0xa0]
xor ebx, ebx
test eax, eax
je 0x490e9e
lea ebp, [eax + eax*4]
xor edi, edi
shl ebp, 3
nop
mov eax, dword [esi + 0x44]
cmp byte [eax + edi], 0
jne 0x490e92
push dword [esi + 0xc8]
push dword [eax + ebp + 0x14]
push dword [eax + edi + 0x14]
call fcn.0051ff80
add esp, 0xc
add ebp, 0x28
inc ebx
add edi, 0x28
cmp ebx, dword [esi + 0xa0]
jb 0x490e70
xor eax, eax
mov dword [esp + 0x3c], eax
cmp dword [esi + 0xa0], eax
jbe 0x4910b3
xor ecx, ecx
mov dword [esp + 0x40], ecx
jmp 0x490ec0
push dword [esi + 0xbc]
mov ebp, dword [esi + 0x44]
push dword [esi + 0xb8]
add ebp, ecx
push 0
push eax
call fcn.00507960
mov ebx, dword [esi + 0xb4]
mov ecx, eax
add ecx, dword [esp + 0x14]
mov edi, dword [esi + 0xb0]
adc edx, dword [esp + 0x1c]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], edx
cmp edx, ebx
ja 0x491093
jb 0x490f09
cmp ecx, edi
ja 0x491093
mov eax, dword [ebp + 0x18]
sub edi, ecx
mov dword [esp + 0x44], 0
sbb ebx, edx
mov dword [esp + 0x18], eax
cmp dword [esp + 0x44], ebx
ja 0x490f28
jb 0x490f34
cmp eax, edi
jb 0x490f34
mov eax, dword [esi + 0xb0]
sub eax, ecx
mov dword [esp + 0x18], eax
test eax, eax
je 0x491093
cmp byte [ebp], 0
jne 0x49104f
mov ebx, dword [esi + 4]
push 0
push edx
push ecx
mov edi, dword [ebx]
mov edi, dword [edi + 0x10]
mov ecx, edi
call dword [0x540780]
mov ecx, ebx
call edi
push dword [esp + 0x18]
mov ecx, dword [esi + 4]
push dword [ebp + 0x14]
call fcn.004743f0
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push 0
push 0
call fcn.00469a60
cmp eax, dword [ebp + 0x20]
jne 0x490f94
cmp edx, dword [ebp + 0x24]
jne 0x490f94
add dword [esp + 0x24], 1
mov bl, 1
adc dword [esp + 0x28], 0
jmp 0x490f9b
xor bl, bl
mov byte [esp + 0x13], 1
push dword [esp + 0x34]
push dword [esp + 0x3c]
push dword [ebp + 0x18]
push 0x6d
call fcn.0048f7f0
xor eax, eax
mov dword [esp + 0x60], 0x541b9c
test bl, bl
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
lea ecx, [esp + 0x60]
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], eax
sete al
add eax, 0x6f
mov dword [esp + 0x64], 0x541b9c
mov dword [esp + 0x68], 0x541b9c
mov dword [esp + 0x6c], 0x541b9c
mov dword [esp + 0x70], 0x541b9c
mov dword [esp + 0x74], 0x541b9c
mov dword [esp + 0x78], 0x541b9c
mov dword [esp + 0x7c], 0x541b9c
mov dword [esp + 0xa8], eax
call fcn.0049f740
jmp 0x491093
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [esp + 0x58], eax
lea eax, [esp + 0x48]
mov dword [esp + 0x50], ecx
mov ecx, esi
push eax
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], ebx
mov dword [esp + 0x58], edx
mov dword [esp + 0x60], 0
call fcn.00490470
cmp edi, dword [esp + 0x34]
jne 0x491089
cmp ebx, dword [esp + 0x38]
je 0x491093
add dword [esp + 0x20], 1
adc dword [esp + 0x2c], 0
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
inc eax
add ecx, 0x28
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], ecx
cmp eax, dword [esi + 0xa0]
jb 0x490ec0
xor edx, edx
cmp dword [esi + 0xa4], edx
jbe 0x4910ed
lea ecx, [ecx]
mov eax, dword [esi + 0xa0]
add eax, edx
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x44]
cmp byte [eax + ecx*8], 0
lea ecx, [eax + ecx*8]
je 0x4910e4
mov eax, dword [esi + 0xe0]
add dword [ecx + 8], eax
adc dword [ecx + 0xc], 0
inc edx
cmp edx, dword [esi + 0xa4]
jb 0x4910c0
mov edi, dword [esp + 0x14]
add edi, dword [esi + 0xc8]
mov eax, dword [esp + 0x1c]
adc eax, 0
mov dword [esp + 0x14], edi
mov dword [esp + 0x1c], eax
cmp eax, dword [esi + 0xbc]
jb 0x490c82
ja 0x491120
cmp edi, dword [esi + 0xb8]
jb 0x490c82
mov eax, dword [esp + 0x24]
or eax, dword [esp + 0x28]
mov ebp, dword [esp + 0x20]
jne 0x491136
mov eax, ebp
or eax, dword [esp + 0x2c]
je 0x49114e
mov ecx, esi
call fcn.004905b0
mov ecx, esi
call fcn.00490860
mov ecx, dword [esi + 4]
push 0
call fcn.0045d750
mov edi, dword [esi]
push 0
push 0x64
push 0
push 0x64
call fcn.0049d200
mov ecx, dword [edi + 0x2214]
mov ebx, eax
cmp byte [ecx + 0x6148], 0
jne 0x491187
cmp ebx, dword [0x5b7828]
je 0x491187
push 0
push 0x64
cdq
push edx
push eax
push 0x5508b4
call fcn.004a0b80
push ebp
mov dword [0x5b7828], ebx
mov ebx, dword [esp + 0x28]
push ebx
push 0x6b
call fcn.004524d0
push dword [esp + 0x30]
call fcn.0050786d
add esp, 4
cmp byte [esi + 0xcc], 0
je 0x4911c2
push 3
mov ecx, 0x5b77e4
call fcn.0046e7a0
push 0x6a
call fcn.004193f0
cmp byte [esp + 0x13], 0
je 0x4911df
or ebx, dword [esp + 0x28]
jne 0x4911d8
or ebp, dword [esp + 0x2c]
lea eax, [ebx + 1]
je 0x4911e1
mov eax, 2
jmp 0x4911e1
xor eax, eax
mov ecx, dword [esp + 0xac]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00507712
add esp, 0xa0
ret