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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x6c
mov eax, dword [0x4010c0]
xor eax, esp
mov dword [esp + 0x68], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x14]
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0x18]
push esi
mov dword [esp + 0xc], eax
mov esi, ecx
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp + 8]
mov dword [esp + 0x30], eax
mov dword [esp + 0x28], eax
xor eax, eax
push edi
mov edi, dword [esi]
mov dword [esp + 0x20], edx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x38], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], 1
cmp dword [ebp + 0x20], eax
je 0x4ab9f5
cmp dword [ecx + 4], eax
jbe 0x4ab9e9
push 0x43205c
push esi
call fcn.0045c6d7
pop ecx
pop ecx
jmp 0x4abbac
mov edx, dword [esp + 0x1c]
mov ecx, edx
mov dword [esp + 0x18], ecx
jmp 0x4aba1e
lea eax, [esp + 0x24]
push eax
push ecx
mov ecx, esi
call fcn.00490bd2
pop ecx
pop ecx
mov ecx, eax
mov dword [esp + 0x18], ecx
test ecx, ecx
js 0x4abbac
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4abbb0
cmp byte [edi + 0x57], 0
jne 0x4abbb0
cmp byte [edi + 0xb1], 0
je 0x4aba57
cmp ecx, edx
je 0x4aba57
mov edx, dword [eax + 0xc]
test edx, edx
je 0x4aba53
mov ecx, edi
call fcn.004594d9
mov eax, dword [esp + 0x10]
and dword [eax + 0xc], 0
mov edx, eax
mov ecx, esi
call fcn.004962cc
cmp byte [edi + 0xb1], 0
jne 0x4aba8f
mov ecx, dword [esp + 0x3c]
cmp dword [ecx + 4], 0
jne 0x4aba8f
mov edx, dword [esp + 0x18]
test eax, eax
je 0x4aba93
mov ecx, dword [edi + 0x10]
mov eax, dword [eax + 0x3c]
cmp eax, dword [ecx + 0x1c]
cmove edx, dword [esp + 0x1c]
mov dword [esp + 0x18], edx
jmp 0x4aba93
mov edx, dword [esp + 0x18]
cmp byte [edi + 0x57], 0
jne 0x4abbac
push dword [esp + 0x20]
lea ecx, [esp + 0x44]
push 0x43208c
push edx
mov edx, esi
call fcn.0048f9e1
mov edx, dword [esp + 0x1c]
add esp, 0xc
call fcn.0048fa41
test eax, eax
jne 0x4abbac
mov edx, dword [esp + 0x10]
mov ecx, esi
call fcn.004962cc
mov dword [esp + 0x24], eax
test eax, eax
je 0x4abaec
cmp byte [eax + 0x2b], 1
jne 0x4abb25
push 0x432094
push esi
call fcn.0045c6d7
pop ecx
pop ecx
cmp byte [edi + 0xb0], 1
mov eax, dword [esp + 0x14]
mov dword [esp + 0x14], eax
jne 0x4abb07
mov eax, dword [esp + 0x1c]
or dword [edi + 0xb4], eax
and dword [esp + 0x38], 0
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x34]
mov dword [esp + 0x34], eax
test edx, edx
je 0x4abbac
jmp 0x4abba5
mov edx, dword [esp + 0x20]
mov ecx, edi
call fcn.00490af1
mov dword [esp + 0x14], eax
test eax, eax
je 0x4abbac
mov ecx, dword [esp + 0x24]
mov edx, eax
push dword [ecx]
mov ecx, esi
push 0x43208c
call fcn.00490c4c
pop ecx
pop ecx
test eax, eax
jne 0x4abba1
cmp byte [esi + 0xd8], 2
jae 0x4abc49
mov ecx, dword [esp + 0x18]
mov eax, dword [edi + 0x10]
add ecx, ecx
mov edx, dword [esp + 0x14]
push 0
mov ecx, dword [eax + ecx*8 + 0xc]
add ecx, 0x28
call fcn.0045dda1
pop ecx
cmp dword [eax + 8], 0
je 0x4abc49
cmp dword [ebp + 0x24], 0
jne 0x4abc31
push dword [esp + 0x20]
push 0x4320c0
push esi
call fcn.0045c6d7
add esp, 0xc
mov edx, dword [esp + 0x14]
mov ecx, edi
call fcn.004594d9
mov eax, dword [esp + 0x10]
mov edx, eax
mov ecx, edi
call fcn.00495018
test ebx, ebx
je 0x4abbfc
xor eax, eax
mov dword [esp + 0x2c], eax
cmp dword [ebx], eax
jle 0x4abbf3
lea ecx, [ebx + 8]
mov dword [esp + 0x28], ecx
mov edx, dword [ecx]
test edx, edx
je 0x4abbe3
mov ecx, edi
call fcn.004594d9
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
inc eax
add ecx, 8
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], ecx
cmp eax, dword [ebx]
jl 0x4abbce
mov edx, ebx
mov ecx, edi
call fcn.00459528
mov edx, dword [esp + 0x34]
test edx, edx
je 0x4abc0b
mov ecx, edi
call fcn.0048602a
cmp dword [esi + 0xfc], 0
jne 0x4abc1f
mov edx, dword [esp + 0x38]
mov ecx, edi
call fcn.004ac6dd
mov ecx, dword [esp + 0x74]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004caec8
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0x78], 0
mov ecx, esi
mov edx, dword [esp + 0x18]
cmovne ecx, dword [esi + 0x78]
call fcn.0049552b
jmp 0x4abba1
mov eax, dword [esp + 0x24]
push 7
push 0x42e97c
mov eax, dword [eax]
push eax
mov dword [esp + 0x48], eax
call fcn.0045c84f
add esp, 0xc
test eax, eax
jne 0x4abc79
push 0x4320dc
push esi
call fcn.0045c6d7
pop ecx
pop ecx
jmp 0x4abba1
mov eax, dword [esp + 0x24]
cmp byte [eax + 0x2b], 2
jne 0x4abcb8
mov ecx, dword [esp + 0x28]
cmp ecx, 0x41
je 0x4abcda
mov eax, dword [esp + 0x10]
mov edx, 0x43210c
add eax, 8
cmp ecx, 0x21
push eax
mov eax, 0x432104
cmovne eax, edx
push eax
push 0x432114
push esi
call fcn.0045c6d7
add esp, 0x10
jmp 0x4abaec
cmp dword [esp + 0x28], 0x41
jne 0x4abcda
mov eax, dword [esp + 0x10]
add eax, 8
push eax
push 0x43213c
push esi
call fcn.0045c6d7
add esp, 0xc
jmp 0x4abaec
cmp byte [esi + 0xd8], 2
jae 0x4abd6a
mov edx, dword [eax + 0x3c]
mov ecx, edi
call fcn.004a2c91
mov edx, dword [edi + 0x10]
mov ecx, eax
add ecx, ecx
mov dword [esp + 0x30], eax
cmp dword [ebp + 0x20], 0
mov ecx, dword [edx + ecx*8]
mov dword [esp + 0x20], ecx
je 0x4abd0c
mov ecx, dword [edx + 0x10]
cmp eax, dword [esp + 0x1c]
je 0x4abd18
cmp dword [ebp + 0x20], 0
je 0x4abd1c
push 5
jmp 0x4abd1e
push 7
pop edx
push ecx
push dword [esp + 0x40]
mov ecx, esi
push dword [esp + 0x1c]
call fcn.0048fcdf
add esp, 0xc
test eax, eax
jne 0x4abba1
push dword [esp + 0x20]
mov edx, dword [esp + 0x20]
mov ecx, 0x42e984
cmp dword [esp + 0x34], edx
push eax
mov eax, 0x42e790
cmove eax, ecx
mov ecx, esi
push eax
push 0x12
pop edx
call fcn.0048fcdf
add esp, 0xc
test eax, eax
jne 0x4abba1
push 0
push 0x24
mov ecx, edi
call fcn.0045975d
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x40], eax
pop ecx
pop ecx
test eax, eax
je 0x4abba5
mov dword [eax], edx
mov ecx, edi
mov eax, dword [esp + 0x10]
mov edx, dword [eax + 0x10]
call fcn.00459993
mov edx, dword [esp + 0x38]
mov dword [esp + 0x30], eax
push 0x21
mov dword [edx + 4], eax
mov ecx, dword [edi + 0x10]
mov eax, dword [esp + 0x1c]
add eax, eax
cmp dword [esp + 0x2c], 0x41
mov ecx, dword [ecx + eax*8 + 0xc]
mov eax, dword [esp + 0x28]
mov dword [edx + 0x14], ecx
mov ecx, dword [eax + 0x3c]
pop eax
cmovne eax, dword [esp + 0x28]
cmp eax, 0x21
mov dword [edx + 0x18], ecx
mov cl, byte [ebp + 0x10]
setne al
mov byte [edx + 8], cl
inc al
mov byte [edx + 9], al
cmp byte [esi + 0xd8], 2
jb 0x4abdfe
mov eax, dword [esp + 0x10]
mov ecx, esi
mov edx, dword [esp + 0x30]
push dword [eax + 0x10]
call fcn.0048c00f
xor eax, eax
pop ecx
mov dword [esp + 0x34], eax
jmp 0x4abe22
mov eax, dword [esp + 0x34]
test eax, eax
je 0x4abe1d
push 0
push dword [esp + 0x20]
mov edx, eax
mov ecx, edi
call fcn.004861de
pop ecx
pop ecx
mov dword [esp + 0x2c], eax
jmp 0x4abe22
and dword [esp + 0x2c], 0
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x2c]
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ebx
xor ebx, ebx
mov dword [esi + 0xfc], eax
jmp 0x4abbac