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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4d6c78
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x84
mov eax, dword [0x6d3d64]
push ebx
push ebp
push esi
mov esi, ecx
mov ecx, eax
inc eax
test ecx, ecx
push edi
mov dword [esp + 0x38], 0x6d3d64
mov dword [0x6d3d64], eax
je 0x4827a4
mov al, 1
jmp 0x4827a6
xor al, al
mov byte [esp + 0x3c], al
xor ecx, ecx
test al, al
mov dword [esp + 0x9c], ecx
jne 0x482a97
mov edx, dword [esi + 0x3c]
mov eax, dword [esi + 0x40]
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], eax
mov dword [esp + 0x14], ecx
lea ecx, [ecx]
mov ecx, dword [esp + 0x14]
mov eax, dword [esi + 0x28]
inc ecx
xor edi, edi
cmp eax, edi
mov dword [esp + 0x14], ecx
je 0x4827f5
mov edx, dword [esi + 0x2c]
mov ecx, eax
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], edx
lea eax, [esp + 0x40]
jmp 0x48281e
mov ecx, dword [esi + 0x1c]
mov eax, dword [ecx]
lea edx, [esp + 0x1c]
push edx
lea edx, [esp + 0x1c]
push edx
call dword [eax + 0x21c]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], ecx
lea eax, [esp + 0x48]
mov ebx, dword [eax]
mov edx, dword [eax + 4]
cmp dword [esi + 0x34], edi
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], edx
jne 0x482838
mov dword [esi + 0x44], edi
mov dword [esi + 0x3c], edi
jmp 0x48289c
mov ecx, dword [esi + 0x1c]
mov eax, dword [ecx]
lea edx, [esp + 0x78]
push edx
call dword [eax + 0x8c]
mov edi, dword [esi + 0x34]
mov ebp, dword [esp + 0x78]
lea eax, [edi + ebp - 1]
cdq
idiv edi
mov ecx, eax
mov eax, ebx
cdq
idiv edi
mov dword [esi + 0x44], ecx
mov edi, eax
cmp edi, ecx
jge 0x48286f
cmp ebx, ebp
jl 0x48286b
inc edi
cmp edi, ecx
jl 0x482879
xor edi, edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x44], edi
jmp 0x48289c
cmp edi, 1
jge 0x482883
mov edi, 1
mov eax, dword [esi + 0x3c]
sub ecx, edi
cmp eax, ecx
jle 0x482891
mov dword [esi + 0x3c], ecx
jmp 0x48289c
test eax, eax
jge 0x48289c
mov dword [esi + 0x3c], 0
mov edx, dword [esi + 0x44]
mov ecx, dword [esi + 0x18]
mov eax, dword [ecx]
push 1
push edx
mov edx, dword [esi + 0x3c]
push edi
push edx
push 4
call dword [eax + 0x178]
mov eax, dword [esi + 0x28]
test eax, eax
mov dword [esi + 0x4c], edi
je 0x4828cf
mov ecx, dword [esi + 0x2c]
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], ecx
lea eax, [esp + 0x50]
jmp 0x4828f8
mov ecx, dword [esi + 0x1c]
mov edx, dword [ecx]
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x24]
push eax
call dword [edx + 0x21c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], edx
lea eax, [esp + 0x58]
mov ecx, dword [eax]
mov ebx, dword [eax + 4]
mov eax, dword [esi + 0x38]
xor edi, edi
cmp eax, edi
mov dword [esp + 0x88], ecx
jne 0x482915
mov dword [esi + 0x48], edi
mov dword [esi + 0x40], edi
jmp 0x48297f
mov ecx, dword [esi + 0x1c]
mov edx, dword [ecx]
lea eax, [esp + 0x80]
push eax
call dword [edx + 0x8c]
mov edi, dword [esi + 0x38]
mov ebp, dword [esp + 0x84]
lea eax, [edi + ebp - 1]
cdq
idiv edi
mov ecx, eax
mov eax, ebx
cdq
idiv edi
mov dword [esi + 0x48], ecx
mov edi, eax
cmp edi, ecx
jge 0x482952
cmp ebx, ebp
jl 0x48294e
inc edi
cmp edi, ecx
jl 0x48295c
xor edi, edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x48], edi
jmp 0x48297f
cmp edi, 1
jge 0x482966
mov edi, 1
mov eax, dword [esi + 0x40]
sub ecx, edi
cmp eax, ecx
jle 0x482974
mov dword [esi + 0x40], ecx
jmp 0x48297f
test eax, eax
jge 0x48297f
mov dword [esi + 0x40], 0
mov eax, dword [esi + 0x48]
mov ecx, dword [esi + 0x18]
mov edx, dword [ecx]
push 1
push eax
mov eax, dword [esi + 0x40]
push edi
push eax
push 8
call dword [edx + 0x178]
mov eax, dword [esi + 0x28]
test eax, eax
mov dword [esi + 0x50], edi
je 0x4829b4
mov edx, dword [esi + 0x2c]
mov ecx, eax
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], edx
lea eax, [esp + 0x60]
jmp 0x4829dd
mov ecx, dword [esi + 0x1c]
mov eax, dword [ecx]
lea edx, [esp + 0x2c]
push edx
lea edx, [esp + 0x2c]
push edx
call dword [eax + 0x21c]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], ecx
lea eax, [esp + 0x68]
mov ecx, dword [eax]
cmp ecx, dword [esp + 0x70]
mov eax, dword [eax + 4]
jne 0x4829ec
cmp eax, ebx
je 0x4829f7
cmp dword [esp + 0x14], 5
jl 0x4827d0
mov edx, dword [esi + 0x3c]
mov edi, dword [esp + 0x30]
cmp edi, edx
je 0x482a47
mov al, byte [esi + 0x54]
test al, al
mov eax, dword [esi + 0x28]
je 0x482a2e
test eax, eax
je 0x482a15
lea eax, [esi + 0x20]
jmp 0x482a17
xor eax, eax
mov ecx, dword [esi + 0x1c]
mov ebx, dword [ecx]
sub edi, edx
imul edi, dword [esi + 0x34]
push eax
push 0
push edi
call dword [ebx + 0x18c]
jmp 0x482a47
test eax, eax
je 0x482a37
lea eax, [esi + 0x20]
jmp 0x482a39
xor eax, eax
mov ecx, dword [esi + 0x1c]
mov edx, dword [ecx]
push eax
push 1
call dword [edx + 0x118]
mov edx, dword [esi + 0x40]
mov edi, dword [esp + 0x34]
cmp edi, edx
je 0x482a97
mov al, byte [esi + 0x55]
test al, al
mov eax, dword [esi + 0x28]
je 0x482a7e
test eax, eax
je 0x482a65
lea eax, [esi + 0x20]
jmp 0x482a67
xor eax, eax
mov ecx, dword [esi + 0x1c]
mov ebx, dword [ecx]
sub edi, edx
imul edi, dword [esi + 0x38]
push eax
push edi
push 0
call dword [ebx + 0x18c]
jmp 0x482a97
test eax, eax
je 0x482a87
lea eax, [esi + 0x20]
jmp 0x482a89
xor eax, eax
mov ecx, dword [esi + 0x1c]
mov edx, dword [ecx]
push eax
push 1
call dword [edx + 0x118]
mov eax, dword [0x6d3d64]
mov ecx, dword [esp + 0x94]
dec eax
pop edi
mov dword [0x6d3d64], eax
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret