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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
push ebx
mov ebx, edx
push esi
push edi
mov edi, ecx
mov dword [esp + 0x18], ebx
mov eax, dword [ebx + 0xc]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], edi
mov eax, dword [edi + 0x28]
mov edx, dword [edi]
mov dword [esp + 0x20], eax
inc eax
mov dword [esp + 0x1c], eax
inc eax
mov dword [edi + 0x28], eax
mov ecx, dword [ebx + 0x18]
mov ebx, 0xffff8000
test ecx, ecx
je 0x490f18
mov eax, dword [edx + 0x10]
xor ebx, ebx
add eax, 0xc
cmp dword [eax], ecx
je 0x490f18
nop dword [eax]
lea eax, [eax + 0x10]
inc ebx
cmp dword [eax], ecx
jne 0x490f10
mov eax, dword [edx + 0x10]
mov esi, ebx
add esi, esi
mov edx, 0x1b
mov ecx, edi
push dword [eax + esi*8]
mov eax, dword [esp + 0x1c]
push 0
push dword [eax]
call fcn.0048a7e0
add esp, 0xc
test eax, eax
jne 0x491752
cmp ebx, 1
je 0x490f6c
mov eax, dword [edi]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + esi*8 + 4]
cmp byte [eax + 9], 0
je 0x490f6c
mov eax, dword [esp + 0x2c]
mov edx, ebx
mov ecx, edi
push dword [eax]
push 1
push dword [eax + 0x14]
call fcn.0048a880
add esp, 0xc
mov esi, dword [edi + 8]
test esi, esi
jne 0x490f95
cmp dword [edi + 0x78], esi
jne 0x490f84
mov eax, dword [edi]
test byte [eax + 0x50], 8
jne 0x490f84
mov byte [edi + 0x17], 1
mov ecx, edi
call fcn.004606d0
mov esi, eax
test esi, esi
je 0x491752
mov eax, dword [ebp + 8]
test eax, eax
js 0x490fa6
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x18]
jmp 0x490fb1
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x2c]
mov dword [esp + 0x24], ecx
mov edx, eax
mov ecx, edi
call fcn.00494800
mov edx, dword [edi + 0x28]
mov dword [esp + 0x30], eax
mov dword [esp + 0x14], edx
lea ecx, [edx + 1]
mov dword [edi + 0x28], ecx
test eax, eax
je 0x490fd1
inc dword [eax]
mov eax, dword [esp + 0x18]
mov ecx, dword [esi + 0x6c]
mov dword [esp + 0x34], ecx
movzx eax, word [eax + 0x32]
mov dword [esp + 0x10], eax
cmp dword [esi + 0x70], ecx
jg 0x491007
push eax
push 0
push edx
mov edx, 0x77
mov ecx, esi
call fcn.00460920
mov edx, eax
add esp, 0xc
lea eax, [esi + 0x68]
mov dword [esp + 0xc], eax
jmp 0x491040
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
lea eax, [esi + 0x68]
mov dword [esp + 0xc], eax
mov eax, dword [eax]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x10]
mov dword [eax + ecx*4 + 0xc], edx
mov edx, dword [esp + 0x34]
mov dword [eax + ecx*4], 0x77
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0x10], 0
push 0xfffffffffffffff8
push dword [esp + 0x34]
mov ecx, esi
call fcn.00461760
mov edx, dword [esp + 0x28]
mov ecx, edi
push 0x70
push dword [esp + 0x38]
push ebx
call fcn.0049eb60
mov edx, dword [esi + 0x6c]
add esp, 0x14
mov dword [esp + 0x2c], edx
cmp dword [esi + 0x70], edx
jg 0x49108b
push 0
push 0
push dword [esp + 0x28]
mov edx, 0x24
mov ecx, esi
call fcn.00460920
add esp, 0xc
mov dword [esp + 0x2c], eax
jmp 0x4910c1
lea eax, [edx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x20]
mov eax, dword [eax]
mov dword [eax + ecx*4], 0x24
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov al, byte [edi + 0x13]
test al, al
jne 0x4910d0
inc dword [edi + 0x2c]
mov edx, dword [edi + 0x2c]
jmp 0x4910df
dec al
mov byte [edi + 0x13], al
movzx eax, al
mov edx, dword [edi + eax*4 + 0x9c]
mov eax, dword [edi + 0x78]
mov ecx, edi
test eax, eax
mov dword [esp + 0x10], edx
push 0
cmovne ecx, eax
lea eax, [esp + 0x38]
push 0
push eax
push 0
push edx
push dword [esp + 0x34]
mov edx, dword [esp + 0x30]
mov byte [ecx + 0x14], 1
mov ecx, edi
call fcn.004973e0
mov ecx, dword [esi + 0x6c]
add esp, 0x18
cmp dword [esi + 0x70], ecx
jg 0x491132
push 0
push dword [esp + 0x14]
mov edx, 0x8b
mov ecx, esi
push dword [esp + 0x1c]
call fcn.00460920
add esp, 0xc
jmp 0x491168
mov edx, dword [esp + 0x14]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esp + 0xc]
mov eax, dword [eax]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x10]
mov dword [eax + ecx*4], 0x8b
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [esp + 0x34]
test edx, edx
je 0x49119a
mov eax, dword [edi + 8]
not edx
mov ecx, dword [eax + 0xc]
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x49118e
push edx
mov edx, dword [edi + 8]
call fcn.00460fb0
add esp, 4
jmp 0x49119a
mov eax, dword [edi + 8]
mov ecx, dword [ecx + 0x40]
mov eax, dword [eax + 0x6c]
mov dword [ecx + edx*4], eax
mov eax, dword [esp + 0x2c]
mov ecx, dword [esi + 0x6c]
inc eax
mov dword [esp + 0x34], eax
cmp dword [esi + 0x70], ecx
jg 0x4911c3
push 0
push eax
push dword [esp + 0x28]
mov edx, 0x27
mov ecx, esi
call fcn.00460920
add esp, 0xc
jmp 0x4911f9
mov edx, dword [esp + 0xc]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edx]
mov edx, dword [esp + 0x20]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x34]
mov dword [eax + ecx*4], 0x27
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi + 0x6c]
mov edx, dword [esp + 0xc]
mov dword [esp + 0x34], eax
mov eax, dword [esi]
cmp byte [eax + 0x57], 0
je 0x491213
mov eax, 0x5dfc94
jmp 0x49121f
mov eax, dword [esp + 0x2c]
lea ecx, [eax + eax*4]
mov eax, dword [edx]
lea eax, [eax + ecx*4]
cmp dword [ebp + 8], 0
mov ecx, dword [esp + 0x34]
mov dword [eax + 8], ecx
jge 0x49127a
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x49124c
push 0
push ebx
push dword [esp + 0x2c]
mov edx, 0x91
mov ecx, esi
call fcn.00460920
add esp, 0xc
jmp 0x49127a
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edx]
mov edx, dword [esp + 0x24]
mov dword [eax + ecx*4], 0x91
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], ebx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [esi + 0x6c]
cmp dword [esi + 0x70], edx
jg 0x49129e
push ebx
push dword [esp + 0x28]
mov edx, 0x71
mov ecx, esi
push dword [esp + 0x24]
call fcn.00460920
add esp, 0xc
mov edx, eax
jmp 0x4912d4
mov edi, dword [esp + 0x1c]
lea eax, [edx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [esp + 0xc]
mov eax, dword [eax]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x24]
mov dword [eax + ecx*4 + 8], edi
mov edi, dword [esp + 0x28]
mov dword [eax + ecx*4], 0x71
mov dword [eax + ecx*4 + 0xc], ebx
mov dword [eax + ecx*4 + 0x10], 0
push 0xfffffffffffffff8
push dword [esp + 0x34]
mov ecx, esi
call fcn.00461760
mov eax, dword [esi + 0x6c]
add esp, 8
mov ebx, dword [esp + 0xc]
test eax, eax
jle 0x49130a
cmp dword [ebp + 8], 0
mov ecx, 0x11
mov edx, 1
cmovge edx, ecx
lea ecx, [eax + eax*4]
mov eax, dword [ebx]
mov word [eax + ecx*4 - 0x12], dx
mov ecx, dword [esi + 0x6c]
mov dword [esp + 0x2c], ecx
cmp dword [esi + 0x70], ecx
jg 0x491333
push 0
push 0
push dword [esp + 0x1c]
mov edx, 0x22
mov ecx, esi
call fcn.00460920
add esp, 0xc
mov dword [esp + 0x2c], eax
jmp 0x491365
mov edx, dword [esp + 0x14]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx]
mov dword [eax + ecx*4], 0x22
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x18]
cmp byte [eax + 0x36], 0
je 0x491490
mov edx, dword [esi + 0x6c]
mov dword [esp + 0x30], edx
cmp dword [esi + 0x70], edx
jg 0x49139c
push 0
push 1
push 0
mov edx, 9
mov ecx, esi
call fcn.00460920
mov edx, eax
add esp, 0xc
mov dword [esp + 0x30], edx
jmp 0x4913d2
mov edi, dword [esp + 0x28]
lea eax, [edx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [ebx]
mov dword [eax + ecx*4], 9
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], 1
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x18]
mov ecx, dword [esi + 0x6c]
mov dword [esp + 0x24], ecx
movzx eax, word [eax + 0x32]
mov dword [esp + 0x34], eax
cmp dword [esi + 0x70], ecx
jg 0x491406
push dword [esp + 0x10]
mov ecx, esi
push edx
push dword [esp + 0x1c]
mov edx, 0x84
call fcn.00460920
add esp, 0xc
mov ecx, eax
jmp 0x49143c
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx]
mov ebx, dword [esp + 0x14]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x10]
mov dword [eax + ecx*4 + 4], ebx
mov ebx, dword [esp + 0xc]
mov dword [eax + ecx*4], 0x84
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x24]
mov eax, dword [esi]
cmp byte [eax + 0x57], 0
jne 0x491456
mov eax, dword [ebx]
lea ecx, [ecx + ecx*4]
mov edx, dword [esp + 0x34]
mov byte [eax + ecx*4 + 1], 0xfd
mov dword [eax + ecx*4 + 0x10], edx
push dword [esp + 0x18]
mov edx, 2
mov ecx, edi
call fcn.00494180
mov eax, dword [esi]
add esp, 4
mov edx, dword [esi + 0x6c]
cmp byte [eax + 0x57], 0
je 0x49147e
mov eax, 0x5dfc94
mov dword [eax + 8], edx
jmp 0x4914a5
mov eax, dword [esp + 0x30]
lea ecx, [eax + eax*4]
mov eax, dword [ebx]
mov dword [eax + ecx*4 + 8], edx
lea eax, [eax + ecx*4]
jmp 0x4914a5
mov eax, dword [edi + 0x78]
mov ecx, edi
test eax, eax
cmovne ecx, eax
mov byte [ecx + 0x15], 1
mov eax, dword [esi + 0x6c]
mov dword [esp + 0x24], eax
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x4914ce
push dword [esp + 0x1c]
mov edx, 0x85
mov ecx, esi
push dword [esp + 0x14]
push dword [esp + 0x1c]
call fcn.00460920
mov edx, dword [esp + 0x28]
add esp, 0xc
jmp 0x491500
mov edx, dword [esp + 0x14]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x10]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x1c]
mov dword [eax + ecx*4], 0x85
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x18]
test dword [eax + 0x38], 0x200
jne 0x49155d
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x49152b
push 0
push 0
push edx
mov edx, 0x89
mov ecx, esi
call fcn.00460920
add esp, 0xc
jmp 0x49155d
mov edi, dword [esp + 0x28]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx]
mov dword [eax + ecx*4], 0x89
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x491584
push 0
push dword [esp + 0x14]
mov edx, 0x8a
mov ecx, esi
push dword [esp + 0x24]
call fcn.00460920
mov edx, dword [esp + 0x1c]
add esp, 0xc
jmp 0x4915b6
mov edx, dword [esp + 0x1c]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x10]
mov dword [eax + ecx*4], 0x8a
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi + 0x6c]
test eax, eax
jle 0x4915d0
lea ecx, [eax + eax*4]
mov edi, 0x10
mov eax, dword [ebx]
mov word [eax + ecx*4 - 0x12], di
mov edi, dword [esp + 0x28]
test edx, edx
je 0x4915e8
mov al, byte [edi + 0x13]
cmp al, 8
jae 0x4915e8
movzx eax, al
mov dword [edi + eax*4 + 0x9c], edx
inc byte [edi + 0x13]
mov ecx, dword [esi + 0x6c]
mov edi, dword [esp + 0x14]
cmp dword [esi + 0x70], ecx
jg 0x49160c
push 0
push dword [esp + 0x28]
mov edx, 0x25
mov ecx, esi
push edi
call fcn.00460920
add esp, 0xc
jmp 0x49163a
mov edx, dword [esp + 0x24]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx]
mov dword [eax + ecx*4], 0x25
mov dword [eax + ecx*4 + 4], edi
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi]
mov edx, dword [esi + 0x6c]
cmp byte [eax + 0x57], 0
je 0x49164c
mov eax, 0x5dfc94
jmp 0x491658
mov eax, dword [esp + 0x2c]
lea ecx, [eax + eax*4]
mov eax, dword [ebx]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x49167c
push 0
push 0
push dword [esp + 0x28]
mov edx, 0x7a
mov ecx, esi
call fcn.00460920
add esp, 0xc
jmp 0x4916ae
mov edx, dword [esp + 0x20]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx]
mov dword [eax + ecx*4], 0x7a
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x4916cf
push 0
push 0
push dword [esp + 0x24]
mov edx, 0x7a
mov ecx, esi
call fcn.00460920
add esp, 0xc
jmp 0x491701
mov edx, dword [esp + 0x1c]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx]
mov dword [eax + ecx*4], 0x7a
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x491724
push 0
push 0
push edi
mov edx, 0x7a
mov ecx, esi
call fcn.00460920
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx]
mov dword [eax + ecx*4], 0x7a
mov dword [eax + ecx*4 + 4], edi
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret