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

Disassembly:
push 0xffffffffffffffff
push 0x4b0643
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x94
push ebx
push ebp
mov ebp, ecx
push esi
push edi
lea ecx, [esp + 0x28]
call fcn.0040d27d
xor esi, esi
mov dword [esp + 0xac], esi
mov dword [esp + 0x74], esi
mov dword [esp + 0x78], esi
mov dword [esp + 0x88], esi
mov dword [esp + 0x94], esi
push 0x40000
lea ecx, [esp + 0x2c]
mov byte [esp + 0xb0], 1
call fcn.0040d29c
test al, al
je 0x4846d5
push 0x40000
lea ecx, [esp + 0x78]
call fcn.004108a5
test al, al
jne 0x4846f1
lea ecx, [esp + 0x74]
call fcn.004108e1
lea ecx, [esp + 0x28]
call fcn.0040d2da
mov eax, 0x8007000e
jmp 0x484c30
mov eax, dword [esp + 0xb4]
lea ecx, [esp + 0x28]
mov dword [esp + 0x34], eax
call fcn.0040d2eb
mov ecx, dword [esp + 0xb8]
mov dword [esp + 0x20], 0x20
mov dword [esp + 0x88], ecx
lea ecx, [esp + 0x74]
mov dword [esp + 0x24], esi
call fcn.004108f0
mov ebx, dword [esp + 0xc0]
lea edi, [ebp + 0x20]
mov ecx, 0x1000
mov eax, 0x1000100
rep stosd dword es:[edi], eax
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], esi
mov dword [esp + 0x5c], esi
mov dword [esp + 0x60], esi
mov dword [esp + 0x1c], 9
mov dword [esp + 0x14], 0x101
mov dword [esp + 0x68], 0xffffffff
mov byte [esp + 0x13], 0
mov byte [esp + 0x11], 0
mov dword [esp + 0x18], 1
mov edi, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x30]
xor edx, edx
sub edi, ecx
mov ecx, 0x20
sub ecx, eax
xor eax, eax
shr ecx, 3
sub edi, ecx
lea esi, [ebp + 0x18]
sbb edx, eax
mov eax, dword [esp + 0x48]
xor ecx, ecx
add edi, eax
mov eax, dword [esp + 0x38]
adc edx, ecx
mov ecx, dword [esp + 0x3c]
add edi, eax
adc edx, ecx
mov dword [esi], edi
lea ecx, [esp + 0x74]
mov dword [esi + 4], edx
call fcn.00410908
mov ecx, eax
mov dword [esp + 0x70], edx
test ebx, ebx
mov dword [esp + 0x6c], ecx
mov byte [esp + 0x12], 0
je 0x4847f9
cmp edx, dword [ebx + 4]
jb 0x4847f9
ja 0x4847dd
cmp ecx, dword [ebx]
jb 0x4847f9
mov al, byte [ebp + 0x10]
test al, al
je 0x484b80
mov al, byte [esp + 0x11]
test al, al
jne 0x484b80
mov byte [esp + 0x12], 1
mov eax, dword [esp + 0xc4]
test eax, eax
je 0x48487b
mov edi, dword [esp + 0x54]
mov ebx, dword [esp + 0x58]
mov eax, ecx
sub eax, edi
mov edi, edx
sbb edi, ebx
mov dword [esp + 0xa0], edi
jne 0x484845
cmp eax, 0x100000
jae 0x484845
mov eax, dword [esi]
mov edi, dword [esp + 0x5c]
mov ebx, dword [esp + 0x60]
sub eax, edi
mov edi, dword [esi + 4]
sbb edi, ebx
mov dword [esp + 0xa0], edi
jne 0x484845
cmp eax, 0x100000
jb 0x48487b
mov eax, dword [esi + 4]
mov dword [esp + 0x58], edx
mov edx, dword [esi]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0xc4]
mov dword [esp + 0x5c], edx
lea edx, [esp + 0x6c]
mov dword [esp + 0x54], ecx
mov ecx, dword [eax]
push edx
push esi
push eax
call dword [ecx + 0xc]
mov esi, eax
test esi, esi
mov dword [esp + 0x18], esi
jne 0x484ba9
mov eax, dword [esp + 0x20]
mov edi, dword [esp + 0x28]
cmp eax, 8
jb 0x4848d9
cmp edi, dword [esp + 0x2c]
jb 0x4848a5
lea ecx, [esp + 0x28]
call fcn.0040d396
mov edi, dword [esp + 0x28]
mov byte [esp + 0x64], al
mov eax, dword [esp + 0x20]
jmp 0x4848b0
mov cl, byte [edi]
inc edi
mov byte [esp + 0x64], cl
mov dword [esp + 0x28], edi
mov edx, dword [esp + 0x64]
mov esi, dword [esp + 0x24]
mov ecx, 0x20
and edx, 0xff
sub ecx, eax
sub eax, 8
shl edx, cl
mov dword [esp + 0x20], eax
or esi, edx
cmp eax, 8
mov dword [esp + 0x24], esi
jae 0x484888
mov ecx, dword [esp + 0x1c]
mov edx, 1
shl edx, cl
mov ebx, dword [esp + 0x24]
add eax, ecx
mov dword [esp + 0x20], eax
lea esi, [edx - 1]
mov edx, esi
and edx, ebx
shr ebx, cl
mov ecx, dword [esp + 0x48]
cmp ecx, 4
mov dword [esp + 0x24], ebx
ja 0x484b84
mov ebx, 0x20
shl ecx, 3
sub ebx, eax
cmp ebx, ecx
jb 0x484b84
cmp edx, 0x100
jne 0x484a4d
cmp eax, 8
jb 0x48497c
cmp edi, dword [esp + 0x2c]
jb 0x484948
lea ecx, [esp + 0x28]
call fcn.0040d396
mov edi, dword [esp + 0x28]
mov byte [esp + 0x50], al
mov eax, dword [esp + 0x20]
jmp 0x484953
mov dl, byte [edi]
inc edi
mov byte [esp + 0x50], dl
mov dword [esp + 0x28], edi
mov edx, dword [esp + 0x50]
mov ebx, dword [esp + 0x24]
mov ecx, 0x20
and edx, 0xff
sub ecx, eax
sub eax, 8
shl edx, cl
mov dword [esp + 0x20], eax
or ebx, edx
cmp eax, 8
mov dword [esp + 0x24], ebx
jae 0x48492b
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
and esi, edx
add eax, ecx
shr edx, cl
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x48]
cmp edx, 4
ja 0x484b8f
mov ebx, 0x20
shl edx, 3
sub ebx, eax
cmp ebx, edx
jb 0x484b8f
cmp esi, 1
jne 0x4849d0
cmp ecx, 0xd
jae 0x484b8f
mov ebx, dword [esp + 0xc0]
inc ecx
mov dword [esp + 0x1c], ecx
jmp 0x484780
cmp esi, 2
jne 0x484b8f
lea edi, [ebp + 0x6120]
mov ecx, 0x7c0
xor eax, eax
lea edx, [ebp + 0x222]
rep stosd dword es:[edi], eax
mov ecx, edx
mov esi, 0x1eff
xor eax, eax
mov ax, word [ecx]
cmp eax, 0x100
je 0x484a09
mov byte [eax + ebp + 0x6020], 1
add ecx, 2
dec esi
jne 0x4849f5
mov eax, 0x101
mov ecx, edx
mov dl, byte [eax + ebp + 0x6020]
test dl, dl
jne 0x484a26
mov word [ecx], 0x100
inc eax
add ecx, 2
cmp eax, 0x2000
jb 0x484a16
mov edi, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
mov ebx, dword [esp + 0xc0]
mov dword [esp + 0x14], 0x101
jmp 0x484780
mov al, byte [esp + 0x12]
test al, al
jne 0x484b84
mov edi, dword [esp + 0x14]
xor cl, cl
cmp edi, 0x2000
jae 0x484aab
mov esi, dword [esp + 0x68]
test esi, esi
jl 0x484aab
lea eax, [ebp + edi*2 + 0x20]
cmp word [eax], 0x100
je 0x484a88
inc edi
add eax, 2
cmp edi, 0x2000
jb 0x484a73
jmp 0x484aa7
cmp edi, 0x2000
mov dword [esp + 0x14], edi
jae 0x484aab
mov al, byte [esp + 0x13]
mov word [ebp + edi*2 + 0x20], si
mov byte [edi + ebp + 0x4020], al
mov cl, 1
inc edi
mov dword [esp + 0x14], edi
xor esi, esi
cmp edx, 0x100
mov dword [esp + 0x68], edx
mov eax, edx
jb 0x484aed
mov dl, byte [eax + ebp + 0x4020]
mov byte [esi + ebp + 0x6020], dl
xor edx, edx
mov dx, word [ebp + eax*2 + 0x20]
inc esi
mov eax, edx
cmp eax, 0x100
je 0x484b8f
cmp esi, 0x2000
jae 0x484aed
cmp eax, 0x100
jae 0x484abb
cmp eax, 0x100
je 0x484b8f
cmp esi, 0x2000
jae 0x484b8f
mov byte [esi + ebp + 0x6020], al
inc esi
test cl, cl
mov byte [esp + 0x13], al
je 0x484b1b
mov byte [edi + ebp + 0x401f], al
mov ebx, dword [esp + 0xc0]
test ebx, ebx
je 0x484b4a
mov ecx, dword [ebx]
mov edi, dword [esp + 0x6c]
mov eax, dword [ebx + 4]
mov edx, dword [esp + 0x70]
sub ecx, edi
sbb eax, edx
xor edx, edx
cmp edx, eax
jb 0x484b4a
ja 0x484b43
cmp esi, ecx
jbe 0x484b4a
mov byte [esp + 0x11], 1
mov esi, ecx
mov eax, dword [esp + 0x78]
mov edx, dword [esp + 0x74]
mov cl, byte [esi + ebp + 0x601f]
dec esi
mov byte [eax + edx], cl
mov ecx, dword [esp + 0x7c]
inc eax
cmp eax, ecx
mov dword [esp + 0x78], eax
jne 0x484b77
lea ecx, [esp + 0x74]
call fcn.004109dd
mov eax, dword [esp + 0x78]
test esi, esi
jne 0x484b4e
jmp 0x484778
xor edi, edi
jmp 0x484b9a
mov ebx, dword [esp + 0xc0]
xor edi, edi
jmp 0x484b9a
mov ebx, dword [esp + 0xc0]
mov edi, dword [esp + 0x18]
lea ecx, [esp + 0x74]
call fcn.004109c1
mov esi, eax
test esi, esi
je 0x484bbf
lea ecx, [esp + 0x74]
call fcn.004108e1
lea ecx, [esp + 0x28]
call fcn.0040d2da
mov eax, esi
jmp 0x484c30
test edi, edi
jne 0x484c1c
mov al, byte [ebp + 0x10]
test al, al
je 0x484c1c
mov al, byte [esp + 0x11]
test al, al
je 0x484bd7
mov edi, 1
lea ecx, [esp + 0x74]
call fcn.00410908
test ebx, ebx
je 0x484bf6
mov ecx, dword [ebx]
cmp ecx, eax
jne 0x484bf1
mov eax, dword [ebx + 4]
cmp eax, edx
je 0x484bf6
mov edi, 1
mov ecx, dword [esp + 0xbc]
test ecx, ecx
je 0x484c1c
mov edx, dword [ecx]
mov esi, dword [ebp + 0x18]
lea eax, [ebp + 0x18]
cmp edx, esi
jne 0x484c17
mov ecx, dword [ecx + 4]
mov edx, dword [eax + 4]
cmp ecx, edx
je 0x484c1c
mov edi, 1
lea ecx, [esp + 0x74]
call fcn.004108e1
lea ecx, [esp + 0x28]
call fcn.0040d2da
mov eax, edi
mov ecx, dword [esp + 0xa4]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xa0
ret 0x14