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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xb4
push ebx
mov ebx, dword [0x4a09d8]
push esi
push edi
mov edi, eax
mov al, 1
cmp al, byte [ecx + 1]
mov ecx, dword [0x4a13a4]
push 1
push 0
sbb esi, esi
and esi, dword [0x4a09dc]
push 0xffffffffffffffff
push 0x491918
mov dword [esp + 0x90], ebx
mov dword [esp + 0x98], esi
call 0x4b48b0
test ebx, ebx
je 0x480b4b
push 1
push 0
push 0xffffffffffffffff
push 0
mov ecx, ebx
call 0x4b48b0
xor ebx, ebx
cmp esi, ebx
je 0x480b5e
push 1
push ebx
push 0xffffffffffffffff
push ebx
mov ecx, esi
call 0x4b48b0
mov edx, dword [0x49d3c8]
xor eax, eax
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
test byte [edx + 0xc8], 1
jne 0x480bad
lea eax, [esp + 0x70]
push eax
call dword [0x48d604]
push eax
call dword [0x48d454]
test eax, eax
je 0x480f0c
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x74]
add dword [ebp + 8], eax
add dword [ebp + 0xc], ecx
add dword [ebp + 0x10], eax
add dword [ebp + 0x14], ecx
push 0x2e
push edi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x34], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
call 0x4c6bf7
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x480c23
inc esi
push 0x494afc
push esi
call 0x4c4cb6
add esp, 8
test eax, eax
je 0x480c0d
push 0x494b00
push esi
call 0x4c4cb6
add esp, 8
test eax, eax
je 0x480c0d
push 0x494b04
push esi
call 0x4c4cb6
add esp, 8
test eax, eax
jne 0x480c23
mov esi, dword [0x48d4cc]
push 0x31
call esi
push 0x32
mov dword [esp + 0x20], eax
call esi
mov dword [esp + 0x20], eax
mov ebx, edi
mov al, byte [ebx]
cmp al, 0x20
je 0x480c2f
cmp al, 9
jne 0x480c32
inc ebx
jmp 0x480c25
cmp byte [ebx], 0x2a
jne 0x480eca
jmp 0x480c40
movsx ecx, byte [ebx + 1]
inc ebx
push ecx
call 0x4c7f90
add esp, 4
cmp eax, 0x48
je 0x480e02
cmp eax, 0x57
je 0x480d96
push 4
push str.3__
push ebx
call 0x4c5695
add esp, 0xc
test eax, eax
jne 0x480ca7
add ebx, 4
mov eax, ebx
call fcn.0045a270
test al, al
je 0x480c98
push 0x10
push 0
push ebx
call 0x4c6594
add esp, 0xc
mov dword [esp + 0x2c], eax
jmp 0x480e6a
push ebx
call 0x4c6196
mov dword [esp + 0x30], eax
jmp 0x480e67
push 5
push 0x494660
push ebx
call 0x4c5695
add esp, 0xc
test eax, eax
jne 0x480d42
push 0x1f
add ebx, 5
lea edx, [esp + 0xa4]
push ebx
push edx
call 0x4c88e0
add esp, 0xc
mov edi, 0x4918e4
lea eax, [esp + 0xa0]
mov byte [esp + 0xbf], 0
call fcn.00456bf0
test eax, eax
je 0x480cf5
mov byte [eax], 0
lea esi, [esp + 0xa0]
call 0x4b3080
cmp eax, 0xffffffff
jne 0x480d1e
push 0x10
mov eax, esi
push 0
push eax
call 0x4c6594
add esp, 0xc
mov dword [esp + 0x24], eax
jmp 0x480e6a
mov ecx, eax
shr ecx, 8
movzx edx, al
movzx ecx, cl
shl edx, 8
shr eax, 0x10
or ecx, edx
movzx eax, al
shl ecx, 8
or ecx, eax
mov dword [esp + 0x24], ecx
jmp 0x480e6a
mov eax, ebx
call fcn.0045a270
test al, al
je 0x480d60
push 0x10
push 0
push ebx
call 0x4c6594
add esp, 0xc
mov dword [esp + 0x10], eax
jmp 0x480d6d
push ebx
call 0x4c6196
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
jns 0x480d7e
mov dword [esp + 0x10], 0
jmp 0x480e6a
cmp eax, 0xff
jle 0x480e6a
mov dword [esp + 0x10], 0xff
jmp 0x480e6a
lea esi, [ebx + 1]
mov eax, esi
jmp 0x480da0
mov cl, byte [eax]
cmp cl, 0x20
je 0x480dac
cmp cl, 9
jne 0x480daf
inc eax
jmp 0x480da0
mov cl, byte [eax]
test cl, cl
je 0x480df6
cmp cl, 0x2d
je 0x480dbf
cmp cl, 0x2b
jne 0x480dc0
inc eax
cmp byte [eax], 0x30
jne 0x480df6
mov cl, byte [eax + 1]
cmp cl, 0x78
je 0x480dd2
cmp cl, 0x58
jne 0x480df6
movsx ecx, byte [eax + 2]
push ecx
call 0x4c6339
add esp, 4
test eax, eax
je 0x480df6
push 0x10
push 0
push esi
call 0x4c6594
add esp, 0xc
mov dword [esp + 0x1c], eax
jmp 0x480e6a
push esi
call 0x4c6196
mov dword [esp + 0x20], eax
jmp 0x480e67
lea esi, [ebx + 1]
mov eax, esi
mov cl, byte [eax]
cmp cl, 0x20
je 0x480e13
cmp cl, 9
jne 0x480e16
inc eax
jmp 0x480e07
mov cl, byte [eax]
test cl, cl
je 0x480e5d
cmp cl, 0x2d
je 0x480e26
cmp cl, 0x2b
jne 0x480e27
inc eax
cmp byte [eax], 0x30
jne 0x480e5d
mov cl, byte [eax + 1]
cmp cl, 0x78
je 0x480e39
cmp cl, 0x58
jne 0x480e5d
movsx edx, byte [eax + 2]
push edx
call 0x4c6339
add esp, 4
test eax, eax
je 0x480e5d
push 0x10
push 0
push esi
call 0x4c6594
add esp, 0xc
mov dword [esp + 0x20], eax
jmp 0x480e6a
push esi
call 0x4c6196
mov dword [esp + 0x24], eax
add esp, 4
test ebx, ebx
je 0x480f0c
mov dl, byte [ebx]
test dl, dl
je 0x480f0c
lea esp, [esp]
mov ecx, 0x4918e4
mov al, 0x20
cmp dl, al
je 0x480ea9
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x480e87
mov dl, byte [ebx + 1]
inc ebx
test dl, dl
jne 0x480e80
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
lea edi, [ebx + 1]
mov eax, edi
mov edi, edi
mov cl, byte [eax]
cmp cl, 0x20
je 0x480ebc
cmp cl, 9
jne 0x480ebf
inc eax
jmp 0x480eb0
cmp byte [eax], 0x2a
mov ebx, eax
je 0x480c40
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x20]
push 0
push eax
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x40]
push ecx
push edx
push eax
push edi
call 0x4b34c0
mov esi, eax
add esp, 0x18
mov dword [esp + 0x60], esi
test esi, esi
je 0x480f0c
push 0
call dword [0x48d48c]
mov ebx, eax
mov dword [esp + 0x4c], ebx
test ebx, ebx
jne 0x480f1a
push esi
call dword [0x48d0f0]
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov edi, dword [0x48d0f0]
xor eax, eax
cmp dword [esp + 0x38], 1
mov dword [esp + 0x64], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x68], eax
mov byte [esp + 0xd], al
jne 0x480fa6
lea ecx, [esp + 0x8c]
push ecx
push esi
call dword [0x48d46c]
test eax, eax
je 0x480f8f
push 1
lea edx, [esp + 0x12]
push edx
mov edx, dword [esp + 0xa0]
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x48]
push ecx
push edx
mov eax, ebx
call fcn.00480200
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0xb0]
add esp, 0x14
push eax
call edi
mov ecx, dword [esp + 0x98]
push ecx
call edi
push esi
call 0x4b3ce0
mov esi, eax
add esp, 4
mov dword [esp + 0x60], eax
test esi, esi
je 0x480f0c
push 8
lea edx, [esp + 0x12]
push edx
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x48]
push ecx
push esi
mov eax, ebx
call fcn.00480200
add esp, 0x14
mov dword [esp + 0x34], eax
test eax, eax
je 0x481207
mov esi, dword [ebp + 0x10]
mov ebx, dword [ebp + 0x14]
mov edx, dword [esp + 0x4c]
sub esi, dword [ebp + 8]
sub ebx, dword [ebp + 0xc]
push edx
inc esi
inc ebx
call dword [0x48d0b4]
mov edi, eax
mov dword [esp + 0x64], edi
test edi, edi
je 0x481207
mov eax, dword [esp + 0x4c]
push ebx
push esi
push eax
call dword [0x48d0a8]
mov dword [esp + 0x2c], eax
test eax, eax
je 0x481207
mov ecx, eax
push ecx
push edi
call dword [0x48d0d8]
mov dword [esp + 0x68], eax
test eax, eax
je 0x481207
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0x4c]
push 0xcc0020
push edx
push eax
push ecx
push ebx
push esi
push 0
push 0
push edi
call dword [0x48d0a4]
test eax, eax
je 0x481207
push 8
lea edx, [esp + 0x13]
push edx
mov edx, dword [esp + 0x34]
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x34]
push ecx
push edx
mov eax, edi
call fcn.00480200
mov edx, eax
add esp, 0x14
mov dword [esp + 0x20], edx
test edx, edx
je 0x481207
mov ecx, dword [esp + 0x3c]
mov esi, dword [esp + 0x28]
imul ecx, dword [esp + 0x48]
imul esi, dword [esp + 0x58]
cmp byte [esp + 0xe], 0
mov dword [esp + 0x44], ecx
mov dword [esp + 0x50], esi
jne 0x4810a1
cmp byte [esp + 0xf], 0
je 0x4810de
cmp dword [esp + 0x24], 0xffffffff
je 0x4810b0
and dword [esp + 0x24], 0xf8f8f8
xor eax, eax
test esi, esi
jle 0x4810c2
and dword [edx + eax*4], 0xf8f8f8
inc eax
cmp eax, esi
jl 0x4810b6
mov edi, dword [esp + 0x34]
xor eax, eax
test ecx, ecx
jle 0x4810f9
lea esp, [esp]
and dword [edi + eax*4], 0xf8f8f8
inc eax
cmp eax, ecx
jl 0x4810d0
jmp 0x4810e2
mov edi, dword [esp + 0x34]
test ecx, ecx
jle 0x4810f9
lea eax, [edi + 3]
lea esp, [esp]
mov byte [eax], 0
add eax, 4
dec ecx
jne 0x4810f0
mov ebx, dword [esp + 0x10]
cmp ebx, 1
jge 0x481319
test esi, esi
jle 0x481119
lea eax, [edx + 3]
mov ecx, esi
nop
mov byte [eax], 0
add eax, 4
dec ecx
jne 0x481110
xor esi, esi
mov dword [esp + 0x18], esi
cmp dword [esp + 0x50], esi
jle 0x481507
mov ebx, dword [edi]
mov dword [esp + 0x38], ebx
nop
mov eax, dword [esp + 0x20]
lea edi, [esi*4]
cmp dword [edi + eax], ebx
je 0x481157
mov eax, dword [esp + 0x30]
test eax, eax
je 0x48114d
cmp dword [eax], 0
jne 0x481157
cmp ebx, dword [esp + 0x24]
jne 0x481305
mov ecx, dword [esp + 0x28]
mov eax, esi
cdq
idiv ecx
mov esi, dword [esp + 0x58]
sub esi, eax
cmp dword [esp + 0x48], esi
jg 0x481301
sub ecx, edx
cmp dword [esp + 0x3c], ecx
jg 0x481301
mov esi, dword [esp + 0x18]
xor ebx, ebx
mov byte [esp + 0xd], 1
mov dword [esp + 0x1c], ebx
cmp dword [esp + 0x44], ebx
jle 0x48120b
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
sub edx, eax
mov byte [esp + 0xd], 1
mov ecx, esi
mov dword [esp + 0x40], edi
mov dword [esp + 0x54], edx
lea ebx, [ebx]
mov edx, dword [eax]
mov edi, dword [esp + 0x20]
cmp dword [edi + esi*4], edx
je 0x4811d6
cmp dword [esp + 0x30], 0
je 0x4811cc
mov edi, dword [esp + 0x54]
cmp dword [edi + eax], 0
jne 0x4811d6
cmp edx, dword [esp + 0x24]
jne 0x4812f8
inc ebx
cmp ebx, dword [esp + 0x3c]
jge 0x4811e0
inc esi
jmp 0x4811f5
mov edx, dword [esp + 0x28]
lea esi, [edx*4]
add dword [esp + 0x40], esi
xor ebx, ebx
add ecx, edx
mov esi, ecx
mov edx, dword [esp + 0x1c]
inc edx
add eax, 4
mov dword [esp + 0x1c], edx
cmp edx, dword [esp + 0x44]
jl 0x4811b0
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 0x4c]
push edx
push 0
call dword [0x48d5c4]
mov eax, dword [esp + 0x60]
mov ebx, dword [0x48d0f0]
push eax
call ebx
mov edi, dword [esp + 0x64]
test edi, edi
je 0x481244
mov eax, dword [esp + 0x68]
test eax, eax
je 0x48123d
push eax
push edi
call dword [0x48d0d8]
push edi
call dword [0x48d0c8]
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x48124f
push eax
call ebx
mov eax, dword [esp + 0x34]
test eax, eax
je 0x481260
push eax
call 0x4c65bf
add esp, 4
mov eax, dword [esp + 0x30]
test eax, eax
je 0x481271
push eax
call 0x4c65bf
add esp, 4
mov eax, dword [esp + 0x20]
test eax, eax
je 0x481282
push eax
call 0x4c65bf
add esp, 4
cmp byte [esp + 0xd], 0
je 0x480f0c
mov ecx, dword [esp + 0x80]
test ecx, ecx
je 0x4812b4
mov eax, esi
cdq
idiv dword [esp + 0x28]
push 0x18
mov eax, edx
sub eax, dword [esp + 0x74]
add eax, dword [ebp + 8]
cdq
push edx
push eax
mov eax, ecx
call fcn.0044f0d0
mov ecx, dword [esp + 0x88]
test ecx, ecx
je 0x4812d9
mov eax, esi
cdq
idiv dword [esp + 0x28]
push 0x18
sub eax, dword [esp + 0x78]
add eax, dword [ebp + 0xc]
cdq
push edx
push eax
mov eax, ecx
call fcn.0044f0d0
mov ecx, dword [0x4a13a4]
push 1
add dword [edx], ebp
mov ebx, dword [esp + 0x38]
mov byte [esp + 0xd], 0
mov esi, dword [esp + 0x18]
inc esi
mov dword [esp + 0x18], esi
cmp esi, dword [esp + 0x50]
jl 0x481130
jmp 0x481507
xor esi, esi
mov dword [esp + 0x18], esi
cmp dword [esp + 0x50], esi
jle 0x481507
mov ecx, dword [esp + 0x28]
lea ecx, [ecx]
mov eax, esi
cdq
idiv ecx
mov edi, dword [esp + 0x58]
sub edi, eax
cmp dword [esp + 0x48], edi
jg 0x4814f8
mov eax, ecx
sub eax, edx
cmp dword [esp + 0x3c], eax
jg 0x4814f8
xor eax, eax
mov byte [esp + 0xd], 1
mov dword [esp + 0x5c], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x40], esi
cmp dword [esp + 0x44], eax
jle 0x48120b
mov eax, dword [esp + 0x34]
lea ecx, [esi*4]
mov dword [esp + 0x6c], ecx
mov ecx, dword [esp + 0x30]
sub ecx, eax
mov byte [esp + 0xd], 1
mov dword [esp + 0x38], esi
mov edi, eax
mov dword [esp + 0x54], ecx
movzx eax, byte [edi + 2]
mov dl, byte [edi + 1]
cmp ebx, eax
jle 0x4813a6
mov byte [esp + 0xe], 0
jmp 0x4813ae
mov cl, al
sub cl, bl
mov byte [esp + 0xe], cl
movzx edx, dl
mov dword [esp + 0x84], edx
cmp ebx, edx
jle 0x4813c3
mov byte [esp + 0x16], 0
jmp 0x4813d1
mov ebx, dword [esp + 0x10]
mov cl, dl
sub cl, byte [esp + 0x10]
mov byte [esp + 0x16], cl
movzx ecx, byte [edi]
cmp ebx, ecx
jle 0x4813df
mov byte [esp + 0x14], 0
jmp 0x4813f0
mov dl, cl
sub dl, byte [esp + 0x10]
mov byte [esp + 0x14], dl
mov edx, dword [esp + 0x84]
mov ebx, dword [esp + 0x10]
mov esi, 0xff
sub esi, eax
cmp ebx, esi
jle 0x48140a
mov eax, 0xff
mov byte [esp + 0x17], al
jmp 0x481415
add al, bl
mov byte [esp + 0x17], al
mov eax, 0xff
mov esi, eax
sub esi, edx
cmp ebx, esi
jle 0x481423
mov byte [esp + 0x15], al
jmp 0x481429
add dl, bl
mov byte [esp + 0x15], dl
mov edx, eax
sub edx, ecx
cmp ebx, edx
jle 0x481437
mov byte [esp + 0xf], al
jmp 0x48143d
add cl, bl
mov byte [esp + 0xf], cl
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x40]
mov cl, byte [eax + esi*4 + 2]
mov dl, byte [eax + esi*4 + 1]
mov al, byte [eax + esi*4]
cmp cl, byte [esp + 0xe]
jb 0x481474
cmp cl, byte [esp + 0x17]
ja 0x481474
cmp dl, byte [esp + 0x16]
jb 0x481474
cmp dl, byte [esp + 0x15]
ja 0x481474
cmp al, byte [esp + 0x14]
jb 0x481474
cmp al, byte [esp + 0xf]
jbe 0x48148d
cmp dword [esp + 0x30], 0
je 0x481485
mov eax, dword [esp + 0x54]
cmp dword [edi + eax], 0
jne 0x48148d
mov ecx, dword [esp + 0x24]
cmp dword [edi], ecx
jne 0x4814e7
mov eax, dword [esp + 0x5c]
inc eax
mov dword [esp + 0x5c], eax
cmp eax, dword [esp + 0x3c]
jge 0x4814a3
inc esi
mov dword [esp + 0x40], esi
jmp 0x4814c8
mov eax, dword [esp + 0x28]
lea ecx, [eax*4]
add dword [esp + 0x6c], ecx
mov ecx, dword [esp + 0x38]
add ecx, eax
mov dword [esp + 0x5c], 0
mov dword [esp + 0x38], ecx
mov dword [esp + 0x40], ecx
mov eax, dword [esp + 0x1c]
inc eax
add edi, 4
mov dword [esp + 0x1c], eax
cmp eax, dword [esp + 0x44]
jge 0x481207
mov ebx, dword [esp + 0x10]
jmp 0x481394
mov ebx, dword [esp + 0x10]
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x28]
mov byte [esp + 0xd], 0
inc esi
mov dword [esp + 0x18], esi
cmp esi, dword [esp + 0x50]
jl 0x481330
mov ecx, dword [0x4a13a4]
push 1
push 0
push 0xffffffffffffffff
push 0x4916f4
call 0x4b48b0
jmp 0x48120b