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

Disassembly:
push 0xffffffffffffffff
push 0x4fb1e0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x9c
push ebx
push ebp
mov ebp, ecx
push esi
mov ecx, dword [esp + 0xc0]
push edi
mov esi, dword [ebp + 0x100]
mov dword [esp + 0x24], 0
inc esi
mov dword [ebp + 0x100], esi
mov eax, dword [ecx]
mov esi, dword [esp + 0xbc]
mov edx, dword [ecx + 4]
mov dword [esp + 0x30], eax
mov eax, dword [ebp + 0x68]
mov edi, dword [esi + 8]
mov ebx, dword [esi + 4]
test eax, eax
mov dword [esp + 0x2c], edi
mov dword [esp + 0x40], ebx
mov dword [esp + 0x34], edx
je 0x4a8a70
xor edx, edx
mov dx, word [eax + 0xe]
mov dword [esp + 0x24], edx
test eax, eax
mov dword [esp + 0x44], 1
je 0x4a8aa4
cmp dword [eax + 4], ebx
mov edx, dword [eax + 8]
jne 0x4a8aa4
cmp edx, edi
jne 0x4a8aa4
mov edi, dword [esp + 0xc8]
mov edx, dword [esp + 0x24]
cmp edi, edx
jne 0x4a8aab
mov edx, dword [esp + 0xd8]
test edx, edx
jne 0x4a8ab3
jmp 0x4a8aab
mov edi, dword [esp + 0xc8]
mov dword [esp + 0x44], 0
test eax, eax
je 0x4a8acb
cmp dword [eax + 4], ebx
mov edx, dword [eax + 8]
jne 0x4a8acb
cmp edx, dword [esp + 0x2c]
jne 0x4a8acb
cmp edi, dword [esp + 0x24]
je 0x4a8ad6
mov eax, dword [esp + 0x2c]
push eax
push ebx
call fcn.00469bc0
mov eax, dword [ebp + 0x68]
test eax, eax
je 0x4a8af3
mov edx, dword [eax + 4]
mov ecx, dword [eax + 8]
cmp edx, ebx
jne 0x4a8af3
cmp ecx, dword [esp + 0x2c]
jne 0x4a8af3
cmp edi, dword [esp + 0x24]
je 0x4a8b3b
lea ebx, [ebp + 8]
lea ecx, [ebx + 0x1c]
call fcn.004a93f0
mov eax, dword [ebx + 0x14]
mov edx, dword [ebx + 0x10]
lea ecx, [ebx + 0xc]
push eax
push edx
call fcn.00492980
mov ecx, ebx
call fcn.004a93b0
lea ebx, [ebp + 0x38]
lea ecx, [ebx + 0x1c]
call fcn.004a93f0
mov eax, dword [ebx + 0x14]
mov edx, dword [ebx + 0x10]
lea ecx, [ebx + 0xc]
push eax
push edx
call fcn.00492980
mov ecx, ebx
call fcn.004a93b0
mov ebx, dword [esp + 0x40]
mov eax, dword [ebp + 0x68]
test eax, eax
jne 0x4a8b52
push 0x428
call fcn.004c3bb1
add esp, 4
mov dword [ebp + 0x68], eax
mov ecx, dword [esp + 0x2c]
mov edx, dword [ebp + 0x68]
push edi
push ecx
push ebx
push edx
call fcn.00468430
mov eax, dword [ebp + 0x68]
push eax
call fcn.00468420
add esp, 0x14
mov ebx, eax
lea ecx, [ebp + 0x6c]
push ebx
call fcn.00464590
cmp edi, 8
ja 0x4a8bab
mov ecx, dword [ebp + 0x84]
mov eax, dword [ebp + 0x68]
mov dword [esp + 0x38], ecx
mov ecx, dword [eax + 0x20]
add eax, 0x28
push ecx
push eax
call fcn.00468960
mov edx, dword [esp + 0x40]
mov dword [ebp + 0x84], eax
push edx
call fcn.00468bf0
add esp, 0xc
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
push edi
push eax
push ecx
call fcn.004683e0
add esp, 0xc
mov edi, eax
lea ecx, [ebp + 0x88]
mov dword [esp + 0x58], edi
push edi
call fcn.00464590
push edi
lea ecx, [ebp + 0xa0]
call fcn.00464590
mov eax, 0xcccccccd
lea edi, [ebp + 0xe8]
mul ebx
shr edx, 3
add edx, ebx
mov ecx, edi
push edx
call fcn.004645c0
xor ebx, ebx
mov ecx, edi
push ebx
call fcn.00464590
mov eax, dword [esp + 0xe0]
mov dword [ebp + 0xf8], ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x38], ebx
mov ebx, dword [esp + 0xdc]
cmp eax, 1
mov dword [esp + 0x3c], ebx
jne 0x4a8c35
mov dword [esp + 0x3c], 0
mov ebx, dword [esp + 0x3c]
mov eax, dword [esp + 0xc8]
mov ecx, dword [esp + 0x24]
cmp ecx, eax
je 0x4a8cdf
cmp eax, 8
ja 0x4a8cdf
mov eax, dword [ebp + 0x68]
mov dword [esp + 0x38], ebx
mov ecx, dword [eax + 0x20]
add eax, 0x28
lea edx, [ecx*4]
lea ecx, [esp + 0x7c]
push edx
push eax
call fcn.004644b0
lea ecx, [ebp + 0xb8]
push ebx
push ecx
push eax
mov dword [esp + 0xc0], 0
call fcn.0048b6a0
add esp, 0xc
lea ecx, [esp + 0x7c]
mov dword [esp + 0xb4], 0xffffffff
call fcn.004644e0
xor eax, eax
lea edx, [esp + 0x14]
mov word [esp + 0x14], ax
mov word [esp + 0x16], ax
mov eax, dword [ebp + 0xc4]
mov ecx, ebp
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0xbc]
push eax
push edx
push edi
mov byte [esp + 0x24], 1
mov byte [esp + 0x25], bl
mov dword [esp + 0x1c], eax
call fcn.004a8870
mov dword [esp + 0x28], 1
mov eax, dword [ebp]
xor ecx, ecx
cmp eax, ecx
je 0x4a8d2a
mov eax, dword [ebp + 0x18]
cmp eax, ecx
je 0x4a8cfc
mov edx, dword [ebp + 0x1c]
sub edx, eax
test edx, 0xffffffe0
jne 0x4a8d2a
lea eax, [esp + 0x14]
push ecx
mov word [esp + 0x18], cx
mov word [esp + 0x1a], cx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x14], ecx
push eax
push edi
mov ecx, ebp
mov byte [esp + 0x24], 4
mov byte [esp + 0x25], 0
call fcn.004a8870
inc dword [esp + 0x28]
mov ebx, dword [esp + 0xcc]
xor eax, eax
cmp ebx, eax
jne 0x4a8d66
mov ecx, dword [ebp + 0x144]
mov edx, dword [esp + 0xd0]
cmp ecx, edx
jne 0x4a8d66
mov edx, dword [ebp + 0x148]
mov ecx, dword [esp + 0xd4]
cmp edx, ecx
jne 0x4a8d66
cmp dword [ebp + 0x100], 1
jne 0x4a8eb0
mov cx, word [esp + 0xd0]
mov dx, word [esp + 0xd4]
or edi, 0xffffffff
cmp ebx, eax
mov dword [esp + 0x24], edi
mov word [esp + 0x14], cx
mov word [esp + 0x16], dx
mov byte [esp + 0x18], 5
mov dword [esp + 0x1c], eax
mov dword [esp + 0x10], eax
je 0x4a8e7a
lea esi, [ebp + 0xd0]
push ebx
push esi
mov ecx, ebp
call fcn.004a8970
mov eax, dword [ebp + 4]
test eax, eax
je 0x4a8dbf
push esi
lea ecx, [ebp + 0x38]
call fcn.00491e80
mov dword [esp + 0x24], eax
cmp dword [esp + 0x24], edi
je 0x4a8ddc
lea eax, [esp + 0x24]
mov byte [esp + 0x19], 0x40
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], 4
jmp 0x4a8e0d
mov edx, dword [esp + 0x38]
mov cl, byte [esp + 0x3c]
lea eax, [ebp + 0xb8]
push edx
push eax
push esi
mov byte [esp + 0x25], cl
call fcn.0048b6a0
mov ecx, dword [ebp + 0xbc]
mov eax, dword [ebp + 0xc4]
add esp, 0xc
mov dword [esp + 0x10], ecx
mov dword [esp + 0x1c], eax
mov edx, dword [ebx]
mov edi, dword [ebp + 0x10c]
mov dword [ebp + 0x104], edx
mov eax, dword [ebx + 4]
mov dword [ebp + 0x108], eax
mov esi, dword [ebx + 8]
mov ecx, 0x10a
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebx + 0x24]
mov edi, dword [ebp + 0x128]
mov ecx, 0x10a
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebx + 0x18]
lea esi, [ebp + 0x110]
push eax
mov ecx, esi
call fcn.00464590
mov eax, dword [ebx + 0x18]
mov ecx, dword [ebx + 0x10]
mov esi, dword [esi + 4]
push eax
push ecx
push esi
call fcn.004c3020
add ebx, 0x28
lea ecx, [ebp + 0x12c]
push ebx
push ecx
call fcn.00493060
mov esi, dword [esp + 0xd0]
add esp, 0x14
mov edx, dword [esp + 0xd0]
mov eax, dword [esp + 0xd4]
mov ecx, dword [esp + 0x10]
mov dword [ebp + 0x144], edx
mov dword [ebp + 0x148], eax
lea edx, [esp + 0x14]
push ecx
lea eax, [ebp + 0xe8]
push edx
push eax
mov ecx, ebp
call fcn.004a8870
inc dword [esp + 0x28]
mov eax, dword [esp + 0xc4]
add eax, 8
mov dword [esp + 0x54], eax
mov eax, dword [eax + 0xc]
neg eax
sbb eax, eax
mov dword [esp + 0x50], eax
jmp 0x4a8ed6
mov eax, dword [esp + 0x50]
mov esi, dword [esp + 0xbc]
test eax, eax
je 0x4a925c
lea ecx, [esp + 0x24]
lea edx, [esp + 0x48]
push ecx
mov ecx, dword [esp + 0x58]
lea eax, [esp + 0x54]
push edx
push eax
call fcn.004362b0
mov ecx, dword [ebp + 0x94]
mov edi, dword [ebp + 0x8c]
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
xor edx, edx
and ecx, 3
push edx
rep stosb byte es:[edi], al
mov eax, dword [ebp + 0x68]
push edx
mov ebx, dword [esp + 0x54]
xor ecx, ecx
mov edi, dword [eax + 0x20]
add eax, 0x28
push edi
push eax
mov eax, dword [ebp + 0x84]
mov edi, dword [esp + 0x44]
push 0x1000
push eax
mov eax, dword [esi + 0x20]
push eax
lea eax, [esi + 0x28]
push eax
mov eax, dword [esp + 0x50]
push edi
push eax
push ebx
mov ebx, dword [esp + 0x74]
push ebx
xor ebx, ebx
mov bx, word [esi + 0xe]
mov esi, dword [esp + 0x5c]
push ebx
push esi
mov esi, dword [esp + 0x78]
push esi
mov esi, dword [esp + 0xfc]
push esi
push edx
mov edx, dword [ebp + 0x8c]
push ecx
mov ecx, dword [esp + 0x110]
push ecx
push edi
push eax
push edx
call fcn.00468dc0
mov ebx, dword [esp + 0x94]
mov eax, dword [esp + 0x9c]
add esp, 0x58
or ebx, 0x40
test eax, eax
je 0x4a9026
mov ecx, dword [ebp + 0xac]
mov edi, dword [ebp + 0xa4]
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
mov edx, dword [esp + 0x34]
and ecx, 3
mov esi, dword [esp + 0x30]
rep stosb byte es:[edi], al
xor ecx, ecx
mov edi, dword [esp + 0x2c]
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push edx
mov edx, dword [esp + 0x70]
push esi
push edx
mov edx, dword [esp + 0x74]
xor eax, eax
push edx
mov edx, dword [esp + 0xf8]
push edx
push edi
mov edi, dword [esp + 0x78]
push edi
mov edi, dword [ebp + 0x70]
push edi
push ecx
mov ecx, dword [ebp + 0xa4]
push eax
mov eax, dword [esp + 0x7c]
push edx
push eax
push esi
push ecx
call fcn.00468dc0
mov edx, dword [esp + 0xb0]
mov ecx, dword [ebp + 0x8c]
mov eax, dword [ebp + 0xa4]
push edx
push ecx
push eax
push eax
call fcn.004682e0
add esp, 0x68
test eax, eax
je 0x4a8ecb
mov eax, dword [ebp]
mov dword [esp + 0x38], 0xffffffff
test eax, eax
je 0x4a9074
lea eax, [ebp + 0x88]
lea ecx, [ebp + 8]
push eax
call fcn.00491e80
cmp eax, 0xffffffff
mov dword [esp + 0x38], eax
je 0x4a9074
mov esi, dword [esp + 0x34]
mov edi, dword [esp + 0x30]
lea eax, [esp + 0x38]
mov byte [esp + 0x18], 3
mov byte [esp + 0x19], 0
mov dword [esp + 0x1c], 4
mov dword [esp + 0x10], eax
jmp 0x4a91d7
mov eax, dword [esp + 0x44]
test eax, eax
je 0x4a90a7
mov edx, dword [esp + 0xc8]
mov esi, dword [esp + 0x34]
mov edi, dword [esp + 0x30]
mov eax, dword [ebp + 0xa4]
lea ecx, [ebp + 0xd0]
push ecx
push ebx
push edx
push esi
push edi
push eax
call fcn.004930d0
add esp, 0x18
jmp 0x4a90af
mov esi, dword [esp + 0x34]
mov edi, dword [esp + 0x30]
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0xc8]
lea ecx, [ebp + 0xb8]
push ecx
mov ecx, dword [ebp + 0x8c]
push edx
push eax
push esi
push edi
push ecx
call fcn.004930d0
mov eax, dword [esp + 0x5c]
mov edx, dword [esp + 0x54]
add esp, 0x18
test eax, eax
je 0x4a9186
test edx, edx
je 0x4a915b
mov eax, dword [ebp + 0xdc]
mov ecx, dword [ebp + 0x94]
cmp ecx, eax
jae 0x4a9127
mov eax, dword [ebp + 0xc4]
cmp ecx, eax
jae 0x4a9117
mov eax, dword [ebp + 0x8c]
mov byte [esp + 0x19], 0
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x10], eax
jmp 0x4a9157
mov ecx, dword [ebp + 0xbc]
mov byte [esp + 0x19], dl
mov dword [esp + 0x1c], eax
jmp 0x4a9153
mov ecx, dword [ebp + 0xc4]
cmp ecx, eax
jae 0x4a9145
mov eax, dword [ebp + 0xbc]
mov byte [esp + 0x19], dl
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x10], eax
jmp 0x4a9157
mov ecx, dword [ebp + 0xd4]
mov byte [esp + 0x19], bl
mov dword [esp + 0x1c], eax
mov dword [esp + 0x10], ecx
test edx, edx
jne 0x4a91d2
mov edx, dword [ebp + 0xc4]
mov eax, dword [ebp + 0xdc]
cmp edx, eax
jb 0x4a91b9
mov edx, dword [ebp + 0xac]
mov eax, dword [ebp + 0xa4]
mov byte [esp + 0x19], 0x40
mov dword [esp + 0x1c], edx
mov dword [esp + 0x10], eax
jmp 0x4a91d2
test edx, edx
je 0x4a91b9
mov eax, dword [ebp + 0xc4]
mov ecx, dword [ebp + 0x94]
cmp ecx, eax
jae 0x4a91a5
mov byte [esp + 0x19], 0
mov dword [esp + 0x1c], ecx
jmp 0x4a91c8
mov byte [esp + 0x19], dl
mov edx, dword [ebp + 0xbc]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x10], edx
jmp 0x4a91d2
mov eax, dword [ebp + 0x94]
mov byte [esp + 0x19], 0
mov dword [esp + 0x1c], eax
mov ecx, dword [ebp + 0x8c]
mov dword [esp + 0x10], ecx
mov byte [esp + 0x18], 2
mov dx, word [esp + 0x48]
mov ax, word [esp + 0x4c]
mov ecx, dword [esp + 0x10]
mov word [esp + 0x14], dx
mov word [esp + 0x16], ax
lea edx, [esp + 0x14]
push ecx
lea eax, [ebp + 0xe8]
push edx
push eax
mov ecx, ebp
call fcn.004a8870
xor ecx, ecx
xor eax, eax
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push esi
push edi
mov edx, dword [esp + 0x74]
push ecx
mov ecx, dword [ebp + 0x8c]
push eax
mov eax, dword [esp + 0xf8]
mov ebx, dword [esp + 0x58]
push eax
push esi
push edi
push ecx
mov ecx, dword [esp + 0x88]
push edx
mov edx, dword [esp + 0x70]
push ecx
mov ecx, dword [ebp + 0x70]
push eax
mov eax, dword [esp + 0x8c]
push edx
inc ebx
push eax
push ecx
mov dword [esp + 0x80], ebx
call fcn.00468dc0
add esp, 0x58
jmp 0x4a8ecb
mov eax, dword [esp + 0xe0]
mov byte [esp + 0x23], 0
cmp eax, 1
jne 0x4a930d
mov ecx, dword [ebp + 0xf4]
test ecx, ecx
jbe 0x4a930d
mov eax, dword [ebp + 0xec]
push ecx
push eax
lea ecx, [esp + 0x9c]
call fcn.004644b0
mov ebx, dword [esp + 0xdc]
lea edx, [ebp + 0xb8]
push ebx
push edx
push eax
mov dword [esp + 0xc0], 1
call fcn.0048b6a0
add esp, 0xc
lea ecx, [esp + 0x94]
mov dword [esp + 0xb4], 0xffffffff
call fcn.004644e0
mov ecx, dword [ebp + 0xc4]
mov eax, dword [ebp + 0xf4]
cmp ecx, eax
jae 0x4a930d
mov esi, dword [ebp + 0xbc]
mov edi, dword [ebp + 0xec]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp + 0xc4]
push ecx
lea ecx, [ebp + 0xe8]
call fcn.00464590
mov byte [esp + 0x23], bl
mov ax, word [esp + 0x2c]
mov dx, word [esp + 0x40]
mov cl, byte [esp + 0xc8]
mov esi, dword [esp + 0xe4]
mov word [esp + 0x62], ax
mov ax, word [esp + 0x30]
mov word [esp + 0x6c], ax
mov al, byte [esp + 0x23]
mov word [esp + 0x60], dx
mov edx, dword [esp + 0x28]
mov byte [esp + 0x64], cl
mov cx, word [esp + 0x34]
mov byte [esp + 0x74], al
mov dword [esp + 0x68], edx
mov edx, dword [ebp + 0x100]
xor eax, eax
mov word [esp + 0x6e], cx
push eax
mov ecx, esi
mov dword [esp + 0x60], 0x53535a58
mov dword [esp + 0x74], edx
mov dword [esp + 0x7c], eax
mov dword [esi + 0x10], eax
call fcn.00464590
mov ecx, dword [ebp + 0xf4]
mov edx, dword [ebp + 0xec]
push ecx
lea eax, [esp + 0x60]
push edx
push eax
push esi
mov ecx, ebp
call fcn.004a88d0
mov ecx, dword [esp + 0xac]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xa8
ret 0x2c