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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x8c
mov dword [esp + 0x58], eax
mov dword [esp + 0x3c], edx
mov dword [esp + 0x38], ecx
mov ebp, dword [esp + 0xa8]
movzx ebx, byte [esp + 0xb8]
test edx, edx
js 0x6a810c86
mov dword [esp + 0x30], eax
mov edx, dword [esp + 0xc0]
lea eax, [edx + edx*4]
shl eax, 1
xor edx, edx
div dword [esp + 0xbc]
sub eax, 5
cmp eax, 3
ja 0x6a810c3c
mov ecx, dword [eax*4 + 0x6ac52c20]
mov dword [esp + 0x40], ecx
mov ecx, dword [eax*4 + 0x6ac52c30]
mov edx, dword [esp + 0xc8]
lea eax, [edx + edx*4]
shl eax, 1
xor edx, edx
div dword [esp + 0xc4]
cmp eax, 6
je 0x6a810e01
cmp eax, 8
je 0x6a810c9e
cmp eax, 5
je 0x6a810c4b
cmp dword [esp + 0xbc], 2
je 0x6a810e8f
mov dword [esp + 0x5c], 0x6a810504
cmp dword [esp + 0xc4], 2
je 0x6a810fb3
mov dword [esp + 0x44], 0x6a810504
mov ecx, dword [esp + 0xb0]
cmp dword [esp + 0xa0], ecx
je 0x6a810f2d
jb 0x6a810e6e
movzx edi, bl
dec edi
mov dword [esp + 0x34], edi
mov eax, dword [esp + 0xc8]
imul eax, edi
xor edx, edx
div dword [esp + 0xc4]
mov dword [esp + 0x40], eax
mov ebx, eax
mov eax, dword [esp + 0x38]
inc eax
mov dword [esp + 0x60], eax
mov ecx, dword [esp + 0xac]
mov dword [esp + 0x1c], ecx
mov eax, dword [esp + 0xc0]
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], 1
mov edx, dword [esp + 0xb4]
mov dword [esp + 0x10], edx
mov ecx, dword [esp + 0x60]
mov dword [esp + 0xc], ecx
mov eax, dword [esp + 0xbc]
mov dword [esp + 8], eax
mov dword [esp + 4], 1
mov eax, dword [esp + 0x58]
mov dword [esp], eax
mov edx, dword [esp + 0x5c]
call edx
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0xb0]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [esp + 0x40]
mov dword [esp + 0x6c], eax
test eax, eax
jle 0x6a810c2e
mov eax, dword [esp + 0x34]
imul eax, ebp
add eax, dword [esp + 0xb4]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x34]
imul eax, dword [esp + 0x3c]
mov dword [esp + 0x74], eax
imul ebx, ebp
mov dword [esp + 0x70], ebx
mov eax, dword [esp + 0x58]
add eax, dword [esp + 0x3c]
mov dword [esp + 0x64], eax
mov dword [esp + 0x38], 0
mov dword [esp + 0x58], 0
mov edx, dword [esp + 0xb4]
add edx, ebp
mov dword [esp + 0x78], edx
mov eax, dword [esp + 0x34]
inc eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x30], ebp
nop
mov eax, dword [esp + 0x34]
test eax, eax
jle 0x6a810b85
mov eax, dword [esp + 0x78]
mov edx, dword [esp + 0x64]
mov ebx, 1
mov ebp, eax
mov eax, edx
jmp 0x6a810b59
mov ecx, dword [esp + 0xac]
mov dword [esp + 0x1c], ecx
mov edx, dword [esp + 0xc0]
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], 1
mov dword [esp + 0x10], ebp
mov ecx, dword [esp + 0x60]
mov dword [esp + 0xc], ecx
mov edx, dword [esp + 0xbc]
mov dword [esp + 8], edx
mov dword [esp + 4], 1
mov dword [esp], eax
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 0x5c]
call ecx
mov eax, dword [esp + 0x2c]
inc ebx
add eax, dword [esp + 0x3c]
add ebp, dword [esp + 0x30]
cmp dword [esp + 0x34], ebx
jl 0x6a810b85
mov edx, dword [esp + 0x38]
add edx, ebx
cmp edx, dword [esp + 0xa0]
jl 0x6a810afc
mov esi, ebp
sub esi, dword [esp + 0x30]
mov edi, ebp
mov ecx, dword [esp + 0x30]
rep movsb byte es:[edi], byte [esi]
inc ebx
add eax, dword [esp + 0x3c]
add ebp, dword [esp + 0x30]
cmp dword [esp + 0x34], ebx
jge 0x6a810b59
mov eax, dword [esp + 0xac]
test eax, eax
jle 0x6a810bf0
xor ebx, ebx
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0xc4]
mov ebp, dword [esp + 0x7c]
lea esi, [esi]
mov eax, dword [esp + 0x40]
mov dword [esp + 0x1c], eax
mov edx, dword [esp + 0xc8]
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], esi
mov ecx, dword [esp + 0xa4]
add ecx, ebx
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], ebp
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov ecx, dword [esp + 0xb4]
add ecx, ebx
mov dword [esp], ecx
mov ecx, dword [esp + 0x44]
call ecx
inc ebx
cmp ebx, dword [esp + 0xac]
jne 0x6a810ba4
mov edi, dword [esp + 0xb4]
mov esi, dword [esp + 0x68]
mov ecx, dword [esp + 0x30]
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x70]
add dword [esp + 0xa4], eax
inc dword [esp + 0x58]
mov edx, dword [esp + 0x74]
add dword [esp + 0x64], edx
mov eax, dword [esp + 0x34]
add dword [esp + 0x38], eax
mov edx, dword [esp + 0x58]
cmp dword [esp + 0x6c], edx
jne 0x6a810adc
add esp, 0x8c
pop ebx
pop esi
pop edi
pop ebp
ret
xor ecx, ecx
mov dword [esp + 0x40], 0
jmp 0x6a81096c
mov esi, 1
mov edi, 2
mov eax, dword [esp + 0xcc]
test eax, eax
je 0x6a810eaa
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0x6a87ac60
mov dword [esp + 0x44], 2
mov dword [esp + 0x34], 1
jmp 0x6a810cc8
mov eax, dword [esp + 0xa0]
dec eax
imul eax, edx
add eax, dword [esp + 0x58]
mov dword [esp + 0x30], eax
jmp 0x6a810939
mov esi, 4
mov edi, 5
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0x6a87aa18
mov dword [esp + 0x44], 5
mov dword [esp + 0x34], 4
test ecx, ecx
je 0x6a81099c
mov ecx, dword [esp + 0xb0]
cmp dword [esp + 0xa0], ecx
je 0x6a810ecf
mov eax, dword [esp + 0x5c]
test eax, eax
jne 0x6a810e30
mov ecx, dword [esp + 0xb0]
lea eax, [esi + ecx - 1]
cdq
idiv dword [esp + 0x34]
mov dword [esp + 0x50], eax
test eax, eax
jle 0x6a810c2e
mov ecx, dword [esp + 0xb4]
add ecx, ebp
mov dword [esp + 0x4c], ecx
imul edi, dword [esp + 0x3c]
mov dword [esp + 0x64], edi
mov eax, dword [esp + 0x44]
imul eax, ebp
add eax, dword [esp + 0xb4]
mov dword [esp + 0x68], eax
imul esi, ebp
mov dword [esp + 0x54], esi
mov dword [esp + 0x48], 0
mov dword [esp + 0x34], ebp
mov ebx, dword [esp + 0xac]
nop
mov esi, dword [esp + 0x58]
mov ebp, dword [esp + 0x4c]
xor edi, edi
nop
inc edi
mov dword [esp + 0xc], ebx
mov dword [esp + 8], ebp
mov ecx, dword [esp + 0x38]
mov dword [esp + 4], ecx
mov ecx, esi
cmp dword [esp + 0x30], esi
jbe 0x6a810d79
mov ecx, dword [esp + 0x30]
mov dword [esp], ecx
mov eax, dword [esp + 0x40]
call eax
add esi, dword [esp + 0x3c]
add ebp, dword [esp + 0x34]
cmp dword [esp + 0x44], edi
jg 0x6a810d5c
mov dword [esp + 0x10], ebx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0xc], ecx
mov eax, dword [esp + 0xa4]
mov dword [esp + 8], eax
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x4c]
mov dword [esp], edx
mov ecx, dword [esp + 0x60]
call ecx
mov eax, dword [esp + 0x5c]
test eax, eax
jne 0x6a810df0
mov eax, dword [esp + 0x64]
add dword [esp + 0x58], eax
mov edx, dword [esp + 0x54]
add dword [esp + 0xa4], edx
inc dword [esp + 0x48]
mov eax, dword [esp + 0x50]
cmp dword [esp + 0x48], eax
jne 0x6a810d50
add esp, 0x8c
pop ebx
pop esi
pop edi
pop ebp
ret
mov edi, dword [esp + 0xb4]
mov esi, dword [esp + 0x68]
mov ecx, ebx
rep movsb byte es:[edi], byte [esi]
jmp 0x6a810dc0
mov esi, 3
mov edi, 5
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0x6a87ab64
mov dword [esp + 0x44], 5
mov dword [esp + 0x34], 3
jmp 0x6a810cc8
mov eax, dword [esp + 0x30]
cmp dword [esp + 0x58], eax
jae 0x6a810e3e
mov dword [esp + 0x58], eax
mov ecx, dword [esp + 0xac]
mov dword [esp + 0xc], ecx
mov eax, dword [esp + 0xb4]
mov dword [esp + 8], eax
mov ecx, dword [esp + 0x38]
mov dword [esp + 4], ecx
mov eax, dword [esp + 0x58]
mov dword [esp], eax
mov edx, dword [esp + 0x40]
call edx
jmp 0x6a810cf0
dec ebx
mov dword [esp + 0x40], ebx
mov eax, dword [esp + 0xa0]
imul eax, ebx
xor edx, edx
div dword [esp + 0xb0]
mov dword [esp + 0x34], eax
jmp 0x6a810a03
cmp dword [esp + 0xc0], 1
jne 0x6a8109aa
mov dword [esp + 0x5c], 0x6a8104c8
jmp 0x6a8109b2
mov dword [esp + 0x5c], 1
mov dword [esp + 0x60], 0x6a87ac74
mov dword [esp + 0x44], 2
mov dword [esp + 0x34], 1
jmp 0x6a810cc8
mov edx, dword [esp + 0xa0]
test edx, edx
jle 0x6a810c2e
xor esi, esi
mov ebx, dword [esp + 0x58]
mov edi, dword [esp + 0xa4]
mov dword [esp + 0x30], ebp
mov ebp, dword [esp + 0x40]
nop
mov ecx, dword [esp + 0xac]
mov dword [esp + 0xc], ecx
mov dword [esp + 8], edi
mov ecx, dword [esp + 0x38]
mov dword [esp + 4], ecx
mov dword [esp], ebx
call ebp
add ebx, dword [esp + 0x3c]
add edi, dword [esp + 0x30]
inc esi
cmp esi, dword [esp + 0xa0]
jne 0x6a810ef4
add esp, 0x8c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0xa0]
test eax, eax
jle 0x6a810c2e
mov esi, dword [esp + 0x38]
inc esi
xor ebx, ebx
mov edi, dword [esp + 0xa4]
mov dword [esp + 0x30], ebp
mov ebp, esi
mov esi, dword [esp + 0x58]
mov ecx, dword [esp + 0xac]
mov dword [esp + 0x1c], ecx
mov eax, dword [esp + 0xc0]
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], 1
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], ebp
mov edx, dword [esp + 0xbc]
mov dword [esp + 8], edx
mov dword [esp + 4], 1
mov dword [esp], esi
mov ecx, dword [esp + 0x5c]
call ecx
add esi, dword [esp + 0x3c]
add edi, dword [esp + 0x30]
inc ebx
cmp ebx, dword [esp + 0xa0]
jne 0x6a810f54
add esp, 0x8c
pop ebx
pop esi
pop edi
pop ebp
ret
cmp dword [esp + 0xc8], 1
jne 0x6a8109c0
mov eax, dword [esp + 0xcc]
test eax, eax
je 0x6a810fd9
mov dword [esp + 0x44], 0x6a8104c8
jmp 0x6a8109c8
mov dword [esp + 0x44], 0x6a810458
jmp 0x6a8109c8