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

Disassembly:
mov eax, dword [esp + 0xc]
push ebx
imul eax, eax, 0x15d4
push ebp
mov ebp, dword [esp + 0x10]
push esi
push edi
mov edi, dword [esp + 0x20]
mov edx, edi
imul edi, edi, 0xe8
imul edx, edx, 0x94
add eax, edx
mov edx, dword [ebp + 0x6c]
lea esi, [eax + edx + 0x1ac]
mov eax, dword [esp + 0x14]
add edi, eax
mov ecx, 1
mov dword [edi + 0x28], ecx
mov edx, dword [esi + 0x24]
mov dword [edi + 0x50], edx
mov eax, dword [esi + 0x24]
inc eax
mov ebx, ecx
cmp eax, 5
ja case.default.0x1014138f
jmp dword [eax*4 + 0x101418a0]
push 4
push 0x10228ac4
lea eax, [esp + 0x24]
push eax
call fcn.10154630
mov ecx, ebx
add esp, 0xc
cmp byte [ebp + 0x10], 0
je 0x10141850
cmp dword [ebp], 0
jne 0x101413c6
cmp dword [esp + 0x2c], ecx
jne 0x10141850
mov edx, dword [esp + 0x24]
cmp edx, dword [esp + 0x30]
jge 0x10141898
mov ebp, 3
mov dword [esp + 0x20], ebp
lea ecx, [ecx]
movsx eax, byte [esp + ebp + 0x1c]
add eax, 0xffffffbd
cmp eax, 0xf
ja case.0x101413f8.68
movzx eax, byte [eax + 0x101418cc]
jmp dword [eax*4 + 0x101418b8]
push 4
push 0x10228abc
lea ecx, [esp + 0x24]
push ecx
jmp 0x101413a2
push 4
push 0x10228ab4
lea edx, [esp + 0x24]
push edx
jmp 0x101413a2
push 4
push 0x10228aac
jmp 0x1014139d
push 4
push 0x10228aa4
lea ecx, [esp + 0x24]
push ecx
jmp 0x101413a2
pop edi
pop esi
pop ebp
mov eax, ecx
pop ebx
ret
cmp ebp, dword [esp + 0x28]
jle 0x10141456
mov eax, dword [esi + 0x4c]
mov dword [edi + 0x30], eax
mov eax, dword [esi + 0x5c]
mov dword [edi + 0x3c], eax
jmp case.0x101413f8.68
test edx, edx
jne 0x1014147c
mov eax, dword [esi + 0x4c]
mov dword [esi + 0x84], eax
mov dword [edi + 0x30], eax
mov eax, dword [esi + 0x84]
add eax, ecx
mov dword [edi + 0x3c], eax
add dword [esi + 0x84], ecx
jmp case.0x101413f8.68
mov eax, dword [esi + 0x84]
cmp ebx, ecx
jne 0x101414ca
cmp eax, dword [esi + 0x5c]
jne 0x101414af
mov eax, dword [esi + 0x4c]
mov dword [esi + 0x84], eax
mov dword [edi + 0x30], eax
mov eax, dword [esi + 0x84]
add eax, ecx
mov dword [edi + 0x3c], eax
add dword [esi + 0x84], ecx
mov ebx, ecx
jmp case.0x101413f8.68
mov dword [edi + 0x30], eax
mov eax, dword [esi + 0x84]
add eax, ecx
mov dword [edi + 0x3c], eax
add dword [esi + 0x84], ecx
xor ebx, ebx
jmp case.0x101413f8.68
sub eax, ecx
mov dword [edi + 0x30], eax
mov eax, dword [esi + 0x84]
mov dword [edi + 0x3c], eax
jmp case.0x101413f8.68
cmp ebp, dword [esp + 0x28]
jle 0x101414f4
mov eax, dword [esi + 0x48]
mov dword [edi + 0x2c], eax
mov eax, dword [esi + 0x58]
mov dword [edi + 0x38], eax
jmp case.0x101413f8.68
test edx, edx
jne 0x1014151a
mov eax, dword [esi + 0x48]
mov dword [esi + 0x80], eax
mov dword [edi + 0x2c], eax
mov eax, dword [esi + 0x80]
add eax, ecx
mov dword [edi + 0x38], eax
add dword [esi + 0x80], ecx
jmp case.0x101413f8.68
mov eax, dword [esi + 0x80]
cmp ebx, ecx
jne 0x10141568
cmp eax, dword [esi + 0x58]
jne 0x1014154d
mov eax, dword [esi + 0x48]
mov dword [esi + 0x80], eax
mov dword [edi + 0x2c], eax
mov eax, dword [esi + 0x80]
add eax, ecx
mov dword [edi + 0x38], eax
add dword [esi + 0x80], ecx
mov ebx, ecx
jmp case.0x101413f8.68
mov dword [edi + 0x2c], eax
mov eax, dword [esi + 0x80]
add eax, ecx
mov dword [edi + 0x38], eax
add dword [esi + 0x80], ecx
xor ebx, ebx
jmp case.0x101413f8.68
sub eax, ecx
mov dword [edi + 0x2c], eax
mov eax, dword [esi + 0x80]
mov dword [edi + 0x38], eax
jmp case.0x101413f8.68
cmp ebp, dword [esp + 0x28]
jle 0x10141592
mov eax, dword [esi + 0x44]
mov dword [edi + 0x40], eax
mov eax, dword [esi + 0x54]
mov dword [edi + 0x34], eax
jmp case.0x101413f8.68
test edx, edx
jne 0x101415af
mov eax, dword [esi + 0x44]
mov dword [esi + 0x7c], eax
mov dword [edi + 0x40], eax
mov eax, dword [esi + 0x7c]
add eax, ecx
mov dword [edi + 0x34], eax
add dword [esi + 0x7c], ecx
jmp case.0x101413f8.68
mov eax, dword [esi + 0x7c]
cmp ebx, ecx
jne 0x101415eb
cmp eax, dword [esi + 0x54]
jne 0x101415d6
mov eax, dword [esi + 0x44]
mov dword [esi + 0x7c], eax
mov dword [edi + 0x40], eax
mov eax, dword [esi + 0x7c]
add eax, ecx
mov dword [edi + 0x34], eax
add dword [esi + 0x7c], ecx
mov ebx, ecx
jmp case.0x101413f8.68
mov dword [edi + 0x40], eax
mov eax, dword [esi + 0x7c]
add eax, ecx
mov dword [edi + 0x34], eax
add dword [esi + 0x7c], ecx
xor ebx, ebx
jmp case.0x101413f8.68
sub eax, ecx
mov dword [edi + 0x40], eax
mov eax, dword [esi + 0x7c]
mov dword [edi + 0x34], eax
jmp case.0x101413f8.68
cmp dword [esi + 0x24], ecx
ja 0x101416a2
cmp ebp, dword [esp + 0x28]
jle 0x1014161b
mov eax, dword [esi + 0x50]
mov dword [edi + 0x44], eax
mov eax, dword [esi + 0x60]
mov dword [edi + 0x48], eax
jmp case.0x101413f8.68
test edx, edx
jne 0x10141641
mov eax, dword [esi + 0x50]
mov dword [esi + 0x88], eax
mov dword [edi + 0x44], eax
mov eax, dword [esi + 0x88]
add eax, ecx
mov dword [edi + 0x48], eax
add dword [esi + 0x88], ecx
jmp case.0x101413f8.68
mov eax, dword [esi + 0x88]
cmp ebx, ecx
jne 0x1014168f
cmp eax, dword [esi + 0x60]
jne 0x10141674
mov eax, dword [esi + 0x50]
mov dword [esi + 0x88], eax
mov dword [edi + 0x44], eax
mov eax, dword [esi + 0x88]
add eax, ecx
mov dword [edi + 0x48], eax
add dword [esi + 0x88], ecx
mov ebx, ecx
jmp case.0x101413f8.68
mov dword [edi + 0x44], eax
mov eax, dword [esi + 0x88]
add eax, ecx
mov dword [edi + 0x48], eax
add dword [esi + 0x88], ecx
xor ebx, ebx
jmp case.0x101413f8.68
sub eax, ecx
mov dword [edi + 0x44], eax
mov eax, dword [esi + 0x88]
mov dword [edi + 0x48], eax
jmp case.0x101413f8.68
cmp ebp, dword [esp + 0x28]
jle 0x101416c5
mov eax, dword [esi + 0x64]
mov dword [edi + 0x60], eax
mov eax, dword [esi + 0x6c]
mov dword [edi + 0x68], eax
mov eax, dword [esi + 0x68]
mov dword [edi + 0x64], eax
mov eax, dword [esi + 0x70]
mov dword [edi + 0x6c], eax
jmp case.0x101413f8.68
test edx, edx
jne 0x10141728
mov eax, dword [esi + 0x64]
mov ecx, dword [esi + 0x6c]
mov dword [esi + 0x90], ecx
mov dword [esi + 0x8c], eax
mov dword [edi + 0x60], eax
mov ebp, dword [esi + 0x8c]
mov ecx, dword [esi + 0x74]
mov eax, ebp
cdq
idiv ecx
sub ecx, edx
add ecx, ebp
mov dword [edi + 0x64], ecx
mov edx, dword [esi + 0x90]
mov dword [edi + 0x68], edx
mov ebp, dword [esi + 0x90]
mov ecx, dword [esi + 0x78]
mov eax, ebp
cdq
idiv ecx
mov eax, dword [edi + 0x64]
sub ecx, edx
add ecx, ebp
mov dword [edi + 0x6c], ecx
mov dword [esi + 0x8c], eax
mov ecx, dword [edi + 0x6c]
mov dword [esi + 0x90], ecx
jmp 0x10141830
cmp ebx, ecx
jne 0x101417f4
mov eax, dword [esi + 0x8c]
cmp eax, dword [esi + 0x68]
jl 0x101417b4
mov eax, dword [esi + 0x90]
cmp eax, dword [esi + 0x70]
jl 0x1014176b
mov eax, dword [esi + 0x6c]
mov dword [esi + 0x90], eax
mov dword [edi + 0x68], eax
mov ebx, dword [esi + 0x90]
mov ecx, dword [esi + 0x78]
mov eax, ebx
cdq
idiv ecx
sub ecx, edx
add ecx, ebx
mov ebx, 1
jmp 0x10141782
mov dword [edi + 0x68], eax
mov ebx, dword [esi + 0x90]
mov ecx, dword [esi + 0x78]
mov eax, ebx
cdq
idiv ecx
sub ecx, edx
add ecx, ebx
xor ebx, ebx
mov dword [edi + 0x6c], ecx
mov eax, dword [esi + 0x64]
mov dword [esi + 0x8c], eax
mov dword [esi + 0x90], ecx
mov dword [edi + 0x60], eax
mov ebp, dword [esi + 0x8c]
mov ecx, dword [esi + 0x74]
mov eax, ebp
cdq
idiv ecx
sub ecx, edx
add ecx, ebp
mov dword [edi + 0x64], ecx
mov dword [esi + 0x8c], ecx
jmp 0x10141830
mov dword [edi + 0x60], eax
mov ebx, dword [esi + 0x8c]
mov ecx, dword [esi + 0x74]
mov eax, ebx
cdq
idiv ecx
sub ecx, edx
add ecx, ebx
mov dword [edi + 0x64], ecx
mov ebx, dword [esi + 0x78]
mov dword [esi + 0x8c], ecx
mov ecx, dword [esi + 0x90]
mov eax, ecx
cdq
idiv ebx
sub ecx, edx
sub ecx, ebx
mov dword [edi + 0x68], ecx
mov edx, dword [esi + 0x90]
mov dword [edi + 0x6c], edx
xor ebx, ebx
jmp 0x10141834
mov ecx, dword [esi + 0x8c]
mov ebp, dword [esi + 0x74]
mov eax, ecx
cdq
idiv ebp
sub ecx, edx
sub ecx, ebp
mov dword [edi + 0x60], ecx
mov eax, dword [esi + 0x8c]
mov dword [edi + 0x64], eax
mov ecx, dword [esi + 0x90]
mov ebp, dword [esi + 0x78]
mov eax, ecx
cdq
idiv ebp
sub ecx, edx
sub ecx, ebp
mov dword [edi + 0x68], ecx
mov ecx, dword [esi + 0x90]
mov dword [edi + 0x6c], ecx
mov ebp, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov ecx, 1
sub ebp, ecx
mov dword [esp + 0x20], ebp
jns 0x101413e0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
mov edx, dword [esi + 0x48]
mov dword [edi + 0x2c], edx
mov eax, dword [esi + 0x58]
mov dword [edi + 0x38], eax
mov ecx, dword [esi + 0x4c]
mov dword [edi + 0x30], ecx
mov edx, dword [esi + 0x5c]
mov dword [edi + 0x3c], edx
mov eax, dword [esi + 0x44]
mov dword [edi + 0x40], eax
mov ecx, dword [esi + 0x54]
mov dword [edi + 0x34], ecx
mov edx, dword [esi + 0x50]
mov dword [edi + 0x44], edx
mov eax, dword [esi + 0x60]
mov dword [edi + 0x48], eax
mov ecx, dword [esi + 0x64]
mov dword [edi + 0x60], ecx
mov edx, dword [esi + 0x6c]
mov dword [edi + 0x68], edx
mov eax, dword [esi + 0x68]
mov dword [edi + 0x64], eax
mov ecx, dword [esi + 0x70]
mov dword [edi + 0x6c], ecx
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret