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

Disassembly:
jmp 0x1014bb10
sub esp, 0x58
push ebx
push ebp
mov ebp, dword [esp + 0x6c]
push esi
mov esi, dword [esp + 0x6c]
push edi
mov edi, dword [esp + 0x6c]
push ebp
xor eax, eax
push esi
push edi
mov dword [esp + 0x4c], eax
mov dword [esp + 0x30], eax
call fcn.100d92c6
add esp, 0xc
cmp dword [edi + 4], 0x71028338
mov ebx, esi
mov dword [esp + 0x38], ebx
jne 0x1014bc5d
movzx esi, word [edi + 0x18]
mov dword [esp + 0x58], esi
test esi, esi
je 0x1014bc5d
cmp word [edi + 0x14], 0
jne 0x1014bb70
mov ax, word [edi + 0x12]
imul ax, word [edi + 0xa]
movzx eax, ax
jmp 0x1014bb74
movzx eax, word [edi + 0xa]
xor edx, edx
mov dword [esp + 0x14], eax
test ax, ax
mov eax, ebp
je 0x1014bb94
movsx ecx, word [esp + 0x14]
div ecx
xor edx, edx
div esi
mov ebp, eax
mov dword [esp + 0x34], ebp
jmp 0x1014bb9c
div esi
mov ebp, eax
mov dword [esp + 0x34], eax
mov edx, dword [esp + 0x84]
test edx, edx
jne 0x1014bc38
lea edx, [esp + 0x18]
push edx
call fcn.100dbb61
movzx eax, ax
add esp, 4
mov dword [esp + 0x24], eax
test ax, ax
jne 0x1014c3fd
mov edx, dword [esp + 0x84]
mov ax, word [esp + 0x78]
mov dword [esp + 0x20], 1
test ax, ax
jbe 0x1014bc3e
movzx ecx, ax
cmp ecx, esi
mov dword [esp + 0x70], ecx
jge 0x1014bc3e
mov ax, word [esp + 0x7c]
test ax, ax
jbe 0x1014bc3e
movzx eax, ax
cmp eax, ebp
mov dword [esp + 0x5c], eax
jge 0x1014bc3e
fild dword [esp + 0x58]
mov dword [esp + 0x2c], eax
mov edx, 1
mov esi, ecx
fidiv dword [esp + 0x70]
xor eax, eax
mov word [edi + 0x1a], si
mov word [edi + 8], ax
mov dword [esp + 0x48], edx
mov dword [esp + 0x40], edx
fstp qword [esp + 0x50]
fild dword [esp + 0x34]
fidiv dword [esp + 0x5c]
fstp qword [esp + 0x5c]
jmp 0x1014bc89
mov dword [esp + 0x18], edx
jmp 0x1014bbcf
movzx eax, word [edi + 8]
mov dword [esp + 0x3c], eax
cmp ax, 1
jae 0x1014bc6a
test edx, edx
jne 0x1014bc5d
mov ecx, dword [esp + 0x18]
push ecx
call fcn.100db8dc
add esp, 4
pop edi
pop esi
pop ebp
mov eax, 2
pop ebx
add esp, 0x58
ret
movzx ecx, ax
mov eax, ebp
cdq
idiv ecx
movzx esi, word [edi + 0x1a]
mov edx, ecx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x2c], eax
mov eax, ecx
imul eax, ecx
mov dword [esp + 0x50], eax
cmp word [edi + 0x14], 0
mov dword [esp + 0x70], esi
jne 0x1014bca7
movzx ebp, word [edi + 0x12]
mov eax, ebp
imul eax, edx
mov dword [esp + 0x20], ebp
mov dword [esp + 0x48], eax
jmp 0x1014bcab
mov ebp, dword [esp + 0x20]
movsx ecx, word [esp + 0x14]
movzx eax, word [edi + 0x18]
imul eax, ecx
cmp word [edi + 0x48], 0
mov dword [esp + 0x4c], eax
je 0x1014bccc
add eax, 3
and eax, 0xfffffffc
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 0x18]
mov eax, esi
imul eax, ebp
add eax, eax
add eax, eax
push eax
push ecx
mov dword [esp + 0x6c], eax
call fcn.100de77b
add esp, 8
mov dword [esp + 0x10], eax
test eax, eax
jne 0x1014bd13
cmp dword [esp + 0x84], 0
jne 0x1014bd06
mov edx, dword [esp + 0x18]
push edx
call fcn.100db8dc
add esp, 4
pop edi
pop esi
pop ebp
mov eax, 0x66
pop ebx
add esp, 0x58
ret
cmp dword [esp + 0x40], 0
je 0x1014be0f
mov edi, dword [esp + 0x70]
mov eax, dword [esp + 0x18]
add edi, edi
add edi, edi
push edi
push eax
call fcn.100de77b
mov edx, dword [esp + 0x20]
lea ecx, [edi + 4]
push ecx
mov esi, eax
push edx
mov dword [esp + 0x38], esi
call fcn.100de77b
mov edx, dword [esp + 0x28]
mov ebp, eax
mov eax, dword [esp + 0x3c]
lea ecx, [eax*4 + 4]
push ecx
push edx
mov dword [esp + 0x48], ebp
call fcn.100de77b
add esp, 0x18
mov dword [esp + 0x44], eax
test esi, esi
je 0x1014bde7
test ebp, ebp
je 0x1014bde7
test eax, eax
je 0x1014bde7
xor esi, esi
cmp dword [esp + 0x70], esi
mov dword [esp + 0x1c], esi
jle 0x1014bda0
fld qword [esp + 0x50]
fild dword [esp + 0x1c]
fmul st(1)
call fcn.100dcc82
mov dword [ebp + esi*4], eax
inc esi
cmp esi, dword [esp + 0x70]
mov dword [esp + 0x1c], esi
jl 0x1014bd84
fstp st(0)
mov eax, dword [esp + 0x58]
xor esi, esi
cmp dword [esp + 0x2c], esi
mov dword [edi + ebp], eax
mov dword [esp + 0x1c], esi
jle 0x1014bdd6
fld qword [esp + 0x5c]
mov edi, dword [esp + 0x44]
fild dword [esp + 0x1c]
fmul st(1)
call fcn.100dcc82
mov dword [edi + esi*4], eax
inc esi
cmp esi, dword [esp + 0x2c]
mov dword [esp + 0x1c], esi
jl 0x1014bdbb
fstp st(0)
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x2c]
mov dword [edx + eax*4], ecx
jmp 0x1014be13
cmp dword [esp + 0x84], 0
jne 0x1014bd06
mov ecx, dword [esp + 0x18]
push ecx
call fcn.100db8dc
add esp, 4
pop edi
pop esi
pop ebp
mov eax, 0x66
pop ebx
add esp, 0x58
ret
mov ebp, dword [esp + 0x30]
cmp dword [esp + 0x2c], 0
mov dword [esp + 0x1c], 0
jle 0x1014c3e1
mov esi, dword [esp + 0x6c]
jmp 0x1014be34
mov ebp, dword [esp + 0x30]
mov edx, dword [esp + 0x64]
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x70]
push edx
push 0
push eax
call fcn.100dc309
add esp, 0xc
cmp dword [esp + 0x40], 0
je 0x1014c114
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x1c]
mov eax, dword [edx + ecx*4 + 4]
sub eax, dword [edx + ecx*4]
mov edx, dword [esp + 0x28]
lea ecx, [edi*4]
push ecx
push 0
push edx
mov dword [esp + 0x68], eax
call fcn.100dc309
add esp, 0xc
cmp dword [esp + 0x5c], 0
mov dword [esp + 0x34], 0
jle 0x1014bff5
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
cmp eax, 1
jne 0x1014bf60
cmp cx, ax
jne 0x1014bf03
xor esi, esi
test edi, edi
jle 0x1014bfd2
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x28]
mov edi, dword [esp + 0x70]
sub ecx, ebp
mov eax, ebp
sub edx, ebp
mov dword [esp + 0x58], edi
lea ebx, [ebx]
mov edi, dword [eax + 4]
sub edi, dword [eax]
test edi, edi
jle 0x1014bef4
lea esp, [esp]
movzx ebp, byte [esi + ebx]
add dword [ecx + eax], ebp
inc dword [edx + eax]
inc esi
sub edi, 1
jne 0x1014bee0
mov ebp, dword [esp + 0x30]
add eax, 4
sub dword [esp + 0x58], 1
jne 0x1014bed0
jmp 0x1014bfd2
cmp cx, 2
jne 0x1014c3d9
xor esi, esi
test edi, edi
jle 0x1014bfd2
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x28]
mov edi, dword [esp + 0x70]
sub ecx, ebp
mov eax, ebp
sub edx, ebp
mov dword [esp + 0x58], edi
lea ecx, [ecx]
mov edi, dword [eax + 4]
sub edi, dword [eax]
test edi, edi
jle 0x1014bf54
lea esp, [esp]
movzx ebp, word [ebx + esi*2]
add dword [eax + ecx], ebp
inc dword [eax + edx]
inc esi
sub edi, 1
jne 0x1014bf40
mov ebp, dword [esp + 0x30]
add eax, 4
sub dword [esp + 0x58], 1
jne 0x1014bf30
jmp 0x1014bfd2
cmp eax, 3
jne 0x1014c3d9
cmp cx, 1
jne 0x1014c3d9
xor ecx, ecx
test edi, edi
jle 0x1014bfd2
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x70]
add eax, 8
mov edx, ebp
sub esi, ebp
mov dword [esp + 0x58], edi
mov edi, dword [edx + 4]
sub edi, dword [edx]
test edi, edi
jle 0x1014bfc5
lea esp, [esp]
movzx ebp, byte [ecx + ebx]
add dword [eax - 8], ebp
movzx ebp, byte [ecx + ebx + 1]
add dword [eax - 4], ebp
inc ecx
movzx ebp, byte [ecx + ebx + 1]
add dword [eax], ebp
inc dword [edx + esi]
inc ecx
inc ecx
sub edi, 1
jne 0x1014bfa0
mov ebp, dword [esp + 0x30]
add edx, 4
add eax, 0xc
sub dword [esp + 0x58], 1
jne 0x1014bf90
mov eax, dword [esp + 0x34]
add ebx, dword [esp + 0x4c]
mov edi, dword [esp + 0x70]
inc eax
cmp eax, dword [esp + 0x5c]
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], eax
jl 0x1014be94
mov esi, dword [esp + 0x6c]
mov eax, dword [esp + 0x20]
cmp eax, 1
jne 0x1014c0ae
mov eax, dword [esp + 0x14]
cmp ax, 1
jne 0x1014c058
mov eax, dword [esp + 0x6c]
mov ecx, dword [eax + 0x3a]
mov ebp, dword [ecx]
xor ecx, ecx
cmp dword [esp + 0x70], ecx
jle 0x1014c30c
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x28]
sub eax, esi
mov dword [esp + 0x5c], eax
nop
mov edi, dword [eax + esi]
test edi, edi
je 0x1014c045
mov eax, dword [esi]
cdq
idiv edi
mov byte [ecx + ebp], al
mov eax, dword [esp + 0x5c]
jmp 0x1014c049
mov byte [ecx + ebp], 0
inc ecx
add esi, 4
cmp ecx, dword [esp + 0x70]
jl 0x1014c030
jmp 0x1014c30c
cmp ax, 2
jne 0x1014c30c
mov edx, dword [esp + 0x6c]
mov eax, dword [edx + 0x3a]
mov ebp, dword [eax]
xor ecx, ecx
cmp dword [esp + 0x70], ecx
jle 0x1014c30c
mov esi, dword [esp + 0x10]
mov ebx, dword [esp + 0x28]
sub ebx, esi
mov edi, dword [esi + ebx]
test edi, edi
je 0x1014c094
mov eax, dword [esi]
cdq
idiv edi
mov word [ebp + ecx*2], ax
jmp 0x1014c09b
xor edx, edx
mov word [ebp + ecx*2], dx
inc ecx
add esi, 4
cmp ecx, dword [esp + 0x70]
jl 0x1014c081
mov ebx, dword [esp + 0x38]
jmp 0x1014c30c
cmp eax, 3
jne 0x1014c30c
mov eax, dword [esi + 0x3a]
mov eax, dword [eax]
xor esi, esi
test edi, edi
jle 0x1014c30c
mov ebp, dword [esp + 0x10]
lea ecx, [eax + 1]
add ebp, 8
mov edx, dword [esp + 0x28]
mov edi, dword [edx + esi*4]
test edi, edi
je 0x1014c0f7
mov eax, dword [ebp - 8]
cdq
idiv edi
mov byte [ecx - 1], al
mov eax, dword [ebp - 4]
cdq
idiv edi
mov byte [ecx], al
mov eax, dword [ebp]
cdq
idiv edi
mov byte [ecx + 1], al
jmp 0x1014c102
mov byte [ecx - 1], 0
mov byte [ecx], 0
mov byte [ecx + 1], 0
inc esi
add ebp, 0xc
add ecx, 3
cmp esi, dword [esp + 0x70]
jl 0x1014c0d0
jmp 0x1014c30c
movzx edx, word [esp + 0x3c]
mov dword [esp + 0x34], 0
test edx, edx
jle 0x1014c260
lea esp, [esp]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
cmp eax, 1
jne 0x1014c1cd
cmp cx, ax
jne 0x1014c17f
test edi, edi
jle 0x1014c23a
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x70]
mov esi, ebx
test edx, edx
jle 0x1014c16b
mov ecx, esi
mov edi, edi
movzx ebp, byte [ecx]
add dword [eax], ebp
inc ecx
sub edx, 1
jne 0x1014c160
movzx edx, word [esp + 0x3c]
add eax, 4
add esi, edx
sub edi, 1
jne 0x1014c158
jmp 0x1014c23a
cmp cx, 2
jne 0x1014c3d9
test edi, edi
jle 0x1014c23a
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x70]
lea ebp, [edx + edx]
mov esi, ebx
mov edi, edi
movzx edx, word [esp + 0x3c]
test edx, edx
jle 0x1014c1bd
mov ecx, esi
jmp 0x1014c1b0
movzx ebx, word [ecx]
add dword [eax], ebx
add ecx, 2
sub edx, 1
jne 0x1014c1b0
add eax, 4
add esi, ebp
sub edi, 1
jne 0x1014c1a0
mov ebx, dword [esp + 0x38]
jmp 0x1014c23a
cmp eax, 3
jne 0x1014c3d9
cmp cx, 1
jne 0x1014c3d9
test edi, edi
jle 0x1014c23a
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x70]
mov ebp, dword [esp + 0x48]
lea edi, [ebx + 2]
add ecx, 8
mov dword [esp + 0x5c], eax
lea ebx, [ebx]
test ebp, ebp
jle 0x1014c22e
lea edx, [ebp - 1]
mov eax, 0xaaaaaaab
mul edx
shr edx, 1
mov esi, edi
inc edx
movzx eax, byte [esi - 2]
add dword [ecx - 8], eax
movzx eax, byte [esi - 1]
add dword [ecx - 4], eax
movzx eax, byte [esi]
add dword [ecx], eax
add esi, 3
sub edx, 1
jne 0x1014c213
add ecx, 0xc
add edi, ebp
sub dword [esp + 0x5c], 1
jne 0x1014c200
mov eax, dword [esp + 0x34]
movzx edx, word [esp + 0x3c]
add ebx, dword [esp + 0x4c]
mov edi, dword [esp + 0x70]
inc eax
cmp eax, edx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], eax
jl 0x1014c130
mov esi, dword [esp + 0x6c]
mov eax, dword [esp + 0x20]
cmp eax, 1
jne 0x1014c2c6
mov eax, dword [esp + 0x14]
cmp ax, 1
jne 0x1014c29b
mov ecx, dword [esi + 0x3a]
mov esi, dword [ecx]
xor ecx, ecx
test edi, edi
jle 0x1014c30c
mov ebp, dword [esp + 0x50]
mov edx, dword [esp + 0x10]
mov eax, dword [edx + ecx*4]
cdq
idiv ebp
inc ecx
cmp ecx, edi
mov byte [esi + ecx - 1], al
jl 0x1014c286
jmp 0x1014c30c
cmp ax, 2
jne 0x1014c30c
mov eax, dword [esi + 0x3a]
mov esi, dword [eax]
xor ecx, ecx
test edi, edi
jle 0x1014c30c
mov ebp, dword [esp + 0x50]
mov edx, dword [esp + 0x10]
mov eax, dword [edx + ecx*4]
cdq
idiv ebp
inc ecx
cmp ecx, edi
mov word [esi + ecx*2 - 2], ax
jl 0x1014c2b0
jmp 0x1014c30c
cmp eax, 3
jne 0x1014c30c
mov eax, dword [esi + 0x3a]
mov eax, dword [eax]
test edi, edi
jle 0x1014c30c
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0x70]
mov ebp, dword [esp + 0x50]
lea esi, [eax + 1]
add ecx, 8
mov eax, dword [ecx - 8]
cdq
idiv ebp
add ecx, 0xc
add esi, 3
mov byte [esi - 4], al
mov eax, dword [ecx - 0x10]
cdq
idiv ebp
mov byte [esi - 3], al
mov eax, dword [ecx - 0xc]
cdq
idiv ebp
sub edi, 1
mov byte [esi - 2], al
jne 0x1014c2e6
mov esi, dword [esp + 0x6c]
cmp word [esi + 0x30], 0
je 0x1014c330
movsx eax, word [esp + 0x14]
movzx ecx, word [esi + 0x1a]
mov edx, dword [esi + 0x3a]
push eax
mov eax, dword [edx]
push ecx
push eax
call fcn.100dc133
add esp, 0xc
inc word [esi + 0x24]
mov eax, dword [esi + 0x40]
xor ecx, ecx
mov word [esi + 0x20], cx
movzx ecx, word [esi + 0x24]
test eax, eax
je 0x1014c35c
cmp cx, word [esi + 0x3e]
jae 0x1014c35c
movzx ecx, cx
lea edx, [ecx + ecx*2]
mov ecx, dword [esi + 0x3a]
lea eax, [eax + edx*4]
mov dword [ecx + 8], eax
jmp 0x1014c3ab
mov edx, dword [esi]
push 0xc
push edx
call fcn.100de77b
mov ecx, dword [esi + 0x3a]
mov dword [ecx + 8], eax
mov edx, dword [esi + 0x3a]
add esp, 8
cmp dword [edx + 8], 0
je 0x1014bde7
movzx ecx, word [esi + 0x1a]
movsx eax, word [esp + 0x14]
mov edx, dword [esi]
imul ecx, eax
push ecx
push edx
call fcn.100de77b
mov ecx, dword [esi + 0x3a]
mov edx, dword [ecx + 8]
mov dword [edx], eax
mov eax, dword [esi + 0x3a]
mov ecx, dword [eax + 8]
add esp, 8
cmp dword [ecx], 0
je 0x1014bcef
mov eax, dword [esi + 0x3a]
mov edx, dword [eax + 8]
mov dword [edx + 4], eax
mov eax, dword [esi + 0x3a]
mov eax, dword [eax + 8]
mov dword [esi + 0x3a], eax
mov dword [eax + 8], 0
mov eax, dword [esp + 0x1c]
inc eax
cmp eax, dword [esp + 0x2c]
mov dword [esp + 0x1c], eax
jl 0x1014be30
jmp 0x1014c3e1
mov dword [esp + 0x24], 0x12e
cmp dword [esp + 0x84], 0
jne 0x1014c3f8
mov eax, dword [esp + 0x18]
push eax
call fcn.100db8dc
add esp, 4
mov ax, word [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret