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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x88
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
mov esi, dword [ebp + 8]
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], ecx
mov eax, dword [ebp + 8]
movzx eax, word [eax + 0x10]
cmp eax, 2
mov dword [esp + 0x5c], esi
mov dword [esp + 0x58], edx
jne 0x467623
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x20]
mov edx, dword [eax + 0x24]
neg edx
not ecx
movzx eax, word [eax + 0x38]
imul eax, eax, 0x38
sub ecx, eax
sbb edx, 0
mov dword [esp + 0x54], ecx
mov dword [esp + 0x50], edx
jae 0x4674e5
jmp 0x4674d0
mov dword [esp + 0x7c], 0xfffabada
mov dword [esp + 0x78], 0xfabadaff
jmp 0x4677bc
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x20]
mov eax, dword [eax + 0x24]
or ecx, eax
mov dword [esp + 0x4c], ecx
je 0x46754c
jmp 0x4674f8
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x20]
mov eax, dword [eax + 0x24]
mov edx, dword [ebp + 0x14]
xor esi, esi
sub edx, ecx
sbb esi, eax
mov dword [esp + 0x48], edx
mov dword [esp + 0x44], esi
jb 0x46754c
jmp 0x467516
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x20]
mov edx, dword [eax + 0x24]
movzx eax, word [eax + 0x38]
imul eax, eax, 0x38
add ecx, eax
adc edx, 0
mov eax, dword [ebp + 0x14]
xor esi, esi
sub eax, ecx
sbb esi, edx
mov dword [esp + 0x40], eax
mov dword [esp + 0x3c], esi
jb 0x46754c
jmp 0x467540
mov eax, dword [ebp + 8]
movzx eax, word [eax + 0x38]
cmp eax, 0
jne 0x467561
mov dword [esp + 0x7c], 0xfffabada
mov dword [esp + 0x78], 0xfabadaff
jmp 0x4677bc
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x20]
add eax, ecx
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], 0
mov eax, dword [esp + 0x6c]
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx + 0x38]
cmp eax, ecx
jge 0x46761e
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x68]
mov esi, dword [edx + 0x10]
mov edx, dword [edx + 0x14]
sub eax, esi
sbb ecx, edx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x34], eax
jb 0x467603
jmp 0x4675aa
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x68]
mov esi, dword [edx + 0x10]
mov edi, dword [edx + 0x14]
mov ebx, dword [edx + 0x2c]
mov edx, dword [edx + 0x28]
add esi, edx
adc edi, ebx
sub eax, esi
sbb ecx, edi
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], ecx
jae 0x467603
jmp 0x4675d6
mov eax, dword [esp + 0x68]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov esi, dword [esp + 0x70]
mov edi, dword [esp + 0x74]
mov ebx, dword [eax + 0x14]
mov eax, dword [eax + 0x10]
sub esi, eax
sbb edi, ebx
add ecx, esi
adc edx, edi
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], edx
jmp 0x4677bc
mov eax, dword [esp + 0x68]
add eax, 0x38
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x6c]
add eax, 1
mov dword [esp + 0x6c], eax
jmp 0x467575
jmp 0x4677ac
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x28]
mov edx, dword [eax + 0x2c]
neg edx
not ecx
movzx eax, word [eax + 0x3c]
shl eax, 6
sub ecx, eax
sbb edx, 0
mov dword [esp + 0x28], ecx
mov dword [esp + 0x24], edx
jae 0x46765d
jmp 0x467648
mov dword [esp + 0x7c], 0xfffabada
mov dword [esp + 0x78], 0xfabadaff
jmp 0x4677bc
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x28]
mov eax, dword [eax + 0x2c]
or ecx, eax
mov dword [esp + 0x20], ecx
je 0x4676c4
jmp 0x467670
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x28]
mov eax, dword [eax + 0x2c]
mov edx, dword [ebp + 0x14]
xor esi, esi
sub edx, ecx
sbb esi, eax
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], esi
jb 0x4676c4
jmp 0x46768e
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x28]
mov edx, dword [eax + 0x2c]
movzx eax, word [eax + 0x3c]
shl eax, 6
add ecx, eax
adc edx, 0
mov eax, dword [ebp + 0x14]
xor esi, esi
sub eax, ecx
sbb esi, edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], esi
jb 0x4676c4
jmp 0x4676b8
mov eax, dword [ebp + 8]
movzx eax, word [eax + 0x3c]
cmp eax, 0
jne 0x4676d9
mov dword [esp + 0x7c], 0xfffabada
mov dword [esp + 0x78], 0xfabadaff
jmp 0x4677bc
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x28]
add eax, ecx
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], 0
mov eax, dword [esp + 0x64]
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx + 0x3c]
cmp eax, ecx
jge 0x4677aa
mov eax, dword [esp + 0x60]
cmp dword [eax + 4], 0
je 0x46778f
mov eax, dword [esp + 0x60]
cmp dword [eax + 4], 8
je 0x46778f
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x60]
mov esi, dword [edx + 0x10]
mov edx, dword [edx + 0x14]
sub eax, esi
sbb ecx, edx
mov dword [esp + 0xc], ecx
mov dword [esp + 8], eax
jb 0x46778f
jmp 0x46773a
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x60]
mov esi, dword [edx + 0x10]
mov edi, dword [edx + 0x14]
mov ebx, dword [edx + 0x24]
mov edx, dword [edx + 0x20]
add esi, edx
adc edi, ebx
sub eax, esi
sbb ecx, edi
mov dword [esp + 4], eax
mov dword [esp], ecx
jae 0x46778f
jmp 0x467765
mov eax, dword [esp + 0x60]
mov ecx, dword [eax + 0x1c]
mov edx, dword [eax + 0x18]
mov esi, dword [esp + 0x70]
mov edi, dword [esp + 0x74]
mov ebx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
sub esi, ebx
sbb edi, eax
add edx, esi
adc ecx, edi
mov dword [esp + 0x78], edx
mov dword [esp + 0x7c], ecx
jmp 0x4677bc
mov eax, dword [esp + 0x60]
add eax, 0x40
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x64]
add eax, 1
mov dword [esp + 0x64], eax
jmp 0x4676ed
jmp 0x4677ac
mov dword [esp + 0x7c], 0xfffabada
mov dword [esp + 0x78], 0xfabadaff
mov eax, dword [esp + 0x78]
mov edx, dword [esp + 0x7c]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret