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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x480c73f6
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
mov eax, dword [0x480d40c0]
xor eax, esp
mov dword [esp + 0x98], eax
push ebx
push esi
push edi
mov eax, dword [0x480d40c0]
xor eax, esp
push eax
lea eax, [esp + 0xb0]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x24], esi
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [esp + 0x38], ebx
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
call fcn.480a5cb0
mov dword [esp + 0x14], eax
mov dword [esp + 0xb8], 0
test edi, edi
je 0x480a30d3
cmp word [edi], 0
je 0x480a30d3
mov esi, edi
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x480a3063
sub esi, ecx
mov edx, 2
sar esi, 1
xor ecx, ecx
inc esi
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.480b6c02
add esp, 4
lea ecx, [esi + esi]
mov ebx, eax
push ecx
push 0
push ebx
call fcn.480b7490
mov ecx, ebx
add esp, 0xc
sub ecx, edi
movzx eax, word [edi]
lea edi, [edi + 2]
mov word [ecx + edi - 2], ax
test ax, ax
jne 0x480a30a3
lea eax, [esp + 0x14]
mov ecx, ebx
push eax
call fcn.480a2ec0
add esp, 4
push ebx
call fcn.480b8b90
mov esi, dword [esp + 0x28]
add esp, 4
mov ebx, dword [esp + 0x38]
cmp dword [ebx + 0x14], 8
mov dword [ebx + 0x10], 0
jb 0x480a30e4
mov eax, dword [ebx]
jmp 0x480a30e6
mov eax, ebx
xor ecx, ecx
mov word [eax], cx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], ecx
lea ecx, [esp + 0x2c]
call fcn.480a42c0
xor eax, eax
mov dword [esp + 0x10], 0
mov dword [esp + 0x5c], 7
mov dword [esp + 0x58], 0
mov word [esp + 0x48], ax
mov byte [esp + 0xb8], 2
mov eax, dword [esi + 0x14]
cmp eax, dword [esi + 0x18]
jne 0x480a3133
xor ebx, ebx
jmp 0x480a3135
mov ebx, eax
add ebx, 0x40
mov eax, dword [esi + 0x14]
mov dword [esp + 0x20], ebx
cmp eax, dword [esi + 0x18]
jne 0x480a3148
xor ecx, ecx
jmp 0x480a314b
mov ecx, dword [esi + 0x18]
lea eax, [ebx - 0x40]
cmp eax, ecx
je 0x480a34b4
mov esi, dword [esp + 0x14]
lea edi, [ebx - 0x40]
push edi
lea ecx, [esp + 0x18]
mov dword [esp + 0x2c], edi
call fcn.480a5530
cmp eax, dword [esp + 0x14]
je 0x480a31ef
cmp dword [eax + 0x24], 8
lea edx, [eax + 0x10]
mov ecx, dword [edx + 0x10]
mov dword [esp + 0x1c], ecx
jb 0x480a3183
mov edx, dword [edx]
cmp dword [ebx - 0x2c], 8
mov ecx, dword [ebx - 0x30]
mov dword [esp + 0x40], ecx
jb 0x480a3192
mov edi, dword [edi]
mov ebx, dword [esp + 0x1c]
cmp ecx, ebx
cmovb ebx, ecx
test ebx, ebx
jne 0x480a31b6
xor ecx, ecx
test ecx, ecx
jne 0x480a31de
mov edx, dword [esp + 0x40]
mov ebx, dword [esp + 0x1c]
cmp edx, ebx
jae 0x480a31d5
or ecx, 0xffffffff
jmp 0x480a31dc
mov cx, word [edi]
cmp cx, word [edx]
jne 0x480a31c7
add edi, 2
add edx, 2
dec ebx
jmp 0x480a319d
movzx ecx, word [edi]
cmp cx, word [edx]
sbb ecx, ecx
and ecx, 0xfffffffe
inc ecx
jmp 0x480a31a1
xor ecx, ecx
cmp edx, ebx
setne cl
test ecx, ecx
sets cl
test cl, cl
jne 0x480a31ef
mov dword [esp + 0x44], eax
lea eax, [esp + 0x44]
jmp 0x480a31fb
mov eax, dword [esp + 0x14]
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x3c]
cmp dword [eax], esi
jne 0x480a34a4
push dword [esp + 0x28]
lea ecx, [esp + 0x7c]
call fcn.480a6080
add esp, 4
push 0x480cf930
push eax
lea eax, [esp + 0x68]
mov byte [esp + 0xc0], 3
push eax
call fcn.480a6140
mov esi, eax
add esp, 0xc
lea eax, [esp + 0x48]
cmp eax, esi
je 0x480a32ae
cmp dword [esp + 0x5c], 8
jb 0x480a324b
push dword [esp + 0x48]
call fcn.480b6e1f
add esp, 4
xor eax, eax
mov dword [esp + 0x5c], 7
mov dword [esp + 0x58], 0
mov word [esp + 0x48], ax
cmp dword [esi + 0x14], 8
jae 0x480a3281
mov eax, dword [esi + 0x10]
inc eax
je 0x480a328d
add eax, eax
push eax
lea eax, [esp + 0x4c]
push esi
push eax
call fcn.480b75c0
add esp, 0xc
jmp 0x480a328d
mov eax, dword [esi]
mov dword [esp + 0x48], eax
mov dword [esi], 0
mov eax, dword [esi + 0x10]
mov dword [esp + 0x58], eax
mov eax, dword [esi + 0x14]
mov dword [esp + 0x5c], eax
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
cmp dword [esp + 0x74], 8
jb 0x480a32c1
push dword [esp + 0x60]
call fcn.480b6e1f
add esp, 4
xor eax, eax
mov byte [esp + 0xb8], 2
cmp dword [esp + 0x8c], 8
mov dword [esp + 0x74], 7
mov dword [esp + 0x70], 0
mov word [esp + 0x60], ax
jb 0x480a32f6
push dword [esp + 0x78]
call fcn.480b6e1f
add esp, 4
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x2c]
add eax, dword [esp + 0x58]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x48]
push eax
call fcn.480a41d0
mov ebx, dword [esp + 0x20]
xor eax, eax
mov esi, dword [ebx]
cmp esi, dword [ebx + 4]
cmove esi, eax
mov edi, edi
mov eax, dword [ebx]
cmp eax, dword [ebx + 4]
jne 0x480a332b
xor eax, eax
jmp 0x480a332e
mov eax, dword [ebx + 4]
cmp esi, eax
je 0x480a34a8
push 0x480cf944
lea eax, [esp + 0x94]
push esi
push eax
call fcn.480a61e0
add esp, 0xc
lea ecx, [esi + 0x1c]
mov byte [esp + 0xb8], 4
push ecx
push eax
lea eax, [esp + 0x80]
push eax
call fcn.480a62d0
add esp, 0xc
push 0x480cf93c
push eax
lea eax, [esp + 0x68]
mov byte [esp + 0xc0], 5
push eax
call fcn.480a6140
mov edi, eax
add esp, 0xc
lea eax, [esp + 0x48]
cmp eax, edi
je 0x480a3404
cmp dword [esp + 0x5c], 8
jb 0x480a33a1
push dword [esp + 0x48]
call fcn.480b6e1f
add esp, 4
xor eax, eax
mov dword [esp + 0x5c], 7
mov dword [esp + 0x58], 0
mov word [esp + 0x48], ax
cmp dword [edi + 0x14], 8
jae 0x480a33d7
mov eax, dword [edi + 0x10]
inc eax
je 0x480a33e3
add eax, eax
push eax
lea eax, [esp + 0x4c]
push edi
push eax
call fcn.480b75c0
add esp, 0xc
jmp 0x480a33e3
mov eax, dword [edi]
mov dword [esp + 0x48], eax
mov dword [edi], 0
mov eax, dword [edi + 0x10]
mov dword [esp + 0x58], eax
mov eax, dword [edi + 0x14]
mov dword [esp + 0x5c], eax
xor eax, eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
mov word [edi], ax
cmp dword [esp + 0x74], 8
jb 0x480a3417
push dword [esp + 0x60]
call fcn.480b6e1f
add esp, 4
xor eax, eax
mov dword [esp + 0x74], 7
cmp dword [esp + 0x8c], 8
mov dword [esp + 0x70], 0
mov word [esp + 0x60], ax
jb 0x480a3444
push dword [esp + 0x78]
call fcn.480b6e1f
add esp, 4
xor eax, eax
mov byte [esp + 0xb8], 2
cmp dword [esp + 0xa4], 8
mov dword [esp + 0x8c], 7
mov dword [esp + 0x88], 0
mov word [esp + 0x78], ax
jb 0x480a3482
push dword [esp + 0x90]
call fcn.480b6e1f
add esp, 4
mov edi, dword [esp + 0x10]
lea eax, [esp + 0x48]
add edi, dword [esp + 0x58]
lea ecx, [esp + 0x2c]
push eax
mov dword [esp + 0x14], edi
call fcn.480a41d0
add esi, 0x38
jmp 0x480a3320
mov ebx, dword [esp + 0x20]
mov esi, dword [esp + 0x24]
add ebx, 0x50
jmp 0x480a3138
mov ecx, dword [esp + 0x38]
lea eax, [esp + 0x10]
push eax
lea edx, [esp + 0x30]
call fcn.480a1920
add esp, 4
cmp dword [esp + 0x5c], 8
jb 0x480a34dc
push dword [esp + 0x48]
call fcn.480b6e1f
add esp, 4
mov ebx, dword [esp + 0x2c]
xor eax, eax
mov dword [esp + 0x5c], 7
mov dword [esp + 0x58], 0
mov word [esp + 0x48], ax
test ebx, ebx
je 0x480a3538
mov edi, dword [esp + 0x30]
mov esi, ebx
cmp ebx, edi
je 0x480a352f
cmp dword [esi + 0x14], 8
jb 0x480a3515
push dword [esi]
call fcn.480b6e1f
add esp, 4
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
add esi, 0x18
cmp esi, edi
jne 0x480a3505
push ebx
call fcn.480b6e1f
add esp, 4
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x14]
push eax
push dword [eax]
lea eax, [esp + 0x30]
push eax
call fcn.480a5470
push dword [esp + 0x14]
call fcn.480b6e1f
add esp, 4
mov al, 1
mov ecx, dword [esp + 0xb0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x98]
xor ecx, esp
call fcn.480b6e24
mov esp, ebp
pop ebp
ret 8