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

Disassembly:
push 0xffffffffffffffff
push 0x50d8c9
mov eax, dword fs:[0]
push eax
sub esp, 0xac
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5415a0]
xor eax, esp
push eax
lea eax, [esp + 0xc0]
mov dword fs:[0], eax
mov esi, ecx
mov ebp, dword [esp + 0xd4]
mov edi, dword [esp + 0xd0]
push edi
mov dword [esp + 0xcc], 1
call fcn.00483e50
lea eax, [esp + 0x58]
push eax
call fcn.00477a10
lea ecx, [esp + 0x28]
push ecx
mov byte [esp + 0xcc], 2
call fcn.00477a10
lea edx, [esp + 0x40]
push edx
mov byte [esp + 0xcc], 3
call fcn.00477a10
xor ebx, ebx
lea edx, [esi + ebp]
mov byte [esp + 0xc8], 4
mov dword [esp + 0x1c], edx
cmp ebp, ebx
je 0x484a28
cmp ebp, edx
ja 0x484a28
add ebp, 4
mov eax, dword [ebp - 4]
mov dword [edi + 0x108], eax
je 0x4849c6
cmp ebp, edx
ja 0x4849c6
mov eax, dword [ebp]
cmp eax, ebx
mov dword [edi + 0x104], eax
jl 0x4846cb
cmp eax, esi
jg 0x4846cb
add ebp, 4
lea ecx, [eax + ebp]
mov dword [edi], ebp
mov dword [esp + 0x70], ecx
cmp ecx, ebx
je 0x4846cb
cmp ecx, edx
ja 0x4846cb
mov ecx, dword [ebp]
cmp ecx, ebx
mov dword [esp + 0x74], ecx
lea esi, [eax + ecx]
jl 0x4846cb
add ebp, 4
je 0x4846cb
cmp ebp, edx
ja 0x4846cb
mov edx, dword [ebp]
cmp edx, ebx
mov dword [esp + 0x20], edx
jl 0x4846cb
add ebp, 4
je 0x4846cb
cmp ebp, dword [esp + 0x1c]
ja 0x4846cb
mov eax, dword [ebp]
lea ebx, [eax + edx]
add esi, ebx
mov dword [esp + 0x24], eax
mov dword [esp + 0x18], esi
test eax, eax
jl 0x4846cb
add ebp, 4
mov dword [esp + 0x78], 0
test ecx, ecx
jle 0x4844ec
lea esp, [esp]
mov esi, dword [esp + 0x1c]
lea ecx, [esp + 0x88]
push ecx
call fcn.00477a10
mov byte [esp + 0xc8], 5
test ebp, ebp
je 0x4846bf
cmp ebp, esi
ja 0x4846bf
movsx eax, word [ebp]
cmp eax, 0xffffffff
mov dword [esp + 0x84], eax
jle 0x4846bf
cmp eax, 0x46
jge 0x4846bf
add ebp, 2
je 0x4846bf
cmp ebp, esi
ja 0x4846bf
movsx esi, word [ebp]
lea edx, [esi + eax]
add dword [esp + 0x18], edx
test esi, esi
jl 0x4846bf
add ebp, 2
mov dword [esp + 0x80], 0
test esi, esi
jle 0x484429
test ebp, ebp
je 0x4846bf
cmp ebp, dword [esp + 0x1c]
ja 0x4846bf
movsx eax, word [ebp]
add dword [esp + 0x18], eax
mov dword [esp + 0x7c], eax
cmp eax, 0xb
ja 0x4846bf
lea ebx, [esp + 0x7c]
lea edi, [esp + 0x88]
add ebp, 2
call fcn.00485ad0
mov eax, dword [esp + 0x80]
inc eax
cmp eax, esi
mov dword [esp + 0x80], eax
jl 0x4843dc
test ebp, ebp
je 0x4846bf
mov eax, dword [esp + 0x1c]
cmp ebp, eax
ja 0x4846bf
add ebp, 4
mov esi, dword [ebp - 4]
mov dword [esp + 0xa0], esi
je 0x4846bf
cmp ebp, eax
ja 0x4846bf
add ebp, 4
mov edx, dword [ebp - 4]
mov dword [esp + 0xa4], edx
je 0x4846bf
cmp ebp, eax
ja 0x4846bf
add ebp, 4
mov ecx, dword [ebp - 4]
mov dword [esp + 0xa8], ecx
je 0x4846bf
cmp ebp, eax
ja 0x4846bf
mov eax, dword [ebp]
mov dword [esp + 0xac], eax
add eax, ecx
add eax, edx
add eax, esi
add dword [esp + 0x18], eax
lea eax, [esp + 0x84]
push eax
lea edi, [esp + 0x5c]
add ebp, 4
call fcn.00485e30
lea esi, [esp + 0x84]
mov byte [esp + 0xc8], 4
call fcn.00484b50
mov eax, dword [esp + 0x78]
inc eax
cmp eax, dword [esp + 0x74]
mov dword [esp + 0x78], eax
jl 0x484360
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 0xd0]
xor esi, esi
test edx, edx
jle 0x484598
test ebp, ebp
je 0x4846cb
mov eax, dword [esp + 0x1c]
cmp ebp, eax
ja 0x4846cb
add ebp, 4
mov edi, dword [ebp - 4]
mov dword [esp + 0xb0], edi
je 0x4846cb
cmp ebp, eax
ja 0x4846cb
add ebp, 4
mov edx, dword [ebp - 4]
mov dword [esp + 0xb4], edx
je 0x4846cb
cmp ebp, eax
ja 0x4846cb
add ebp, 4
mov ecx, dword [ebp - 4]
mov dword [esp + 0xb8], ecx
je 0x4846cb
cmp ebp, eax
ja 0x4846cb
mov eax, dword [ebp]
mov dword [esp + 0xbc], eax
add eax, ecx
add eax, edx
add eax, edi
add dword [esp + 0x18], eax
lea ebx, [esp + 0xb0]
lea edi, [esp + 0x28]
add ebp, 4
call fcn.00486100
inc esi
cmp esi, dword [esp + 0x20]
jl 0x4844f6
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 0xd0]
xor esi, esi
test eax, eax
jle 0x4845d9
test ebp, ebp
je 0x4846cb
cmp ebp, dword [esp + 0x1c]
ja 0x4846cb
mov eax, dword [ebp]
add dword [esp + 0x18], eax
lea ebx, [esp + 0x74]
lea edi, [esp + 0x40]
mov dword [esp + 0x74], eax
add ebp, 4
call fcn.004863a0
inc esi
cmp esi, dword [esp + 0x24]
jl 0x48459e
mov edi, dword [esp + 0xd0]
cmp dword [esp + 0x70], ebp
jne 0x4846cb
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x88], esp
push ecx
lea ecx, [esp + 0x10c]
call fcn.004861b0
sub esp, 0x18
mov byte [esp + 0xf8], 6
mov edx, esp
mov dword [esp + 0xa4], esp
push edx
lea ecx, [esp + 0x10c]
call fcn.004861b0
sub esp, 0x18
mov byte [esp + 0x110], 7
mov eax, esp
mov dword [esp + 0xc4], esp
push eax
lea ecx, [esp + 0x8c]
call fcn.004861b0
sub esp, 0x18
mov ecx, esp
mov byte [esp + 0x128], 8
mov dword [esp + 0x80], esp
push ecx
lea ecx, [esp + 0x8c]
call fcn.00485f10
sub esp, 0x18
mov edx, esp
mov dword [esp + 0xf0], esp
push edx
lea ecx, [esp + 0xd4]
mov byte [esp + 0x144], 9
call fcn.00485b40
push edi
mov byte [esp + 0x144], 4
call fcn.004831c0
test al, al
je 0x4846cb
mov dword [edi + 4], ebp
test ebp, ebp
je 0x4849b4
cmp ebp, dword [esp + 0x1c]
ja 0x4849b4
cmp dword [ebp + 4], 0x1335495
je 0x484703
push 0x530668
call fcn.004d6a51
add esp, 4
jmp 0x4846cb
lea esi, [esp + 0x84]
call fcn.00484b50
lea esi, [esp + 0x40]
call fcn.00486440
lea esi, [esp + 0x28]
call fcn.00486440
lea esi, [esp + 0x58]
call fcn.00485c50
lea esi, [esp + 0xd8]
call fcn.00486440
lea esi, [esp + 0xf0]
call fcn.00486440
jmp 0x484b2b
mov eax, dword [ebp]
mov ecx, dword [esp + 0x18]
lea edx, [ecx + eax + 0x1335495]
mov eax, dword [ebp + 8]
test eax, eax
jg 0x484727
push 0x530678
call fcn.004d6a51
add esp, 4
jmp 0x4846cb
mov ecx, dword [ebp + 0xc]
add edx, eax
test ecx, ecx
jl 0x4849a2
mov esi, dword [ebp + 0x10]
test esi, esi
jl 0x4849a2
mov eax, dword [ebp + 0x14]
test eax, eax
jl 0x4849a2
add eax, esi
add eax, ecx
lea esi, [eax + eax*2 + 6]
add esi, esi
add esi, esi
cmp esi, dword [edi + 0x100]
je 0x484770
push 0x5306b0
call fcn.004d6a51
add esp, 4
jmp 0x4846cb
add edx, eax
lea esi, [ebp + 0x18]
mov dword [esp + 0x18], edx
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], 0
test ecx, ecx
jle 0x4847da
test esi, esi
je 0x4846cb
cmp esi, dword [esp + 0x1c]
ja 0x4846cb
mov edi, dword [esp + 0xd0]
add edi, 0x58
lea ebx, [esp + 0x24]
call fcn.004770e0
mov edx, dword [esi + 8]
add edx, dword [esi + 4]
mov eax, dword [esp + 0x20]
add edx, dword [esi]
inc eax
add dword [esp + 0x18], edx
add esi, 0xc
cmp eax, dword [ebp + 0xc]
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], eax
jl 0x484789
mov edi, dword [esp + 0xd0]
mov edx, dword [esp + 0x18]
cmp dword [ebp + 0x10], 0
mov dword [esp + 0x20], 0
jle 0x48483a
test esi, esi
je 0x4846cb
cmp esi, dword [esp + 0x1c]
ja 0x4846cb
mov edi, dword [esp + 0xd0]
add edi, 0x70
lea ebx, [esp + 0x24]
call fcn.004770e0
mov eax, dword [esi + 8]
add eax, dword [esi + 4]
add esi, 0xc
add eax, dword [esi - 0xc]
mov dword [esp + 0x24], esi
add dword [esp + 0x18], eax
mov eax, dword [esp + 0x20]
inc eax
cmp eax, dword [ebp + 0x10]
mov dword [esp + 0x20], eax
jl 0x4847e8
mov edi, dword [esp + 0xd0]
mov edx, dword [esp + 0x18]
cmp dword [ebp + 0x14], 0
mov dword [esp + 0x20], 0
jle 0x48489c
test esi, esi
je 0x4846cb
cmp esi, dword [esp + 0x1c]
ja 0x4846cb
mov edi, dword [esp + 0xd0]
add edi, 0x88
lea ebx, [esp + 0x24]
call fcn.004770e0
mov ecx, dword [esi + 8]
add ecx, dword [esi + 4]
mov eax, dword [esp + 0x20]
add ecx, dword [esi]
inc eax
add dword [esp + 0x18], ecx
add esi, 0xc
cmp eax, dword [ebp + 0x14]
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], eax
jl 0x484848
mov edi, dword [esp + 0xd0]
mov edx, dword [esp + 0x18]
mov eax, dword [edi + 0x100]
mov ecx, dword [edi + 4]
add ecx, eax
cmp esi, ecx
jne 0x4846cb
not edx
cmp edx, dword [edi + 0x108]
jne 0x4846cb
add eax, ebp
mov dword [edi + 8], eax
je 0x484990
cmp eax, dword [esp + 0x1c]
ja 0x484990
mov edx, dword [ebp + 8]
add edx, eax
mov dword [edi + 0xc], edx
mov ecx, dword [edi + 0x20]
sub ecx, dword [edi + 0x1c]
mov eax, 0x2e8ba2e9
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
xor ebp, ebp
add eax, edx
je 0x484956
mov esi, dword [esp + 0xd0]
push ebp
call fcn.00484e90
test eax, eax
jl 0x4846cb
mov ecx, dword [esi + 8]
add ecx, eax
mov dword [esp + 0x70], ecx
je 0x4846cb
cmp ecx, dword [esp + 0x1c]
ja 0x4846cb
lea edi, [esi + 0xd0]
lea ebx, [esp + 0x70]
call fcn.004770e0
push ebp
mov eax, esi
call fcn.00484b80
mov ecx, dword [esi + 0x20]
sub ecx, dword [esi + 0x1c]
mov eax, 0x2e8ba2e9
imul ecx
sar edx, 3
mov ecx, edx
shr ecx, 0x1f
inc ebp
add ecx, edx
cmp ebp, ecx
jb 0x4848fc
lea esi, [esp + 0x40]
call fcn.00486440
lea esi, [esp + 0x28]
call fcn.00486440
lea esi, [esp + 0x58]
call fcn.00485c50
lea esi, [esp + 0xd8]
call fcn.00486440
lea esi, [esp + 0xf0]
call fcn.00486440
mov al, 1
jmp 0x484b2d
push 0x5306c4
call fcn.004d6a51
add esp, 4
jmp 0x4846cb
push 0x53068c
call fcn.004d6a51
add esp, 4
jmp 0x4846cb
push 0x530658
call fcn.004d6a51
add esp, 4
jmp 0x4846cb
mov eax, dword [esp + 0x4c]
cmp eax, ebx
je 0x4849d7
push eax
call fcn.004cf9e5
add esp, 4
mov edx, dword [esp + 0x40]
push edx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
call fcn.004cf9e5
mov eax, dword [esp + 0x38]
add esp, 4
cmp eax, ebx
je 0x484a01
push eax
call fcn.004cf9e5
add esp, 4
mov eax, dword [esp + 0x28]
push eax
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
call fcn.004cf9e5
add esp, 4
lea esi, [esp + 0x58]
call fcn.00485c50
jmp 0x484ab9
mov eax, dword [esp + 0x4c]
cmp eax, ebx
je 0x484a39
push eax
call fcn.004cf9e5
add esp, 4
mov eax, dword [esp + 0x40]
push eax
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
call fcn.004cf9e5
mov eax, dword [esp + 0x38]
add esp, 4
cmp eax, ebx
je 0x484a63
push eax
call fcn.004cf9e5
add esp, 4
mov ecx, dword [esp + 0x28]
push ecx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
call fcn.004cf9e5
mov eax, dword [esp + 0x68]
add esp, 4
cmp eax, ebx
je 0x484aa0
mov edx, dword [esp + 0x70]
mov ecx, dword [esp + 0x68]
push edx
push ecx
call fcn.00487fe0
mov edx, dword [esp + 0x6c]
push edx
call fcn.004cf9e5
add esp, 0xc
mov eax, dword [esp + 0x58]
push eax
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebx
call fcn.004cf9e5
add esp, 4
mov eax, dword [esp + 0xe4]
cmp eax, ebx
je 0x484acd
push eax
call fcn.004cf9e5
add esp, 4
mov ecx, dword [esp + 0xd8]
push ecx
mov dword [esp + 0xe8], ebx
mov dword [esp + 0xec], ebx
mov dword [esp + 0xf0], ebx
call fcn.004cf9e5
mov eax, dword [esp + 0x100]
add esp, 4
cmp eax, ebx
je 0x484b06
push eax
call fcn.004cf9e5
add esp, 4
mov edx, dword [esp + 0xf0]
push edx
mov dword [esp + 0x100], ebx
mov dword [esp + 0x104], ebx
mov dword [esp + 0x108], ebx
call fcn.004cf9e5
add esp, 4
xor al, al
mov ecx, dword [esp + 0xc0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb8
ret 0x38