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

Disassembly:
sub esp, 0x58
mov eax, dword [0x1041020c]
xor eax, esp
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x60]
push ebx
push ebp
mov ebp, dword [esp + 0x64]
mov dword [esp + 0x34], eax
xor eax, eax
push esi
push edi
mov esi, dword [ebp + 0x64]
mov ebx, dword [ebp + 0x68]
mov dword [esp + 0x14], ebp
mov dword [esp + 0x28], esi
mov dword [esp + 0x10], eax
cmp dword [ebp + 0x2b8], eax
jne 0x102fc25c
lea eax, [esp + 0x2c]
push eax
mov eax, dword [ebp + 0x204]
push ebx
push 0x67766172
push ebp
call eax
add esp, 0x10
mov dword [esp + 0x10], eax
test eax, eax
je 0x102fbdf0
lea eax, [esp + 0x2c]
push eax
mov eax, dword [ebp + 0x204]
push ebx
push 0x43464632
push ebp
call eax
add esp, 0x10
mov dword [esp + 0x10], eax
test eax, eax
jne 0x102fc336
lea eax, [esp + 0x2c]
push eax
mov eax, dword [ebp + 0x204]
push ebx
push 0x66766172
push ebp
call eax
add esp, 0x10
mov dword [esp + 0x10], eax
test eax, eax
jne 0x102fc336
push ebx
call fcn.102dfcb0
mov dword [esp + 0x24], eax
lea eax, [esp + 0x44]
push eax
push 0x1038fdb4
push ebx
call fcn.102e0320
add esp, 0x10
mov dword [esp + 0x10], eax
test eax, eax
jne 0x102fc336
movzx eax, word [esp + 0x46]
lea eax, [eax*4 + 6]
mov dword [esp + 0x34], eax
movzx eax, word [esp + 0x4c]
mov dword [esp + 0x30], eax
lea eax, [esp + 0x10]
push eax
push 0x50
push esi
call fcn.102dd9c0
mov edx, eax
add esp, 0xc
mov eax, dword [esp + 0x10]
mov dword [ebp + 0x2b8], edx
test eax, eax
jne 0x102fc336
movsx edi, word [ebp + 0xe]
movzx eax, word [esp + 0x46]
mov dword [esp + 0x1c], edi
lea ecx, [edi*4 + 0x1d]
imul eax, ecx
lea esi, [edi + edi*2]
shl esi, 2
add eax, 0x14
add eax, esi
mov dword [edx + 0x10], eax
lea eax, [esp + 0x10]
push eax
mov eax, dword [ebp + 0x2b8]
push dword [eax + 0x10]
push dword [esp + 0x30]
call fcn.102dd9c0
mov edx, eax
add esp, 0xc
mov eax, dword [esp + 0x10]
mov dword [esp + 0x18], edx
test eax, eax
jne 0x102fc336
mov ecx, dword [ebp + 0x2b8]
mov dword [ecx + 0xc], edx
movzx ecx, word [esp + 0x46]
mov dword [edx], ecx
lea ecx, [edx + 0x14]
mov dword [edx + 0xc], ecx
mov dword [edx + 4], 0xffffffff
mov dword [edx + 8], edi
movzx eax, word [esp + 0x46]
lea eax, [eax + eax*2]
lea eax, [ecx + eax*8]
mov dword [edx + 0x10], eax
lea ecx, [eax + esi]
test edi, edi
je 0x102fbf30
mov ebp, dword [esp + 0x18]
xor edx, edx
mov esi, edi
nop word [eax + eax]
mov eax, dword [ebp + 0x10]
lea edx, [edx + 0xc]
mov dword [edx + eax - 0xc], ecx
mov di, word [esp + 0x46]
movzx eax, di
lea ecx, [ecx + eax*4]
sub esi, 1
jne 0x102fbf10
mov ebp, dword [esp + 0x14]
jmp 0x102fbf35
mov di, word [esp + 0x46]
xor eax, eax
xor esi, esi
cmp ax, di
mov edi, dword [esp + 0x18]
jae 0x102fbf5b
xor edx, edx
mov eax, dword [edi + 0xc]
lea edx, [edx + 0x18]
inc esi
mov dword [edx + eax - 0x18], ecx
add ecx, 5
movzx eax, word [esp + 0x46]
cmp esi, eax
jb 0x102fbf44
movzx eax, word [esp + 0x44]
add eax, dword [esp + 0x20]
push eax
push ebx
call fcn.102dfc20
add esp, 8
mov dword [esp + 0x10], eax
test eax, eax
jne 0x102fc336
mov esi, dword [edi + 0xc]
xor edi, edi
mov cx, word [esp + 0x46]
cmp ax, cx
jae 0x102fc01f
nop dword [eax]
lea eax, [esp + 0x50]
push eax
push 0x1038fdd8
push ebx
call fcn.102e0320
add esp, 0xc
mov dword [esp + 0x10], eax
test eax, eax
jne 0x102fc336
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x50]
mov dword [esi + 4], eax
mov eax, dword [esp + 0x58]
mov dword [esi + 8], eax
mov eax, dword [esp + 0x5c]
mov dword [esi + 0xc], eax
movzx eax, word [esp + 0x62]
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 byte [eax + 4], 0
mov eax, dword [esi + 8]
cmp dword [esi + 4], eax
jg 0x102fc005
cmp eax, dword [esi + 0xc]
jle 0x102fc00b
mov dword [esi + 4], eax
mov dword [esi + 0xc], eax
mov cx, word [esp + 0x46]
inc edi
movzx eax, cx
add esi, 0x18
cmp edi, eax
jb 0x102fbf90
lea eax, [esp + 0x10]
push eax
movzx eax, cx
imul eax, dword [esp + 0x20]
push 0
push eax
push 0
push 4
push dword [esp + 0x3c]
call fcn.102dda70
mov ecx, dword [ebp + 0x2b8]
add esp, 0x18
mov dword [ecx + 0x14], eax
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x102fc336
mov cx, word [esp + 0x4a]
test cx, cx
je 0x102fc078
mov eax, dword [ebp + 0x2b8]
cmp byte [eax + 0x18], 0
jne 0x102fc078
push ebp
call fcn.10302550
mov cx, word [esp + 0x4e]
add esp, 4
mov eax, dword [ebp + 0x2b8]
mov edi, dword [esp + 0x18]
mov dword [esp + 0x14], 0
mov eax, dword [eax + 0x14]
mov esi, dword [edi + 0x10]
mov dword [esp + 0x20], eax
xor eax, eax
mov dword [esp + 0x24], esi
cmp ax, cx
jae 0x102fc194
mov eax, dword [esp + 0x30]
xor edx, edx
cmp eax, dword [esp + 0x34]
sete dl
lea edx, [edx*2 + 4]
mov dword [esp + 0x38], edx
nop dword [eax + eax]
movzx eax, word [esp + 0x46]
lea eax, [edx + eax*4]
push eax
push ebx
call fcn.102dfdc0
add esp, 8
mov dword [esp + 0x10], eax
test eax, eax
jne 0x102fc336
push ebx
call fcn.102dff70
movzx eax, ax
push ebx
mov dword [esi + 4], eax
call fcn.102dff70
mov cx, word [esp + 0x4e]
xor eax, eax
mov esi, dword [esi]
add esp, 8
xor edi, edi
cmp ax, cx
jae 0x102fc11e
push ebx
call fcn.102dffb0
mov dword [esi], eax
lea esi, [esi + 4]
mov cx, word [esp + 0x4a]
inc edi
movzx eax, cx
add esp, 4
cmp edi, eax
jb 0x102fc103
mov eax, dword [esp + 0x30]
cmp eax, dword [esp + 0x34]
jne 0x102fc142
push ebx
call fcn.102dff70
mov esi, dword [esp + 0x28]
add esp, 4
movzx eax, ax
mov dword [esi + 8], eax
mov cx, word [esp + 0x46]
jmp 0x102fc146
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x20]
push edi
push dword [esi]
movzx eax, cx
push eax
push ebp
call fcn.10303ac0
movzx eax, word [esp + 0x56]
push ebx
lea edi, [edi + eax*4]
mov dword [esp + 0x34], edi
call fcn.102dfea0
mov edx, dword [esp + 0x28]
add esi, 0xc
mov cx, word [esp + 0x5e]
inc edx
movzx eax, cx
add esp, 0x14
mov dword [esp + 0x14], edx
cmp edx, eax
mov edx, dword [esp + 0x38]
mov dword [esp + 0x24], esi
jb 0x102fc0c0
mov edi, dword [esp + 0x18]
movzx eax, cx
cmp dword [esp + 0x1c], eax
je 0x102fc24b
mov ebx, dword [ebp + 0x21c]
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x18]
or esi, 0xffffffff
push eax
mov eax, dword [ebx + 0x78]
push 0x11
push ebp
call eax
movzx eax, al
add esp, 0x10
test eax, eax
je 0x102fc1cd
mov esi, 0x11
jmp 0x102fc1ef
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x18]
push eax
mov eax, dword [ebx + 0x78]
push 2
push ebp
call eax
movzx eax, al
add esp, 0x10
test eax, eax
mov ecx, 2
cmovne esi, ecx
test eax, eax
je 0x102fc24b
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x18]
push eax
mov eax, dword [ebx + 0x78]
push 6
push ebp
call eax
add esp, 0x10
test al, al
je 0x102fc24b
movzx eax, word [esp + 0x4a]
lea ecx, [eax + eax*2]
mov eax, dword [edi + 0x10]
mov edx, dword [eax + ecx*4]
mov dword [eax + ecx*4 + 4], esi
xor esi, esi
mov dword [eax + ecx*4 + 8], 6
xor eax, eax
mov edi, dword [edi + 0xc]
cmp ax, word [esp + 0x46]
jae 0x102fc24b
lea ecx, [edi + 8]
mov eax, dword [ecx]
lea ecx, [ecx + 0x18]
mov dword [edx], eax
lea edx, [edx + 4]
movzx eax, word [esp + 0x46]
inc esi
cmp esi, eax
jb 0x102fc237
push ebp
call fcn.103034e0
mov eax, dword [esp + 0x14]
add esp, 4
mov esi, dword [esp + 0x28]
mov ebx, dword [esp + 0x3c]
test ebx, ebx
je 0x102fc336
lea eax, [esp + 0x10]
push eax
mov eax, dword [ebp + 0x2b8]
push dword [eax + 0x10]
push esi
call fcn.102dd9c0
mov esi, eax
add esp, 0xc
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x102fc336
mov ecx, dword [ebp + 0x2b8]
push dword [ecx + 0x10]
push dword [ecx + 0xc]
push esi
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [esi]
lea ecx, [esi + 0x14]
mov dword [esi + 0xc], ecx
add esp, 0xc
xor edi, edi
lea eax, [eax + eax*2]
lea edx, [ecx + eax*8]
mov ecx, dword [esi + 8]
mov dword [esi + 0x10], edx
lea eax, [ecx + ecx*2]
lea edx, [edx + eax*4]
test ecx, ecx
je 0x102fc2d9
xor ecx, ecx
mov eax, dword [esi + 0x10]
lea ecx, [ecx + 0xc]
inc edi
mov dword [ecx + eax - 0xc], edx
mov eax, dword [esi]
lea edx, [edx + eax*4]
cmp edi, dword [esi + 8]
jb 0x102fc2c4
mov eax, dword [esi + 0xc]
xor edi, edi
cmp dword [esi], edi
jbe 0x102fc330
mov ecx, dword [eax + 0x10]
mov dword [eax], edx
cmp ecx, 0x77676874
jne 0x102fc2f7
mov dword [eax], str.Weight
jmp 0x102fc325
cmp ecx, 0x77647468
jne 0x102fc307
mov dword [eax], str.Width
jmp 0x102fc325
cmp ecx, 0x6f70737a
jne 0x102fc317
mov dword [eax], str.OpticalSize
jmp 0x102fc325
cmp ecx, 0x736c6e74
jne 0x102fc325
mov dword [eax], str.Slant
inc edi
add edx, 5
add eax, 0x18
cmp edi, dword [esi]
jb 0x102fc2e2
mov eax, dword [esp + 0x10]
mov dword [ebx], esi
mov ecx, dword [esp + 0x64]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1033bd36
add esp, 0x58
ret