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

Disassembly:
sub esp, 0x58
mov eax, dword [0x10372b24]
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 0x102a7cbc
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 0x102a7850
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 0x102a7d96
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 0x102a7d96
push ebx
call fcn.10105a32
mov dword [esp + 0x24], eax
lea eax, [esp + 0x44]
push eax
push 0x1034e74c
push ebx
call fcn.10104d35
add esp, 0x10
mov dword [esp + 0x10], eax
test eax, eax
jne 0x102a7d96
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.10102e40
mov edx, eax
add esp, 0xc
mov eax, dword [esp + 0x10]
mov dword [ebp + 0x2b8], edx
test eax, eax
jne 0x102a7d96
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.10102e40
mov edx, eax
add esp, 0xc
mov eax, dword [esp + 0x10]
mov dword [esp + 0x18], edx
test eax, eax
jne 0x102a7d96
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 0x102a7990
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 0x102a7970
mov ebp, dword [esp + 0x14]
jmp 0x102a7995
mov di, word [esp + 0x46]
xor eax, eax
xor esi, esi
cmp ax, di
mov edi, dword [esp + 0x18]
jae 0x102a79bb
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 0x102a79a4
movzx eax, word [esp + 0x44]
add eax, dword [esp + 0x20]
push eax
push ebx
call fcn.1010005a
add esp, 8
mov dword [esp + 0x10], eax
test eax, eax
jne 0x102a7d96
mov esi, dword [edi + 0xc]
xor edi, edi
mov cx, word [esp + 0x46]
cmp ax, cx
jae 0x102a7a7f
nop dword [eax]
lea eax, [esp + 0x50]
push eax
push 0x1034e770
push ebx
call fcn.10104d35
add esp, 0xc
mov dword [esp + 0x10], eax
test eax, eax
jne 0x102a7d96
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 0x102a7a65
cmp eax, dword [esi + 0xc]
jle 0x102a7a6b
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 0x102a79f0
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.1010503c
mov ecx, dword [ebp + 0x2b8]
add esp, 0x18
mov dword [ecx + 0x14], eax
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x102a7d96
mov cx, word [esp + 0x4a]
test cx, cx
je 0x102a7ad8
mov eax, dword [ebp + 0x2b8]
cmp byte [eax + 0x18], 0
jne 0x102a7ad8
push ebp
call fcn.102b22e0
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 0x102a7bf4
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.101044fc
add esp, 8
mov dword [esp + 0x10], eax
test eax, eax
jne 0x102a7d96
push ebx
call fcn.10103381
movzx eax, ax
push ebx
mov dword [esi + 4], eax
call fcn.10103381
mov cx, word [esp + 0x4e]
xor eax, eax
mov esi, dword [esi]
add esp, 8
xor edi, edi
cmp ax, cx
jae 0x102a7b7e
push ebx
call fcn.10103444
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 0x102a7b63
mov eax, dword [esp + 0x30]
cmp eax, dword [esp + 0x34]
jne 0x102a7ba2
push ebx
call fcn.10103381
mov esi, dword [esp + 0x28]
add esp, 4
movzx eax, ax
mov dword [esi + 8], eax
mov cx, word [esp + 0x46]
jmp 0x102a7ba6
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x20]
push edi
push dword [esi]
movzx eax, cx
push eax
push ebp
call fcn.102b3a20
movzx eax, word [esp + 0x56]
push ebx
lea edi, [edi + eax*4]
mov dword [esp + 0x34], edi
call fcn.1010456a
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 0x102a7b20
mov edi, dword [esp + 0x18]
movzx eax, cx
cmp dword [esp + 0x1c], eax
je 0x102a7cab
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 0x102a7c2d
mov esi, 0x11
jmp 0x102a7c4f
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 0x102a7cab
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 0x102a7cab
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 0x102a7cab
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 0x102a7c97
push ebp
call fcn.102b31f0
mov eax, dword [esp + 0x14]
add esp, 4
mov esi, dword [esp + 0x28]
mov ebx, dword [esp + 0x3c]
test ebx, ebx
je 0x102a7d96
lea eax, [esp + 0x10]
push eax
mov eax, dword [ebp + 0x2b8]
push dword [eax + 0x10]
push esi
call fcn.10102e40
mov esi, eax
add esp, 0xc
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x102a7d96
mov ecx, dword [ebp + 0x2b8]
push dword [ecx + 0x10]
push dword [ecx + 0xc]
push esi
call fcn.1010578f
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 0x102a7d39
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 0x102a7d24
mov eax, dword [esi + 0xc]
xor edi, edi
cmp dword [esi], edi
jbe 0x102a7d90
mov ecx, dword [eax + 0x10]
mov dword [eax], edx
cmp ecx, 0x77676874
jne 0x102a7d57
mov dword [eax], str.Weight
jmp 0x102a7d85
cmp ecx, 0x77647468
jne 0x102a7d67
mov dword [eax], str.Width
jmp 0x102a7d85
cmp ecx, 0x6f70737a
jne 0x102a7d77
mov dword [eax], str.OpticalSize
jmp 0x102a7d85
cmp ecx, 0x736c6e74
jne 0x102a7d85
mov dword [eax], str.Slant
inc edi
add edx, 5
add eax, 0x18
cmp edi, dword [esi]
jb 0x102a7d42
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.101026a7
add esp, 0x58
ret