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

Disassembly:
push 0xffffffffffffffff
push 0x4f3318
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x8c
push ebx
push ebp
xor eax, eax
push esi
push edi
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov ebp, dword [esp + 0xac]
mov edx, dword [ebp + 4]
cmp edx, eax
mov dword [esp + 0xa4], eax
jne 0x490f86
xor ecx, ecx
jmp 0x490f8e
mov ecx, dword [ebp + 8]
sub ecx, edx
sar ecx, 4
mov esi, dword [esp + 0xb0]
mov edx, dword [esi + 4]
cmp edx, eax
je 0x490fa4
mov eax, dword [esi + 8]
sub eax, edx
sar eax, 4
add eax, ecx
push eax
lea ecx, [esp + 0x50]
call fcn.00490700
mov edi, dword [ebp + 4]
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x58]
mov dword [ebp + 4], eax
mov ebx, dword [ebp + 8]
mov dword [ebp + 8], ecx
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0xb0]
mov ecx, eax
mov dword [ebp + 0xc], edx
mov esi, dword [eax + 4]
mov edx, dword [ecx + 8]
mov eax, dword [esp + 0xb8]
push 1
mov dword [esp + 0x18], edx
cdq
push 0
push edx
push eax
mov dword [esp + 0x48], edi
mov dword [esp + 0x60], edi
mov dword [esp + 0x20], ebx
mov dword [esp + 0x64], ebx
call fcn.004b78b0
mov ecx, eax
mov eax, dword [esp + 0xb4]
mov dword [esp + 0x2c], edx
cdq
mov dword [esp + 0x28], ecx
sub ecx, eax
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x2c]
sbb ecx, edx
mov dword [esp + 0x1c], ecx
add eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x30], eax
adc edx, ecx
mov eax, edi
cmp eax, ebx
mov dword [esp + 0x34], edx
je 0x491405
cmp esi, dword [esp + 0x14]
je 0x491398
mov ebx, dword [esp + 0x18]
mov ecx, dword [esi]
mov edx, dword [esp + 0x1c]
mov eax, dword [esi + 4]
add ecx, ebx
mov ebx, dword [edi]
adc eax, edx
mov edx, dword [edi + 4]
cmp eax, edx
ja 0x491221
jb 0x491078
cmp ecx, ebx
jae 0x491221
mov ebx, dword [esi + 8]
mov edx, dword [esp + 0x30]
mov dword [esp + 0x5c], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x60], eax
mov eax, dword [esi + 0xc]
add ebx, edx
adc eax, ecx
mov ecx, dword [esp + 0x10]
add esi, 0x10
cmp edi, ecx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], eax
je 0x4911b0
lea esp, [esp]
mov ecx, dword [edi + 4]
cmp ecx, eax
ja 0x4911b0
jb 0x4910c7
mov edx, dword [edi]
cmp edx, ebx
ja 0x4911b0
mov edx, dword [esp + 0x10]
jmp 0x4910d0
mov ecx, edi
add ecx, 8
add edi, 0x10
cmp eax, dword [ecx + 4]
ja 0x4910e3
jb 0x4910e7
cmp ebx, dword [ecx]
jb 0x4910e7
lea ecx, [esp + 0x20]
cmp edi, edx
mov ebx, dword [ecx]
mov dword [esp + 0x20], ebx
mov eax, dword [ecx + 4]
mov dword [esp + 0x24], eax
je 0x491107
mov ecx, dword [edi + 4]
cmp ecx, eax
jb 0x4910d0
ja 0x491107
mov ecx, dword [edi]
cmp ecx, ebx
jbe 0x4910d0
cmp esi, dword [esp + 0x14]
je 0x4911b0
mov edx, dword [esp + 0x18]
mov ecx, dword [esi]
add ecx, edx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x94], ecx
mov ecx, dword [esi + 4]
adc ecx, edx
cmp ecx, eax
ja 0x4911b0
jb 0x491140
cmp dword [esp + 0x94], ebx
ja 0x4911b0
lea esp, [esp]
mov ebp, dword [esp + 0x30]
mov ecx, esi
mov edx, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
add esi, 0x10
add edx, ebp
adc ecx, dword [esp + 0x34]
cmp eax, ecx
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], ecx
ja 0x49116d
jb 0x491167
cmp ebx, edx
jae 0x49116d
lea eax, [esp + 0x74]
jmp 0x491171
lea eax, [esp + 0x20]
mov ebx, dword [eax]
cmp esi, dword [esp + 0x14]
mov dword [esp + 0x20], ebx
mov eax, dword [eax + 4]
mov dword [esp + 0x24], eax
je 0x49119f
mov ecx, dword [esp + 0x18]
mov edx, dword [esi]
mov ebp, dword [esp + 0x1c]
add edx, ecx
mov ecx, dword [esi + 4]
adc ecx, ebp
cmp ecx, eax
jb 0x491140
ja 0x49119f
cmp edx, ebx
jbe 0x491140
cmp edi, dword [esp + 0x10]
mov ebp, dword [esp + 0xac]
jne 0x4910b0
mov edx, dword [esp + 0x5c]
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x88], eax
mov eax, dword [ebp + 4]
test eax, eax
mov dword [esp + 0x7c], edx
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], ebx
jne 0x4911dc
xor edx, edx
jmp 0x4911e4
mov edx, dword [ebp + 8]
sub edx, eax
sar edx, 4
test eax, eax
je 0x491218
mov ecx, dword [ebp + 0xc]
sub ecx, eax
sar ecx, 4
cmp edx, ecx
jae 0x491218
lea eax, [esp + 0x7c]
mov edx, dword [esp + 0x20]
mov ebx, dword [ebp + 8]
push edx
push ebp
push eax
push 1
push ebx
call fcn.0048f890
add esp, 0x14
add ebx, 0x10
mov dword [ebp + 8], ebx
jmp 0x49138c
lea ecx, [esp + 0x7c]
jmp 0x49137a
mov eax, dword [edi + 0xc]
mov dword [esp + 0x64], ebx
mov ebx, dword [edi + 8]
mov dword [esp + 0x68], edx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], eax
add edi, 0x10
jmp 0x491243
mov ebp, dword [esp + 0xac]
mov edx, dword [esp + 0x18]
mov ecx, dword [esi]
add ecx, edx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x8c], ecx
mov ecx, dword [esi + 4]
adc ecx, edx
cmp ecx, eax
ja 0x491332
jb 0x491272
cmp dword [esp + 0x8c], ebx
ja 0x491332
mov ebp, dword [esp + 0x30]
mov ecx, esi
mov edx, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
add esi, 0x10
add edx, ebp
adc ecx, dword [esp + 0x34]
cmp eax, ecx
mov dword [esp + 0x6c], edx
mov dword [esp + 0x70], ecx
ja 0x49129f
jb 0x491299
cmp ebx, edx
jae 0x49129f
lea eax, [esp + 0x6c]
jmp 0x4912a3
lea eax, [esp + 0x28]
mov ebx, dword [eax]
cmp esi, dword [esp + 0x14]
mov dword [esp + 0x28], ebx
mov eax, dword [eax + 4]
mov dword [esp + 0x2c], eax
je 0x4912d1
mov ecx, dword [esp + 0x18]
mov edx, dword [esi]
mov ebp, dword [esp + 0x1c]
add edx, ecx
mov ecx, dword [esi + 4]
adc ecx, ebp
cmp ecx, eax
jb 0x491272
ja 0x4912d1
cmp edx, ebx
jbe 0x491272
mov edx, dword [esp + 0x10]
cmp edi, edx
je 0x49132b
mov ecx, dword [edi + 4]
cmp ecx, eax
ja 0x49132b
jb 0x4912e8
mov ecx, dword [edi]
cmp ecx, ebx
ja 0x49132b
mov ecx, edi
mov ebp, dword [ecx + 0xc]
add ecx, 8
add edi, 0x10
cmp eax, ebp
ja 0x4912fd
jb 0x491301
cmp ebx, dword [ecx]
jb 0x491301
lea ecx, [esp + 0x28]
cmp edi, edx
mov ebx, dword [ecx]
mov dword [esp + 0x28], ebx
mov eax, dword [ecx + 4]
mov dword [esp + 0x2c], eax
je 0x491321
mov ecx, dword [edi + 4]
cmp ecx, eax
jb 0x4912e8
ja 0x491321
mov ecx, dword [edi]
cmp ecx, ebx
jbe 0x4912e8
cmp esi, dword [esp + 0x14]
jne 0x49123c
mov ebp, dword [esp + 0xac]
mov edx, dword [esp + 0x64]
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x48], eax
mov eax, dword [ebp + 4]
test eax, eax
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], ebx
jne 0x491355
xor edx, edx
jmp 0x49135d
mov edx, dword [ebp + 8]
sub edx, eax
sar edx, 4
test eax, eax
je 0x491376
mov ecx, dword [ebp + 0xc]
sub ecx, eax
sar ecx, 4
cmp edx, ecx
jae 0x491376
lea eax, [esp + 0x3c]
jmp 0x4911f8
lea ecx, [esp + 0x3c]
mov eax, dword [ebp + 8]
push ecx
push 1
push ecx
mov ecx, esp
mov dword [ecx], eax
mov ecx, ebp
call fcn.00490430
cmp edi, dword [esp + 0x10]
jne 0x491046
jmp 0x491405
cmp edi, dword [esp + 0x10]
je 0x491405
mov edi, edi
mov ecx, dword [ebp + 4]
mov ebx, edi
add edi, 0x10
test ecx, ecx
mov dword [esp + 0x20], ebx
jne 0x4913b4
xor edx, edx
jmp 0x4913bc
mov edx, dword [ebp + 8]
sub edx, ecx
sar edx, 4
test ecx, ecx
je 0x4913ed
mov eax, dword [ebp + 0xc]
sub eax, ecx
sar eax, 4
cmp edx, eax
jae 0x4913ed
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x20]
mov ebx, dword [ebp + 8]
push edx
push ebp
push eax
push 1
push ebx
call fcn.0048f890
add esp, 0x14
add ebx, 0x10
mov dword [ebp + 8], ebx
jmp 0x4913ff
mov eax, dword [ebp + 8]
push ebx
push 1
push ecx
mov ecx, esp
mov dword [ecx], eax
mov ecx, ebp
call fcn.00490430
cmp edi, dword [esp + 0x10]
jne 0x4913a0
cmp esi, dword [esp + 0x14]
je 0x4914a9
mov ebx, dword [esp + 0x18]
mov edi, dword [esp + 0x30]
mov eax, dword [esi + 8]
mov edx, dword [esp + 0x34]
mov ecx, dword [esi + 0xc]
add eax, edi
mov edi, dword [esi + 4]
adc ecx, edx
mov edx, dword [esi]
add edx, ebx
adc edi, dword [esp + 0x1c]
mov dword [esp + 0x44], eax
mov eax, dword [ebp + 4]
test eax, eax
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], edi
mov dword [esp + 0x48], ecx
jne 0x49144b
xor edx, edx
jmp 0x491453
mov edx, dword [ebp + 8]
sub edx, eax
sar edx, 4
test eax, eax
je 0x491484
mov ecx, dword [ebp + 0xc]
sub ecx, eax
sar ecx, 4
cmp edx, ecx
jae 0x491484
mov eax, dword [esp + 0x20]
mov edi, dword [ebp + 8]
push eax
push ebp
lea ecx, [esp + 0x44]
push ecx
push 1
push edi
call fcn.0048f890
add esp, 0x14
add edi, 0x10
mov dword [ebp + 8], edi
jmp 0x49149a
mov eax, dword [ebp + 8]
lea edx, [esp + 0x3c]
push edx
push 1
push ecx
mov ecx, esp
mov dword [ecx], eax
mov ecx, ebp
call fcn.00490430
mov eax, dword [esp + 0x14]
add esi, 0x10
cmp esi, eax
jne 0x491413
mov eax, dword [esp + 0x38]
test eax, eax
je 0x4914ba
push eax
call fcn.004d2f9a
add esp, 4
mov ecx, dword [esp + 0x9c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x98
ret