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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4f5830
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x52a6ec]
xor eax, esp
mov dword [esp + 8], eax
push ebx
push esi
push edi
mov eax, dword [0x52a6ec]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x14], 0
mov edx, dword [edi + 0x84]
xor ebx, ebx
test dl, dl
je 0x498f92
test dl, 1
je 0x498f46
mov eax, dword [edi + 8]
mov ecx, dword [eax + 0x10]
cmp ecx, 0x80
jae 0x498f19
lea eax, [ebx + 1]
jmp 0x498f42
cmp ecx, 0x4000
jae 0x498f28
mov eax, 2
jmp 0x498f42
cmp ecx, 0x200000
jae 0x498f37
mov eax, 3
jmp 0x498f42
cmp ecx, 0x10000000
sbb eax, eax
add eax, 5
lea ebx, [ecx + eax + 1]
mov eax, edx
shr eax, 1
test al, 1
je 0x498f92
mov eax, dword [edi + 0xc]
mov ecx, dword [eax + 0x10]
cmp ecx, 0x80
jae 0x498f63
mov eax, 1
jmp 0x498f8c
cmp ecx, 0x4000
jae 0x498f72
mov eax, 2
jmp 0x498f8c
cmp ecx, 0x200000
jae 0x498f81
mov eax, 3
jmp 0x498f8c
cmp ecx, 0x10000000
sbb eax, eax
add eax, 5
add ecx, eax
lea ebx, [ebx + ecx + 1]
test edx, 0x1fe00
je 0x499055
shr edx, 9
test dl, 1
je 0x498ff7
mov eax, dword [edi + 0x78]
test eax, eax
jne 0x498fb6
mov ecx, dword [0x5301cc]
mov eax, dword [ecx + 0x78]
mov ecx, eax
call fcn.004a0f90
cmp eax, 0x80
jae 0x498fcb
mov ecx, 1
jmp 0x498ff1
cmp eax, 0x4000
jae 0x498fd9
mov ecx, 2
jmp 0x498ff1
cmp eax, 0x200000
jae 0x498fe7
mov ecx, 3
jmp 0x498ff1
cmp eax, 0x10000000
sbb ecx, ecx
add ecx, 5
add ecx, eax
lea ebx, [ebx + ecx + 1]
mov edx, dword [edi + 0x84]
shr edx, 0xa
test dl, 1
je 0x499055
mov eax, dword [edi + 0x7c]
test eax, eax
jne 0x499014
mov eax, dword [0x5301cc]
mov eax, dword [eax + 0x7c]
mov ecx, eax
call fcn.004ab650
cmp eax, 0x80
jae 0x499029
mov ecx, 1
jmp 0x49904f
cmp eax, 0x4000
jae 0x499037
mov ecx, 2
jmp 0x49904f
cmp eax, 0x200000
jae 0x499045
mov ecx, 3
jmp 0x49904f
cmp eax, 0x10000000
sbb ecx, ecx
add ecx, 5
add ecx, eax
lea ebx, [ebx + ecx + 1]
mov eax, dword [edi + 0x14]
add ebx, eax
mov dword [esp + 0x14], ebx
test eax, eax
jle 0x4990b7
mov edx, dword [edi + 0x10]
mov esi, eax
jmp 0x499070
mov eax, dword [edx]
mov eax, dword [eax + 0x10]
cmp eax, 0x80
jae 0x499083
mov ecx, 1
jmp 0x4990a9
cmp eax, 0x4000
jae 0x499091
mov ecx, 2
jmp 0x4990a9
cmp eax, 0x200000
jae 0x49909f
mov ecx, 3
jmp 0x4990a9
cmp eax, 0x10000000
sbb ecx, ecx
add ecx, 5
add eax, ecx
add ebx, eax
add edx, 4
dec esi
jne 0x499070
mov dword [esp + 0x14], ebx
mov ebx, dword [edi + 0x24]
xor edx, edx
test ebx, ebx
jle 0x49910e
mov ecx, dword [edi + 0x20]
mov esi, ebx
mov eax, dword [ecx]
test eax, eax
jns 0x4990d2
mov eax, 0xa
jmp 0x499106
cmp eax, 0x80
jae 0x4990e0
mov eax, 1
jmp 0x499106
cmp eax, 0x4000
jae 0x4990ee
mov eax, 2
jmp 0x499106
cmp eax, 0x200000
jae 0x4990fc
mov eax, 3
jmp 0x499106
cmp eax, 0x10000000
sbb eax, eax
add eax, 5
add edx, eax
add ecx, 4
dec esi
jne 0x4990c5
add ebx, edx
add dword [esp + 0x14], ebx
mov ebx, dword [edi + 0x30]
xor ecx, ecx
test ebx, ebx
jle 0x49916b
mov edx, dword [edi + 0x2c]
mov esi, ebx
mov eax, dword [edx]
test eax, eax
jns 0x49912f
mov eax, 0xa
jmp 0x499163
cmp eax, 0x80
jae 0x49913d
mov eax, 1
jmp 0x499163
cmp eax, 0x4000
jae 0x49914b
mov eax, 2
jmp 0x499163
cmp eax, 0x200000
jae 0x499159
mov eax, 3
jmp 0x499163
cmp eax, 0x10000000
sbb eax, eax
add eax, 5
add ecx, eax
add edx, 4
dec esi
jne 0x499122
mov eax, dword [edi + 0x3c]
lea edx, [eax + ebx]
add edx, ecx
add dword [esp + 0x14], edx
xor esi, esi
test eax, eax
jle 0x4991ce
mov ebx, dword [esp + 0x14]
mov eax, dword [edi + 0x38]
mov ecx, dword [eax + esi*4]
call fcn.0049b640
cmp eax, 0x80
jae 0x49919a
mov ecx, 1
jmp 0x4991c0
cmp eax, 0x4000
jae 0x4991a8
mov ecx, 2
jmp 0x4991c0
cmp eax, 0x200000
jae 0x4991b6
mov ecx, 3
jmp 0x4991c0
cmp eax, 0x10000000
sbb ecx, ecx
add ecx, 5
add ecx, eax
inc esi
add ebx, ecx
cmp esi, dword [edi + 0x3c]
jl 0x499181
mov dword [esp + 0x14], ebx
mov eax, dword [edi + 0x4c]
mov ebx, dword [esp + 0x14]
add ebx, eax
xor esi, esi
test eax, eax
jle 0x499229
lea ecx, [ecx]
mov ecx, dword [edi + 0x48]
mov ecx, dword [ecx + esi*4]
call fcn.0049d630
cmp eax, 0x80
jae 0x4991f9
mov ecx, 1
jmp 0x49921f
cmp eax, 0x4000
jae 0x499207
mov ecx, 2
jmp 0x49921f
cmp eax, 0x200000
jae 0x499215
mov ecx, 3
jmp 0x49921f
cmp eax, 0x10000000
sbb ecx, ecx
add ecx, 5
add ecx, eax
inc esi
add ebx, ecx
cmp esi, dword [edi + 0x4c]
jl 0x4991e0
mov eax, dword [edi + 0x5c]
add ebx, eax
xor esi, esi
test eax, eax
jle 0x49927d
mov edx, dword [edi + 0x58]
mov ecx, dword [edx + esi*4]
call fcn.0049eee0
cmp eax, 0x80
jae 0x49924d
mov ecx, 1
jmp 0x499273
cmp eax, 0x4000
jae 0x49925b
mov ecx, 2
jmp 0x499273
cmp eax, 0x200000
jae 0x499269
mov ecx, 3
jmp 0x499273
cmp eax, 0x10000000
sbb ecx, ecx
add ecx, 5
add ecx, eax
inc esi
add ebx, ecx
cmp esi, dword [edi + 0x5c]
jl 0x499234
mov eax, dword [edi + 0x6c]
add ebx, eax
xor esi, esi
test eax, eax
jle 0x4992d9
jmp 0x499290
mov eax, dword [edi + 0x68]
mov ecx, dword [eax + esi*4]
call fcn.0049c740
cmp eax, 0x80
jae 0x4992a9
mov ecx, 1
jmp 0x4992cf
cmp eax, 0x4000
jae 0x4992b7
mov ecx, 2
jmp 0x4992cf
cmp eax, 0x200000
jae 0x4992c5
mov ecx, 3
jmp 0x4992cf
cmp eax, 0x10000000
sbb ecx, ecx
add ecx, 5
add ecx, eax
inc esi
add ebx, ecx
cmp esi, dword [edi + 0x6c]
jl 0x499290
mov ecx, dword [edi + 4]
lea eax, [edi + 4]
test ecx, ecx
je 0x4992f5
mov edx, dword [ecx]
cmp edx, dword [ecx + 4]
je 0x4992f5
push eax
call fcn.00485020
add esp, 4
add ebx, eax
mov dword [edi + 0x80], ebx
mov eax, ebx
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 8]
xor ecx, esp
call fcn.004c9392
mov esp, ebp
pop ebp
ret