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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4ff733
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
push ebx
push esi
push edi
mov eax, dword [0x549350]
xor eax, esp
push eax
lea eax, [esp + 0xb0]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
lea ecx, [esp + 0x18]
mov dword [esp + 0xb8], ebx
call fcn.0041162c
push 0x552d80
push 0x52f304
lea eax, [esp + 0x20]
mov byte [esp + 0xc0], 1
call fcn.0041156c
pop ecx
pop ecx
push dword [esp + 0x18]
call dword [0x50836c]
cmp eax, 0xffffffff
je 0x4b874f
lea ecx, [esp + 0x5c]
call fcn.0041162c
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
lea ecx, [esp + 0x5c]
mov byte [esp + 0xb8], 2
call fcn.0040e3ac
push dword [esp + 0x18]
lea edi, [esp + 0x60]
call fcn.0040e31a
test eax, eax
je 0x4b872c
mov dword [esp + 0x88], ebx
mov dword [esp + 0x84], ebx
lea edi, [esp + 0x84]
lea ecx, [esp + 0x5c]
mov byte [esp + 0xb8], 3
call fcn.0040e1db
mov dword [esp + 0x80], ebx
mov dword [esp + 0x7c], ebx
mov byte [esp + 0xb8], 4
cmp dword [0x553834], ebx
jne 0x4b86fa
lea eax, [esp + 0x7c]
push eax
push 0x530aec
mov ecx, edi
call fcn.00410b67
test eax, eax
je 0x4b86fa
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x48], ebx
lea eax, [esp + 0x48]
lea esi, [esp + 0x7c]
mov byte [esp + 0xb8], 5
call fcn.0041d98b
lea esi, [esp + 0x48]
call fcn.004109d0
mov dword [esp + 0x38], eax
lea eax, [esp + 0x8c]
push eax
call dword [0x50812c]
call dword [0x508140]
push eax
call fcn.004e330a
cmp dword [esp + 0x3c], ebx
pop ecx
mov dword [esp + 0x3c], ebx
jle 0x4b86e4
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], ebx
push dword [esp + 0x3c]
lea edi, [esp + 0x38]
lea ecx, [esp + 0x4c]
mov byte [esp + 0xbc], 6
call fcn.0041093f
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x34]
push eax
call fcn.0041d8fc
mov byte [esp + 0xb8], 7
push 0x530b0c
push dword [esp + 0x14]
call fcn.004df431
test eax, eax
pop ecx
pop ecx
jne 0x4b86b0
push 0x528164
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x38]
call fcn.0041089c
mov byte [esp + 0xb8], 8
mov eax, dword [esp + 0x14]
cmp dword [eax - 0xc], 0xb
jne 0x4b86a8
push ebx
push 0x530b24
lea ecx, [esp + 0x38]
call fcn.004107ea
mov si, ax
cmp si, bx
mov word [esp + 0x6e], si
mov word [esp + 0x70], si
jbe 0x4b86a4
push 0xffffffffffffffff
push 0x530b48
lea ecx, [esp + 0x38]
call fcn.004107ea
mov word [esp + 0x72], ax
lea eax, [esp + 0x50]
push eax
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x60]
push eax
push 0x530b5c
push dword [esp + 0x28]
call fcn.004e33a7
mov eax, dword [esp + 0x70]
sub eax, dword [esp + 0x6c]
mov ecx, 0x5a0
imul eax, eax, 0x3c
sub eax, dword [esp + 0x5c]
add esp, 0x18
add eax, dword [esp + 0x50]
cmp eax, ecx
jg 0x4b86a4
cmp eax, 0xfffffa60
jl 0x4b86a4
cmp eax, ebx
jge 0x4b856a
add eax, ecx
movzx ecx, si
cdq
idiv ecx
cmp si, 1
mov word [esp + 0x6c], ax
jbe 0x4b858e
cmp ax, bx
jne 0x4b858e
mov word [esp + 0x70], 1
mov word [esp + 0x6e], 1
push 0x530b30
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x38]
xor esi, esi
call fcn.0041089c
mov byte [esp + 0xb8], 9
mov eax, dword [esp + 0x40]
cmp dword [eax - 0xc], ebx
jle 0x4b8606
lea ecx, [esp + 0xa2]
push ecx
lea ecx, [esp + 0xa2]
push ecx
lea ecx, [esp + 0xa4]
push ecx
push 0x530b7c
push eax
call fcn.004e33a7
add esp, 0x14
lea ebx, [esp + 0x9c]
lea esi, [esp + 0x8c]
call fcn.00434721
cmp word [esp + 0x72], 0
mov esi, eax
jle 0x4b8604
movsx eax, word [esp + 0x72]
sub eax, esi
mov esi, eax
jns 0x4b8604
xor esi, esi
xor ebx, ebx
call fcn.004e3317
mov dword [esp + 0x1c], eax
movzx eax, word [esp + 0x6c]
fild dword [esp + 0x1c]
mov dword [esp + 0x1c], eax
fild dword [esp + 0x1c]
fmulp st(1)
fdiv qword [0x531f40]
call fcn.004fa970
movzx edx, word [esp + 0x94]
mov ecx, dword [esp + 0x54]
movzx edi, word [esp + 0x96]
sub ecx, edx
sub edx, dword [esp + 0x58]
imul ecx, ecx, 0x3c
imul edx, edx, 0x3c
sub edx, dword [esp + 0x50]
sub ecx, edi
add ecx, dword [esp + 0x44]
add edx, edi
cmp ecx, ebx
jge 0x4b866b
cmp edx, ebx
jge 0x4b8665
xor ecx, ecx
jmp 0x4b866b
add ecx, 0x5a0
imul esi, esi, 0x5a0
add ecx, esi
add ecx, eax
mov ax, word [esp + 0x3c]
mov word [esp + 0x6a], ax
lea eax, [esp + 0x68]
push eax
lea esi, [esp + 0x24]
mov dword [esp + 0x78], ecx
mov word [esp + 0x6c], 1
call fcn.004ba640
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
call fcn.0040d58f
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
call fcn.0040d58f
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
call fcn.0040d58f
mov byte [esp + 0xb8], 5
mov eax, dword [esp + 0x34]
cmp eax, ebx
je 0x4b86d2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
inc dword [esp + 0x3c]
mov eax, dword [esp + 0x3c]
cmp eax, dword [esp + 0x38]
jl 0x4b8461
mov byte [esp + 0xb8], 4
mov eax, dword [esp + 0x4c]
cmp eax, ebx
je 0x4b86fa
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [esp + 0xb8], 3
mov eax, dword [esp + 0x80]
cmp eax, ebx
je 0x4b8713
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [esp + 0xb8], 2
mov eax, dword [esp + 0x88]
cmp eax, ebx
je 0x4b872c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x60]
cmp eax, ebx
je 0x4b873e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x60], ebx
lea esi, [esp + 0x5c]
mov byte [esp + 0xb8], 1
call fcn.00410c02
lea eax, [esp + 0x20]
call fcn.004ba60b
test eax, eax
jbe 0x4b8982
mov esi, dword [ebp + 8]
cmp dword [esi + 0xc0], ebx
jne 0x4b8982
or dword [esp + 0x14], 0xffffffff
push ebx
push ebx
push 1
push ebx
mov dword [esp + 0x48], ebx
call dword [0x5082ac]
mov dword [esi + 0x164], eax
jmp 0x4b8976
lea eax, [esp + 0x20]
or edi, 0xffffffff
mov dword [esp + 0x10], ebx
call fcn.004ba60b
test eax, eax
jbe 0x4b8982
push dword [esp + 0x10]
lea esi, [esp + 0x24]
call fcn.004ba621
cmp word [eax + 6], bx
je 0x4b87e9
push dword [esp + 0x10]
call fcn.004ba621
cmp edi, dword [eax + 0xc]
jbe 0x4b87e9
push dword [esp + 0x10]
call fcn.004ba621
mov edi, dword [eax + 0xc]
mov eax, dword [esp + 0x10]
imul edi, edi, 0xea60
mov dword [esp + 0x38], 1
mov dword [esp + 0x14], eax
inc dword [esp + 0x10]
lea eax, [esp + 0x20]
call fcn.004ba60b
cmp dword [esp + 0x10], eax
jb 0x4b87a6
cmp edi, 0xffffffff
je 0x4b8982
mov esi, dword [ebp + 8]
push edi
push dword [esi + 0x164]
call dword [0x5082b8]
cmp dword [esi + 0xc0], ebx
jne 0x4b8982
push 0x552b78
push 0x52f238
lea eax, [esp + 0x20]
call fcn.0041156c
pop ecx
pop ecx
push dword [esp + 0x18]
call dword [0x50836c]
cmp eax, 0xffffffff
je 0x4b8976
lea ecx, [esp + 0x40]
call fcn.0041162c
cmp dword [esp + 0x38], 1
mov byte [esp + 0xb8], 0xa
jne 0x4b894b
mov edi, dword [esp + 0x14]
push edi
push 0x530b90
lea eax, [esp + 0x48]
call fcn.0041156c
pop ecx
pop ecx
push edi
lea esi, [esp + 0x24]
call fcn.004ba621
add eax, 6
dec word [eax]
push edi
call fcn.004ba621
cmp word [eax + 6], bx
push edi
jbe 0x4b88d2
call fcn.004ba621
cmp word [eax + 0xa], 1
push edi
jge 0x4b88b2
call fcn.004ba621
mov word [eax + 6], bx
jmp 0x4b894b
call fcn.004ba621
movzx eax, word [eax + 4]
push edi
lea esi, [esp + 0x24]
mov dword [esp + 0x20], eax
call fcn.004ba621
mov ecx, dword [esp + 0x1c]
mov dword [eax + 0xc], ecx
jmp 0x4b894b
call fcn.004ba621
cmp word [eax + 0xa], bx
jle 0x4b894b
push edi
lea esi, [esp + 0x24]
call fcn.004ba621
movzx eax, word [eax + 8]
push edi
mov dword [esp + 0x20], eax
call fcn.004ba621
movzx ebx, word [eax + 4]
push dword [esp + 0x14]
imul ebx, dword [esp + 0x20]
call fcn.004ba621
movsx edi, word [eax + 0xa]
push dword [esp + 0x14]
imul edi, edi, 0x5a0
sub edi, ebx
call fcn.004ba621
mov ebx, dword [eax + 0x10]
push dword [esp + 0x14]
add ebx, edi
call fcn.004ba621
push dword [esp + 0x14]
mov dword [eax + 0xc], ebx
call fcn.004ba621
push dword [esp + 0x14]
lea edi, [eax + 8]
call fcn.004ba621
mov cx, word [edi]
mov word [eax + 6], cx
xor ebx, ebx
mov esi, dword [esp + 0x40]
push 1
push ebx
push esi
push dword [esp + 0x24]
push 0x50f7e0
push ebx
call dword [0x508404]
lea eax, [esi - 0x10]
mov byte [esp + 0xb8], 1
call fcn.0040d58f
mov esi, dword [ebp + 8]
cmp dword [esi + 0xc0], ebx
je 0x4b878e
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
call fcn.0040d58f
cmp dword [esp + 0x24], ebx
je 0x4b899e
push dword [esp + 0x24]
call fcn.004df29b
pop ecx
mov ecx, dword [esp + 0xb0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4