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

Disassembly:
sub esp, 0x38
push ebx
push ebp
push esi
mov esi, dword [esp + 0x48]
xor ecx, ecx
mov edx, 1
mov eax, dword [esi + 0x44]
push edi
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], edx
mov byte [eax], cl
mov eax, dword [esi + 0x60]
cmp eax, ecx
mov byte [esp + 0x20], 0
mov dword [esp + 0x18], ecx
je 0x14f72887
mov eax, dword [esp + 0x60]
cmp eax, 0x14
jbe 0x14f72879
mov dword [esi + 0x30], 3
jmp 0x14f728a9
cmp eax, 0xa
jbe 0x14f728a1
mov dword [esi + 0x30], 2
jmp 0x14f728a9
mov eax, dword [esi + 0x10]
imul eax, dword [esi + 0x14]
cmp eax, 0xafc8
jae 0x14f7289a
mov dword [esi + 0x30], ecx
jmp 0x14f728a9
cmp dword [esp + 0x60], 0xa
ja 0x14f728a6
mov dword [esi + 0x30], ecx
jmp 0x14f728a9
mov dword [esi + 0x30], edx
mov ebx, dword [esp + 0x64]
lea ecx, [esp + 0x60]
push ecx
mov edx, dword [ebx]
push edx
push esi
call fcn.14f73150
mov dword [ebx], eax
mov edx, dword [esi + 0x1c]
mov ecx, dword [esi + 4]
mov edi, edx
shl edi, 3
sub edi, edx
mov edx, dword [esi + 0x20]
mov ebp, edx
add esp, 0xc
shl ebp, 3
lea edi, [ecx + edi*8]
sub ebp, edx
lea ecx, [ecx + ebp*8]
mov dword [edi], eax
mov eax, dword [esp + 0x6c]
xor ebp, ebp
mov dword [esp + 0x70], ecx
mov ecx, dword [0x14f853bc]
cmp eax, ebp
je 0x14f72901
mov edx, dword [ebx]
mov dword [esp + 0x6c], 1
cmp edx, ecx
je 0x14f72905
mov dword [esp + 0x6c], ebp
cmp eax, ebp
je 0x14f72917
mov eax, dword [ebx]
mov dword [esp + 0x10], 1
cmp eax, ecx
jne 0x14f7291b
mov dword [esp + 0x10], ebp
mov eax, dword [esp + 0x74]
xor edx, edx
mov ecx, dword [eax]
cmp ecx, ebp
mov ecx, dword [esi + 0xc]
setne dl
mov dword [esi + 0x54], edx
mov eax, dword [eax]
push eax
push ecx
call fcn.14f71040
mov eax, dword [esi + 0x54]
add esp, 8
cmp eax, ebp
je 0x14f72962
mov edx, dword [edi]
mov eax, dword [esp + 0x5c]
mov ecx, dword [esi + 0x58]
push edx
mov edx, dword [esi + 0x5c]
push eax
mov eax, dword [esi + 0xc]
push ecx
push edx
push eax
call fcn.14f71060
add esp, 0x14
mov dword [esi + 0x58], eax
jmp 0x14f7297a
mov ecx, dword [esp + 0x68]
mov eax, 0x51eb851f
imul ecx, dword [0x14f854b8]
mul ecx
shr edx, 5
mov dword [esi + 0x58], edx
mov edx, dword [esp + 0x60]
mov eax, dword [esi + 0x58]
mov ecx, dword [esi + 0x10]
push edx
mov edx, dword [esi + 0x14]
push eax
mov eax, dword [esi]
push ecx
push edx
push eax
push edi
call fcn.14f72eb0
mov ebx, dword [edi + 4]
add esp, 0x18
mov ecx, dword [ebx + 8]
mov edx, dword [ebx]
lea eax, [edx + ecx - 1]
xor edx, edx
div ecx
xor edx, edx
mov ebp, eax
mov eax, dword [ebx + 4]
lea eax, [eax + ecx - 1]
div ecx
imul ebp, eax
mov eax, dword [esi + 0x60]
mov dword [esp + 0x5c], ebp
test eax, eax
je 0x14f729ec
mov ecx, dword [edi + 0x2c]
mov edx, dword [edi + 0x14]
mov eax, dword [esi + 0x18]
push ecx
mov ecx, dword [esi + 0x14]
push edx
mov edx, dword [esi + 0x10]
push eax
mov eax, dword [esp + 0x5c]
push ecx
push edx
push eax
call fcn.15000c5a
mov ebx, dword [esp + 0x84]
add esp, 0x18
jmp 0x14f72a11
mov ebx, dword [esp + 0x6c]
test ebx, ebx
jne 0x14f72a11
mov ecx, dword [edi + 0x2c]
mov edx, dword [esi + 0x18]
mov eax, dword [esi + 0x14]
push ecx
mov ecx, dword [esi + 0x10]
push edx
mov edx, dword [esp + 0x58]
push eax
push ecx
push edx
call fcn.14f811f0
add esp, 0x14
mov eax, dword [esi + 0x60]
mov ecx, dword [edi]
test eax, eax
mov eax, dword [edi + 4]
push ecx
mov edx, dword [eax + 8]
je 0x14f72a2a
mov ecx, dword [eax + 4]
push edx
mov edx, dword [eax]
push ecx
jmp 0x14f72a37
mov ecx, dword [eax + 4]
shr edx, 1
push edx
mov edx, dword [eax]
shr ecx, 1
push ecx
shr edx, 1
mov eax, dword [edi + 0x34]
push edx
push eax
call fcn.14f73000
mov eax, dword [esi + 0x60]
add esp, 0x14
test eax, eax
je 0x14f72a57
mov ecx, dword [esi + 0x58]
mov ecx, dword [ecx*4 + 0x14f85438]
jmp 0x14f72a61
mov edx, dword [esi + 0x58]
mov ecx, dword [edx*4 + 0x14f853d8]
test ebx, ebx
jne 0x14f72a8c
mov eax, dword [edi + 0x2c]
lea edx, [esp + 0x14]
push edx
mov edx, dword [esp + 0x74]
push ecx
mov ecx, dword [esp + 0x18]
push ecx
mov ecx, dword [edx + 0x2c]
push eax
sub eax, ecx
push eax
mov eax, dword [edi + 0x34]
push eax
call fcn.14f7f740
add esp, 0x18
jmp 0x14f72a90
mov eax, dword [esp + 0x74]
test ebx, ebx
jne 0x14f72aa6
mov ecx, dword [esi + 0x58]
mov edx, dword [edi + 0x34]
push ecx
push eax
push edx
push ebp
call fcn.14f71cb0
add esp, 0x10
mov ecx, dword [esi + 0x30]
mov ebx, dword [esp + 0x14]
mov edx, dword [0x14f853c0]
test ecx, ecx
jne 0x14f72ac1
mov eax, dword [edi]
cmp eax, edx
jne 0x14f72ac1
test ebx, ebx
je 0x14f72ad5
test ecx, ecx
je 0x14f72af5
mov eax, dword [edi]
mov ecx, dword [0x14f853c8]
cmp eax, ecx
jne 0x14f72af5
test ebx, ebx
jne 0x14f72af5
cmp eax, edx
jne 0x14f72ae2
push esi
call fcn.14f73ab0
add esp, 4
mov eax, dword [0x14f853cc]
mov edx, dword [esp + 0x64]
mov dword [edi], eax
mov ecx, dword [0x14f853cc]
mov dword [edx], ecx
mov eax, dword [edi]
mov ecx, dword [edi + 4]
push eax
push ecx
lea edx, [esp + 0x44]
push esi
lea eax, [esp + 0x24]
push edx
push eax
call fcn.14f71430
mov ecx, dword [edi]
mov eax, dword [0x14f853cc]
add esp, 0x14
cmp ecx, eax
je 0x14f72e00
mov eax, dword [esi]
mov ebx, dword [edi + 4]
xor ebp, ebp
lea edx, [eax + 2]
test edx, edx
jbe 0x14f72d96
mov ecx, dword [esi + 0x44]
cmp ebp, eax
mov dword [esp + 0x4c], ecx
jae 0x14f72bcb
mov eax, dword [esi + 0x60]
test eax, eax
je 0x14f72b94
mov eax, dword [ebx + 0xc]
mov edx, dword [esp + 0x60]
mov ecx, dword [esp + 0x70]
cmp eax, 3
push edx
lea eax, [esp + 0x50]
mov edx, dword [ecx + ebp*4 + 0x14]
mov ecx, dword [edi + 0x34]
push ebp
push eax
mov eax, dword [edi + ebp*4 + 0x14]
push edx
push eax
push ecx
push ebx
je 0x14f72b80
call fcn.14f751a0
add esp, 0x1c
xor eax, eax
mov al, byte [0x14f853b0]
jmp 0x14f72c20
call fcn.14f802e0
add esp, 0x1c
xor eax, eax
mov al, byte [0x14f853b0]
jmp 0x14f72c20
mov edx, dword [esp + 0x60]
mov eax, dword [esi + 0x48]
push edx
mov edx, dword [esp + 0x74]
lea ecx, [esp + 0x50]
push eax
mov eax, dword [edx + ebp*4 + 0x14]
mov edx, dword [esp + 0x58]
push ecx
mov ecx, dword [edi + ebp*4 + 0x14]
push eax
mov eax, dword [edi + 0x34]
push ecx
push edx
push eax
push ebx
call fcn.14f79730
add esp, 0x20
xor eax, eax
mov al, byte [0x14f853b0]
jmp 0x14f72c20
jne 0x14f72bdf
mov eax, dword [esp + 0x54]
xor ecx, ecx
mov cl, byte [0x14f853b4]
mov dword [esp + 0x64], ecx
jmp 0x14f72bef
mov eax, dword [esp + 0x58]
xor edx, edx
mov dl, byte [0x14f853b8]
mov dword [esp + 0x64], edx
mov ecx, dword [esp + 0x60]
mov edx, dword [esi + 0x48]
push ecx
push edx
mov edx, dword [esp + 0x78]
lea ecx, [esp + 0x54]
push ecx
mov ecx, dword [edx + ebp*4 + 0x14]
mov edx, dword [edi + ebp*4 + 0x14]
push ecx
push edx
push eax
mov eax, dword [edi + 0x34]
push eax
push ebx
call fcn.14f73f40
mov eax, dword [esp + 0x84]
add esp, 0x20
mov edx, dword [edi]
mov ecx, dword [esp + 0x18]
push edx
push ebx
push eax
mov dword [esp + 0x78], ecx
lea eax, [esp + 0x3c]
push ebp
lea ecx, [esp + 0x28]
push eax
push ecx
call fcn.14f71570
mov al, byte [0x14f853a0]
mov edx, dword [esp + 0x30]
add esp, 0x18
lea ecx, [esp + 0x18]
mov dword [esp + 0x64], edx
push eax
push 0
push ecx
call fcn.14f73e9c
add esp, 0xc
lea edx, [esp + 0x18]
push 1
push 1
push edx
call fcn.14f73e9c
mov al, byte [0x14f85324]
xor ecx, ecx
mov cl, byte [0x14f85328]
add esp, 0xc
inc ecx
lea edx, [esp + 0x18]
push eax
push ecx
push edx
call fcn.14f73e9c
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
add esp, 0xc
mov dword [esp + 0x24], eax
mov al, byte [0x14f8532c]
mov dword [esp + 0x28], ecx
push eax
lea ecx, [esp + 0x1c]
push 0
push ecx
mov dword [esp + 0x38], edx
call fcn.14f73e9c
add esp, 0xc
lea edx, [esp + 0x18]
push edx
call fcn.14f73f1d
mov eax, dword [esi + 0x60]
add esp, 4
test eax, eax
jne 0x14f72ceb
test ebp, ebp
jne 0x14f72ceb
mov eax, dword [edi]
mov ecx, dword [edi + 0x34]
mov edx, dword [esp + 0x5c]
push eax
push ecx
lea eax, [esp + 0x20]
push edx
push eax
call fcn.14f73ce4
add esp, 0x10
jmp 0x14f72d05
mov ecx, dword [edi]
mov edx, dword [edi + 0x34]
mov eax, dword [esp + 0x5c]
push ecx
push edx
push eax
lea ecx, [esp + 0x24]
push ebp
push ecx
call fcn.14f73af0
add esp, 0x14
lea edx, [esp + 0x18]
push edx
call fcn.14f73f1d
mov eax, dword [esi + 0x44]
mov ecx, dword [esp + 0x50]
add esp, 4
sub ecx, eax
lea edx, [esp + 0x1c]
push ecx
push edx
push eax
call fcn.14f72e70
mov edx, dword [esp + 0x24]
add esp, 0xc
add edx, eax
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x1c], edx
call fcn.14f73f1d
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x68]
mov cl, byte [0x14f8532c]
add esp, 4
sub edx, eax
lea eax, [esp + 0x24]
shr edx, 3
push ecx
push edx
push eax
call fcn.14f73e9c
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x78]
mov cl, byte [0x14f852b0]
add esp, 0xc
sub edx, eax
lea eax, [esp + 0x30]
shr edx, 3
push ecx
push edx
push eax
call fcn.14f73e9c
mov eax, dword [esi]
add esp, 0xc
add ebx, 0x1c
inc ebp
lea ecx, [eax + 2]
cmp ebp, ecx
jb 0x14f72b30
mov ecx, dword [esp + 0x20]
mov edi, dword [esp + 0x18]
and ecx, 0xff
mov ebx, dword [esp + 0x1c]
push 0x18
lea eax, [edi + ecx]
cdq
xor eax, edx
sub eax, edx
and eax, 0x1f
xor eax, edx
sub eax, edx
mov dl, 0x20
sub dl, al
mov byte [esp + 0x54], dl
mov eax, dword [esp + 0x54]
and eax, 0xff
mov edx, eax
shr edx, 3
lea eax, [edi + eax + 0x20]
lea edx, [ebx + edx + 4]
mov dword [esp + 0x1c], eax
add eax, ecx
mov dword [esp + 0x20], edx
cdq
mov ecx, dword [esp + 0x78]
and edx, 7
add eax, edx
lea edx, [esp + 0x40]
sar eax, 3
push eax
push edx
mov dword [ecx], eax
call fcn.14f73e9c
add esp, 0xc
jmp 0x14f72e1f
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
and ecx, 0xff
add eax, ecx
cdq
and edx, 7
add eax, edx
mov edx, dword [esp + 0x74]
sar eax, 3
mov dword [edx], eax
mov ebx, dword [esi + 0x5c]
mov edi, dword [esi + 0x50]
mov eax, dword [esi + 0x4c]
inc ebx
inc edi
mov dword [esi + 0x5c], ebx
test eax, eax
mov dword [esi + 0x50], edi
mov ecx, edi
je 0x14f72e41
cmp ecx, eax
jb 0x14f72e41
mov dword [esi + 0x50], 0
mov eax, dword [esi + 0x54]
test eax, eax
je 0x14f72e5b
mov eax, dword [esp + 0x74]
mov edx, dword [esi + 0xc]
mov ecx, dword [eax]
push ecx
push edx
call fcn.14f71130
add esp, 8
mov eax, dword [0x14f85108]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret