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

Disassembly:
sub esp, 0x7c
or dword [esp + 0x24], 0xffffffff
mov edx, ecx
push ebx
push ebp
xor eax, eax
mov dword [esp + 0xc], edx
inc eax
xor ebx, ebx
push esi
mov esi, dword [edx + 0xc]
mov dword [esp + 0x20], eax
push edi
mov edi, dword [edx]
movzx eax, byte [esi + 0x10]
imul ecx, eax, 0x48
mov dword [esp + 0x18], edi
mov eax, dword [edi + 4]
add eax, 8
mov dword [esp + 0x3c], esi
add eax, ecx
mov ecx, dword [edx + 4]
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], ecx
mov edi, dword [eax + 0x44]
mov ebp, dword [eax + 0x10]
mov dword [esp + 0x28], ebp
test edi, edi
jne 0x1007243e
test byte [ebp + 0x24], 0x20
je 0x100723ce
mov edi, dword [ebp + 8]
jmp 0x1007243e
push 0x48
lea eax, [esp + 0x44]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
xor eax, eax
mov byte [esp + 0x82], 5
inc eax
mov dword [esp + 0x58], ebp
mov word [esp + 0x7e], ax
add esp, 0xc
mov word [esp + 0x74], ax
lea eax, [esp + 0x34]
mov dword [esp + 0x44], eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x48], eax
mov ax, word [ebp + 0x2e]
or dword [esp + 0x78], 3
mov word [esp + 0x70], ax
mov ax, word [ebp + 0x2c]
mov word [esp + 0x2c], ax
xor eax, eax
mov word [esp + 0x2e], ax
mov eax, dword [esp + 0x10]
test byte [eax + 0x28], 1
jne 0x1007243a
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 8]
mov dword [esp + 0x54], eax
lea edi, [esp + 0x40]
movzx eax, word [ebp + 0x2c]
mov ecx, eax
mov dword [esp + 0x30], eax
call fcn.10070913
mov ecx, dword [esp + 0x14]
movzx eax, ax
mov dword [esp + 0x20], eax
cmp dword [ecx + 0x10], ebx
jne 0x1007259f
mov eax, dword [esp + 0x18]
test byte [eax + 0x2c], 0x20
jne 0x1007259f
mov eax, dword [eax]
mov eax, dword [eax]
mov eax, dword [eax + 0x20]
and eax, 0x8000
or eax, 0
mov eax, dword [esp + 0x10]
je 0x100725a3
cmp dword [eax + 0x44], ebx
jne 0x100725a3
test byte [eax + 0x28], 1
jne 0x100725a3
test byte [ebp + 0x24], 0x20
jne 0x100725a3
test byte [eax + 0x28], 0x28
jne 0x100725a3
mov edx, dword [esp + 0x1c]
imul eax, dword [edx + 0xc], 0x30
mov ebp, dword [edx + 0x14]
add eax, ebp
mov dword [esp + 0x38], eax
cmp ebp, eax
jae 0x10072597
mov ecx, dword [esi + 8]
mov eax, dword [esi + 0xc]
and ecx, dword [ebp + 0x20]
and eax, dword [ebp + 0x24]
or ecx, eax
jne 0x10072583
mov edx, dword [esp + 0x10]
push ecx
push ecx
mov ecx, ebp
call fcn.100709a6
pop ecx
pop ecx
test eax, eax
je 0x10072583
mov ebx, dword [esp + 0x20]
xor eax, eax
and dword [esi + 0x20], eax
xor ecx, ecx
mov word [esi + 0x2a], ax
inc ecx
mov eax, dword [esi + 0x30]
mov word [esi + 0x18], cx
mov word [esi + 0x28], cx
mov ecx, dword [esp + 0x30]
mov dword [eax], ebp
add ecx, ebx
mov eax, dword [esp + 0x28]
mov word [esi + 0x12], cx
cmp dword [eax + 0xc], 0
jne 0x1007252d
test byte [eax + 0x24], 2
lea eax, [ecx + 0x1c]
je 0x10072530
lea eax, [ecx - 0xa]
movzx eax, ax
mov word [esi + 0x12], ax
test ax, ax
jns 0x10072542
xor eax, eax
mov word [esi + 0x12], ax
push 0x2b
pop eax
mov edx, eax
mov word [esi + 0x16], ax
mov ecx, ebx
call fcn.100272e0
mov ecx, dword [esp + 0x90]
mov edx, esi
mov word [esi + 0x14], ax
mov dword [esi + 0x24], 0x4000
or ecx, dword [ebp + 0x20]
mov eax, dword [ebp + 0x24]
or eax, dword [esp + 0x94]
mov dword [esi], ecx
mov ecx, dword [esp + 0x14]
mov dword [esi + 4], eax
call fcn.10071792
mov ebx, eax
mov eax, dword [esp + 0x38]
add ebp, 0x30
test ebx, ebx
je 0x100724c0
jmp 0x10072806
mov ebp, dword [esp + 0x28]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
test edi, edi
je 0x10072806
cmp dword [edi + 0x24], 0
je 0x100725cd
push dword [edi + 0x24]
mov edx, dword [esp + 0x20]
mov ecx, dword [eax + 0x2c]
call fcn.100722de
pop ecx
mov ecx, dword [esp + 0x14]
test eax, eax
je 0x100727e9
test dword [edi + 0x38], 0x100
jne 0x100727e9
mov eax, dword [edi + 8]
mov edx, edi
movzx ebx, word [eax]
xor eax, eax
mov dword [esi + 0x18], eax
mov word [esi + 0x1c], ax
mov dword [esi + 0x28], eax
mov byte [esi + 0x11], al
mov word [esi + 0x12], ax
mov eax, dword [esp + 0x90]
mov dword [esi], eax
mov eax, dword [esp + 0x94]
mov dword [esi + 4], eax
mov eax, dword [esp + 0x10]
mov word [esi + 0x16], bx
mov dword [esi + 0x20], edi
mov dword [esp + 0x20], ebx
push dword [eax + 0x2c]
call fcn.100721f6
pop ecx
mov ecx, dword [edi + 0x38]
mov edx, eax
and ecx, 3
cmp cl, 3
jne 0x1007264f
test edx, edx
mov dword [esi + 0x24], 0x100
push ebx
sete al
dec al
and al, byte [esp + 0x28]
mov byte [esi + 0x11], al
lea eax, [ebx + 0x10]
mov word [esi + 0x14], ax
jmp 0x10072799
test byte [edi + 0x38], 0x20
je 0x10072664
xor ebx, ebx
mov eax, 0x240
xor ecx, ecx
mov dword [esp + 0x30], ecx
jmp 0x10072686
mov eax, dword [esp + 0x10]
mov ebx, dword [edi + 0x40]
mov ecx, dword [edi + 0x44]
and ebx, dword [eax + 0x38]
and ecx, dword [eax + 0x3c]
mov eax, ebx
or eax, ecx
mov dword [esp + 0x30], ecx
mov eax, 0x240
je 0x10072686
add eax, 0xffffffc0
mov dword [esi + 0x24], eax
test edx, edx
jne 0x100726e4
test byte [ebp + 0x24], 0x20
jne 0x100726e2
cmp dword [edi + 0x24], edx
jne 0x100726e2
mov eax, ebx
or eax, ecx
jne 0x100727be
test byte [edi + 0x38], 4
jne 0x100727be
mov ax, word [edi + 0x30]
cmp ax, word [ebp + 0x2e]
jge 0x100727be
mov eax, dword [esp + 0x18]
test byte [eax + 0x2c], 4
jne 0x100727be
cmp dword [0x100a5048], edx
je 0x100727be
mov eax, dword [eax]
mov eax, dword [eax]
test byte [eax + 0x4c], 0x20
jne 0x100727be
test edx, edx
sete al
dec al
and al, byte [esp + 0x24]
mov byte [esi + 0x11], al
movsx eax, word [edi + 0x30]
movsx ecx, word [ebp + 0x2e]
imul eax, eax, 0xf
cdq
idiv ecx
mov ecx, dword [esp + 0x20]
inc eax
add eax, ecx
or ebx, dword [esp + 0x30]
mov word [esi + 0x14], ax
je 0x10072798
and dword [esp + 0x38], 0
lea eax, [ecx + 0x10]
movzx ebx, ax
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x2c]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x30], ecx
cmp dword [eax + 0x5c], 0
jle 0x10072785
mov esi, dword [esp + 0x38]
xor ebp, ebp
mov eax, dword [eax + 0x64]
mov edx, ecx
add eax, ebp
push edi
mov dword [esp + 0x3c], eax
mov ecx, dword [eax]
call fcn.1004e035
pop ecx
test eax, eax
je 0x1007277d
mov eax, dword [esp + 0x38]
movzx ecx, word [eax + 8]
test cx, cx
jg 0x10072762
add ebx, ecx
jmp 0x1007276c
dec ebx
test byte [eax + 0xc], 0x82
je 0x1007276c
sub ebx, 0x13
mov eax, dword [esp + 0x18]
inc esi
mov ecx, dword [esp + 0x30]
add ebp, 0x30
cmp esi, dword [eax + 0x5c]
jl 0x10072739
mov esi, dword [esp + 0x3c]
mov ebp, dword [esp + 0x28]
mov cx, word [esi + 0x14]
mov edx, ebx
call fcn.100272e0
mov ecx, dword [esp + 0x20]
mov word [esi + 0x14], ax
push ecx
mov ecx, dword [esp + 0x20]
mov edx, esi
call fcn.100718cc
pop ecx
mov ecx, dword [esp + 0x14]
mov edx, esi
call fcn.10071792
mov ebx, eax
mov eax, dword [esp + 0x20]
mov word [esi + 0x16], ax
test ebx, ebx
jne 0x10072806
mov eax, dword [esp + 0x14]
mov ecx, eax
mov edx, dword [esp + 0x10]
push 0
push edi
and dword [eax + 0x14], 0
call fcn.10071b52
pop ecx
pop ecx
mov ecx, dword [esp + 0x14]
mov ebx, eax
cmp dword [ecx + 0x14], 1
jne 0x100727e9
or dword [ebp + 0x24], 0x100
mov eax, dword [esp + 0x10]
cmp dword [eax + 0x44], 0
je 0x100727f7
xor edi, edi
jmp 0x100727fa
mov edi, dword [edi + 0x14]
inc dword [esp + 0x24]
test ebx, ebx
je 0x100725a3
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x7c
ret