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

Disassembly:
sub esp, 0x68
mov eax, dword [0x103090f4]
xor eax, esp
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x70]
push ebx
push ebp
mov ebp, dword [esp + 0x74]
push esi
mov dword [esp + 0x48], eax
xor eax, eax
push edi
mov esi, dword [ebp + 0x2bc]
mov edi, dword [ebp + 0x68]
mov ebx, dword [ebp + 0x64]
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x20], edi
mov dword [esp + 0x34], ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], eax
mov byte [esp + 0x17], al
test esi, esi
jne 0x100f4823
lea eax, [esp + 0x44]
push eax
mov eax, dword [ebp + 0x204]
push edi
push 0x67766172
push ebp
call eax
add esp, 0x10
mov dword [esp + 0x10], eax
test eax, eax
je 0x100f478e
lea eax, [esp + 0x44]
push eax
mov eax, dword [ebp + 0x204]
push edi
push 0x43464632
push ebp
call eax
add esp, 0x10
mov dword [esp + 0x10], eax
test eax, eax
jne 0x100f4d1a
lea eax, [esp + 0x44]
push eax
mov eax, dword [ebp + 0x204]
push edi
push 0x66766172
push ebp
call eax
add esp, 0x10
mov dword [esp + 0x10], eax
test eax, eax
jne 0x100f4d1a
push edi
call fcn.100e7620
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x54]
push eax
push 0x1015959c
push edi
call fcn.100e7790
add esp, 0x10
mov dword [esp + 0x10], eax
test eax, eax
jne 0x100f4d1a
movzx eax, word [esp + 0x56]
lea ecx, [eax*4 + 6]
movzx eax, word [esp + 0x5c]
cmp eax, ecx
lea eax, [esp + 0x10]
push eax
push 0x50
push ebx
sete byte [esp + 0x23]
call fcn.100e9480
mov ecx, eax
add esp, 0xc
mov eax, dword [esp + 0x10]
mov dword [ebp + 0x2bc], ecx
test eax, eax
jne 0x100f4d1a
movzx ebx, word [esp + 0x56]
mov dword [ecx], ebx
mov eax, dword [esp + 0x10]
jmp 0x100f4825
mov ebx, dword [esi]
movzx ecx, word [ebp + 0xe]
lea edx, [ebx*2 + 3]
and edx, 0xfffffffc
mov dword [esp + 0x30], ecx
mov dword [esp + 0x38], edx
lea edx, [ebx + ebx*2]
shl edx, 3
mov dword [esp + 0x3c], edx
lea edx, [ecx + ecx*2]
imul ecx, ebx
shl edx, 2
mov dword [esp + 0x28], edx
mov dword [esp + 0x40], ecx
shl ecx, 2
mov dword [esp + 0x48], ecx
test esi, esi
jne 0x100f4c22
lea eax, [ebx + 4]
lea ecx, [ecx + eax*4]
add ecx, eax
mov eax, dword [ebp + 0x2bc]
add ecx, edx
add ecx, dword [esp + 0x3c]
add ecx, dword [esp + 0x38]
mov dword [eax + 0x10], ecx
lea eax, [esp + 0x10]
push eax
mov eax, dword [ebp + 0x2bc]
push dword [eax + 0x10]
push dword [esp + 0x3c]
call fcn.100e9480
mov esi, eax
add esp, 0xc
mov eax, dword [esp + 0x10]
mov dword [esp + 0x24], esi
test eax, eax
jne 0x100f4d1a
mov ecx, dword [ebp + 0x2bc]
lea eax, [esi + 0x14]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x1c], eax
add eax, dword [esp + 0x38]
mov dword [ecx + 0xc], esi
mov ecx, dword [esp + 0x30]
mov dword [esi + 0xc], eax
add eax, dword [esp + 0x3c]
add edx, eax
mov dword [esi], ebx
mov dword [esi + 4], 0xffffffff
mov dword [esi + 8], ecx
mov dword [esi + 0x10], eax
test ecx, ecx
je 0x100f490a
mov ebp, dword [esp + 0x30]
lea edi, [ebx*4]
xor ecx, ecx
mov eax, dword [esi + 0x10]
lea ecx, [ecx + 0xc]
mov dword [ecx + eax - 0xc], edx
add edx, edi
sub ebp, 1
jne 0x100f48f1
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x2c]
mov ecx, dword [esi + 0x10]
add ecx, dword [esp + 0x48]
add ecx, dword [esp + 0x28]
test ebx, ebx
je 0x100f493b
mov ebp, dword [esp + 0x24]
xor edx, edx
mov esi, ebx
mov eax, dword [ebp + 0xc]
lea edx, [edx + 0x18]
mov dword [edx + eax - 0x18], ecx
add ecx, 5
sub esi, 1
jne 0x100f4921
mov ebp, dword [esp + 0x2c]
mov esi, dword [esp + 0x24]
movzx eax, word [esp + 0x54]
add eax, dword [esp + 0x18]
push eax
push edi
call fcn.100e7c50
add esp, 8
mov dword [esp + 0x10], eax
test eax, eax
jne 0x100f4d1a
mov esi, dword [esi + 0xc]
mov dword [esp + 0x18], eax
test ebx, ebx
je 0x100f4a12
nop dword [eax]
lea eax, [esp + 0x60]
push eax
push 0x101595c0
push edi
call fcn.100e7790
add esp, 0xc
mov dword [esp + 0x10], eax
test eax, eax
jne 0x100f4d1a
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x60]
mov dword [esi + 4], eax
mov eax, dword [esp + 0x68]
mov dword [esi + 8], eax
mov eax, dword [esp + 0x6c]
mov dword [esi + 0xc], eax
movzx eax, word [esp + 0x72]
mov dword [esi + 0x14], eax
mov eax, dword [esi]
mov dword [esi + 0x10], ecx
shr ecx, 0x18
mov byte [eax], cl
mov ecx, dword [esi]
mov al, byte [esi + 0x12]
mov byte [ecx + 1], al
mov ecx, dword [esi]
mov al, byte [esi + 0x11]
mov byte [ecx + 2], al
mov ecx, dword [esi]
mov al, byte [esi + 0x10]
mov byte [ecx + 3], al
mov eax, dword [esi]
mov ecx, dword [esp + 0x1c]
mov byte [eax + 4], 0
mov ax, word [esp + 0x70]
mov word [ecx], ax
mov eax, dword [esi + 8]
cmp dword [esi + 4], eax
jg 0x100f49f1
cmp eax, dword [esi + 0xc]
jle 0x100f49f7
mov dword [esi + 4], eax
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0x18]
add ecx, 2
inc eax
mov dword [esp + 0x1c], ecx
add esi, 0x18
mov dword [esp + 0x18], eax
cmp eax, ebx
jb 0x100f4970
lea eax, [esp + 0x10]
push eax
push 0
push dword [esp + 0x48]
push 0
push 4
push dword [esp + 0x48]
call fcn.100e9640
mov ecx, dword [ebp + 0x2bc]
add esp, 0x18
mov dword [ecx + 0x14], eax
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x100f4d1a
mov cx, word [esp + 0x5a]
test cx, cx
je 0x100f4a81
mov eax, dword [ebp + 0x2bc]
cmp byte [eax + 0x18], 0
jne 0x100f4a81
push edi
call fcn.100e7620
push ebp
mov esi, eax
call fcn.100fcf40
push esi
push edi
call fcn.100e7c50
add esp, 0x10
mov dword [esp + 0x10], eax
test eax, eax
jne 0x100f4d1a
mov cx, word [esp + 0x5a]
mov eax, dword [esp + 0x24]
mov dword [esp + 0x1c], 0
mov esi, dword [eax + 0x10]
mov eax, dword [ebp + 0x2bc]
mov dword [esp + 0x20], esi
mov eax, dword [eax + 0x14]
mov dword [esp + 0x18], eax
xor eax, eax
cmp ax, cx
jae 0x100f4b72
movzx eax, byte [esp + 0x17]
lea ecx, [ebx*4]
add eax, 2
lea eax, [ecx + eax*2]
mov dword [esp + 0x40], eax
push eax
push edi
call fcn.100e7250
add esp, 8
mov dword [esp + 0x10], eax
test eax, eax
jne 0x100f4d1a
push edi
call fcn.100e7480
movzx eax, ax
push edi
mov dword [esi + 4], eax
call fcn.100e7480
mov esi, dword [esi]
add esp, 8
test ebx, ebx
je 0x100f4b0c
mov ebp, ebx
push edi
call fcn.100e73e0
add esp, 4
mov dword [esi], eax
lea esi, [esi + 4]
sub ebp, 1
jne 0x100f4af5
mov ebp, dword [esp + 0x2c]
cmp byte [esp + 0x17], 0
je 0x100f4b21
push edi
call fcn.100e7480
add esp, 4
movzx eax, ax
jmp 0x100f4b26
mov eax, 0xffff
mov esi, dword [esp + 0x20]
push dword [esp + 0x18]
mov dword [esi + 8], eax
push dword [esi]
push ebx
push ebp
call fcn.100fe1d0
lea eax, [ebx*4]
add dword [esp + 0x28], eax
push edi
call fcn.100e7320
mov edx, dword [esp + 0x30]
add esi, 0xc
mov cx, word [esp + 0x6e]
inc edx
movzx eax, cx
add esp, 0x14
cmp edx, eax
mov dword [esp + 0x1c], edx
mov eax, dword [esp + 0x40]
mov dword [esp + 0x20], esi
jb 0x100f4ac2
movzx eax, cx
cmp dword [esp + 0x30], eax
je 0x100f4c15
mov esi, dword [ebp + 0x21c]
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x20]
push eax
mov eax, dword [esi + 0x78]
push 0x11
push ebp
call eax
add esp, 0x10
test al, al
je 0x100f4ba5
mov edi, 0x11
jmp 0x100f4bc3
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x20]
push eax
mov eax, dword [esi + 0x78]
push 2
push ebp
call eax
add esp, 0x10
test al, al
je 0x100f4c15
mov edi, 2
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x20]
push eax
mov eax, dword [esi + 0x78]
push 6
push ebp
call eax
add esp, 0x10
test al, al
je 0x100f4c15
movzx eax, word [esp + 0x5a]
mov edx, dword [esp + 0x24]
lea ecx, [eax + eax*2]
mov eax, dword [edx + 0x10]
mov dword [eax + ecx*4 + 4], edi
mov dword [eax + ecx*4 + 8], 6
mov esi, dword [edx + 0xc]
mov edx, dword [eax + ecx*4]
test ebx, ebx
je 0x100f4c15
lea ecx, [esi + 8]
mov esi, ebx
mov eax, dword [ecx]
lea ecx, [ecx + 0x18]
mov dword [edx], eax
lea edx, [edx + 4]
sub esi, 1
jne 0x100f4c06
push ebp
call fcn.100fdb40
mov eax, dword [esp + 0x14]
add esp, 4
cmp dword [esp + 0x4c], 0
je 0x100f4d1a
lea eax, [esp + 0x10]
push eax
mov eax, dword [ebp + 0x2bc]
push dword [eax + 0x10]
push dword [esp + 0x3c]
call fcn.100e9480
mov edi, eax
add esp, 0xc
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x100f4d1a
mov ecx, dword [ebp + 0x2bc]
push dword [ecx + 0x10]
push dword [ecx + 0xc]
push edi
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [esp + 0x44]
xor esi, esi
mov ecx, dword [esp + 0x34]
add eax, 0x14
add eax, edi
add esp, 0xc
mov dword [edi + 0xc], eax
add eax, dword [esp + 0x3c]
mov dword [edi + 0x10], eax
lea edx, [eax + ecx]
cmp dword [edi + 8], esi
jbe 0x100f4caa
lea ebp, [ebx*4]
xor ecx, ecx
mov eax, dword [edi + 0x10]
lea ecx, [ecx + 0xc]
inc esi
mov dword [ecx + eax - 0xc], edx
add edx, ebp
cmp esi, dword [edi + 8]
jb 0x100f4c94
mov ecx, dword [esp + 0x28]
mov esi, dword [esp + 0x48]
mov eax, dword [edi + 0xc]
add esi, ecx
add esi, dword [edi + 0x10]
test ebx, ebx
je 0x100f4d10
nop word [eax + eax]
mov edx, dword [eax + 0x10]
mov dword [eax], esi
cmp edx, 0x77676874
jne 0x100f4cd5
mov dword [eax], str.Weight
jmp 0x100f4d05
cmp edx, 0x77647468
jne 0x100f4ce5
mov dword [eax], str.Width
jmp 0x100f4d05
cmp edx, 0x6f70737a
jne 0x100f4cf5
mov dword [eax], str.OpticalSize
jmp 0x100f4d05
cmp edx, 0x736c6e74
mov ecx, str.Slant
cmovne ecx, esi
mov dword [eax], ecx
add esi, 5
add eax, 0x18
sub ebx, 1
jne 0x100f4cc0
mov eax, dword [esp + 0x4c]
mov dword [eax], edi
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x74]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.100e1332
add esp, 0x68
ret