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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
mov esi, ecx
push edi
mov edi, edx
xor edx, edx
mov dword [ebp - 0x18], edi
test dword [esi + 8], 0x80000
mov dword [ebp - 0xc], edx
je 0x10073aab
mov eax, dword [esi + 0x1c]
sub eax, dword [esi + 0x40]
mov dword [ebp - 8], 1
cmp eax, dword [esi + 0x24]
jbe 0x10073aae
mov dword [ebp - 8], edx
cmp dword [esi], edx
jne 0x10073acd
mov eax, dword [esi + 0x7c]
mov ecx, dword [esi + 0x8c]
mov eax, dword [eax]
sub eax, ecx
cmp eax, 0x14ccc
jb 0x10073acd
mov eax, dword [esi + 0x74]
add eax, ecx
jmp 0x10073ad3
lea eax, [esi + 0x39272]
mov cl, byte [esi + 0x38]
mov dword [esi + 0x30], eax
mov dword [ebp - 0x14], eax
add eax, 0x14cbc
mov dword [esi + 0x34], eax
mov eax, dword [esi + 0x2c]
mov dword [esi + 0x58], edx
mov dword [esi + 0x5c], edx
shr byte [eax], cl
xor ecx, ecx
cmp dword [esi + 0x38], 8
sete cl
sub dword [esi + 0x28], ecx
test dword [esi + 8], 0x1000
je 0x10073b6f
cmp dword [esi + 0x64], edx
jne 0x10073b6f
mov ecx, dword [esi + 0x44]
push 0x78
pop edx
shl edx, cl
or edx, dword [esi + 0x48]
lea eax, [ecx + 8]
jmp 0x10073b35
mov ecx, dword [esi + 0x30]
cmp ecx, dword [esi + 0x34]
jae 0x10073b29
mov al, byte [esi + 0x48]
mov byte [ecx], al
inc dword [esi + 0x30]
mov edx, dword [esi + 0x48]
mov eax, dword [esi + 0x44]
shr edx, 8
add eax, 0xfffffff8
mov dword [esi + 0x44], eax
mov dword [esi + 0x48], edx
cmp eax, 8
jae 0x10073b19
bts edx, eax
add eax, 8
mov dword [esi + 0x48], edx
mov dword [esi + 0x44], eax
cmp eax, 8
jb 0x10073b6f
mov ecx, dword [esi + 0x30]
cmp ecx, dword [esi + 0x34]
jae 0x10073b61
mov al, byte [esi + 0x48]
mov byte [ecx], al
inc dword [esi + 0x30]
shr dword [esi + 0x48], 8
add dword [esi + 0x44], 0xfffffff8
cmp dword [esi + 0x44], 8
jae 0x10073b51
mov ecx, dword [esi + 0x44]
xor ebx, ebx
cmp edi, 4
sete bl
shl ebx, cl
lea eax, [ecx + 1]
or ebx, dword [esi + 0x48]
jmp 0x10073ba0
mov ecx, dword [esi + 0x30]
cmp ecx, dword [esi + 0x34]
jae 0x10073b94
mov al, byte [esi + 0x48]
mov byte [ecx], al
inc dword [esi + 0x30]
mov ebx, dword [esi + 0x48]
mov eax, dword [esi + 0x44]
shr ebx, 8
add eax, 0xfffffff8
mov dword [esi + 0x44], eax
mov dword [ebp - 4], eax
mov dword [esi + 0x48], ebx
cmp eax, 8
jae 0x10073b84
cmp dword [ebp - 8], 0
mov edi, dword [esi + 0x30]
mov dword [ebp - 0x10], 2
jne 0x10073c09
test dword [esi + 8], 0x40000
lea eax, [esi + 0x3c]
jne 0x10073bdb
cmp dword [eax], 0x30
mov dword [ebp - 8], eax
jb 0x10073bdb
mov ecx, esi
call fcn.10073144
jmp 0x10073be5
mov ecx, esi
mov dword [ebp - 8], eax
call fcn.1007378b
mov ecx, esi
call fcn.1007383c
mov edx, dword [ebp - 8]
mov ecx, dword [esi + 0x30]
mov dword [ebp - 0xc], eax
cmp dword [edx], 0
je 0x10073d2e
sub ecx, edi
inc ecx
cmp ecx, dword [edx]
jb 0x10073d2e
mov eax, dword [esi + 0x1c]
sub eax, dword [esi + 0x40]
cmp eax, dword [esi + 0x24]
ja 0x10073d2b
mov ecx, dword [ebp - 4]
add ecx, 2
mov dword [esi + 0x30], edi
mov dword [esi + 0x48], ebx
mov dword [esi + 0x44], ecx
cmp ecx, 8
jb 0x10073c59
mov edx, edi
mov edi, edx
cmp edx, dword [esi + 0x34]
jae 0x10073c40
mov al, byte [esi + 0x48]
mov byte [edx], al
inc dword [esi + 0x30]
mov edi, dword [esi + 0x30]
mov ecx, dword [esi + 0x44]
mov edx, edi
mov ebx, dword [esi + 0x48]
add ecx, 0xfffffff8
shr ebx, 8
mov dword [esi + 0x48], ebx
mov dword [esi + 0x44], ecx
cmp ecx, 8
jae 0x10073c2e
test ecx, ecx
je 0x10073c8e
mov dword [esi + 0x48], ebx
mov dword [esi + 0x44], 8
cmp edi, dword [esi + 0x34]
jae 0x10073c77
mov al, byte [esi + 0x48]
mov byte [edi], al
inc dword [esi + 0x30]
mov edi, dword [esi + 0x30]
mov ecx, dword [esi + 0x44]
mov ebx, dword [esi + 0x48]
add ecx, 0xfffffff8
shr ebx, 8
mov dword [esi + 0x48], ebx
mov dword [esi + 0x44], ecx
cmp ecx, 8
jae 0x10073c67
push 2
pop edx
push 8
pop edi
movzx eax, word [esi + 0x3c]
shl eax, cl
or eax, ebx
add ecx, 0x10
mov dword [esi + 0x48], eax
mov ebx, eax
jmp 0x10073cc5
mov ecx, dword [esi + 0x30]
cmp ecx, dword [esi + 0x34]
jae 0x10073cb6
mov al, byte [esi + 0x48]
mov byte [ecx], al
inc dword [esi + 0x30]
mov ebx, dword [esi + 0x48]
mov ecx, dword [esi + 0x44]
shr ebx, 8
add ecx, 0xfffffff8
mov dword [esi + 0x48], ebx
mov dword [esi + 0x44], ecx
cmp ecx, edi
jae 0x10073ca6
xor dword [esi + 0x3c], 0xffff
sub edx, 1
jne 0x10073c94
cmp dword [esi + 0x3c], edx
jbe 0x10073d4c
mov eax, dword [esi + 0x40]
add eax, edx
and eax, 0x7fff
movzx eax, byte [eax + esi + 0x90]
shl eax, cl
or eax, ebx
add ecx, 8
mov dword [esi + 0x48], eax
mov ebx, eax
jmp 0x10073d1c
mov ecx, dword [esi + 0x30]
cmp ecx, dword [esi + 0x34]
jae 0x10073d0d
mov al, byte [esi + 0x48]
mov byte [ecx], al
inc dword [esi + 0x30]
mov ebx, dword [esi + 0x48]
mov ecx, dword [esi + 0x44]
shr ebx, 8
add ecx, 0xfffffff8
mov dword [esi + 0x48], ebx
mov dword [esi + 0x44], ecx
cmp ecx, edi
jae 0x10073cfd
inc edx
cmp edx, dword [esi + 0x3c]
jb 0x10073cdd
jmp 0x10073d4c
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x10073d4c
mov eax, dword [ebp - 4]
mov ecx, esi
mov dword [esi + 0x30], edi
mov dword [esi + 0x48], ebx
mov dword [esi + 0x44], eax
call fcn.1007378b
mov ecx, esi
call fcn.1007383c
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x10073e8b
mov ecx, dword [esi + 0x44]
push 4
pop edi
cmp eax, edi
jne 0x10073ddc
test ecx, ecx
je 0x10073d8e
mov dword [esi + 0x44], 8
mov ecx, dword [esi + 0x30]
cmp ecx, dword [esi + 0x34]
jae 0x10073d7c
mov al, byte [esi + 0x48]
mov byte [ecx], al
inc dword [esi + 0x30]
mov ecx, dword [esi + 0x44]
shr dword [esi + 0x48], 8
add ecx, 0xfffffff8
mov dword [esi + 0x44], ecx
cmp ecx, 8
jae 0x10073d6c
test dword [esi + 8], 0x1000
je 0x10073e8b
mov edx, dword [esi + 0x18]
mov eax, edx
shr eax, 0x18
shl eax, cl
or dword [esi + 0x48], eax
add ecx, 8
jmp 0x10073dc7
mov ecx, dword [esi + 0x30]
cmp ecx, dword [esi + 0x34]
jae 0x10073dbd
mov al, byte [esi + 0x48]
mov byte [ecx], al
inc dword [esi + 0x30]
mov ecx, dword [esi + 0x44]
shr dword [esi + 0x48], 8
add ecx, 0xfffffff8
mov dword [esi + 0x44], ecx
cmp ecx, 8
jae 0x10073dad
shl edx, 8
sub edi, 1
jne 0x10073d9e
jmp 0x10073e8b
mov edx, dword [esi + 0x48]
xor edi, edi
add ecx, 3
jmp 0x10073e02
mov ecx, dword [esi + 0x30]
cmp ecx, dword [esi + 0x34]
jae 0x10073df6
mov al, byte [esi + 0x48]
mov byte [ecx], al
inc dword [esi + 0x30]
mov edx, dword [esi + 0x48]
mov ecx, dword [esi + 0x44]
shr edx, 8
add ecx, 0xfffffff8
mov dword [esi + 0x44], ecx
mov dword [esi + 0x48], edx
cmp ecx, 8
jae 0x10073de6
test ecx, ecx
je 0x10073e42
mov dword [esi + 0x48], edx
mov dword [esi + 0x44], 8
mov ecx, dword [esi + 0x30]
cmp ecx, dword [esi + 0x34]
jae 0x10073e2b
mov al, byte [esi + 0x48]
mov byte [ecx], al
inc dword [esi + 0x30]
mov ecx, dword [esi + 0x44]
mov edx, dword [esi + 0x48]
add ecx, 0xfffffff8
shr edx, 8
mov dword [esi + 0x48], edx
mov dword [esi + 0x44], ecx
cmp ecx, 8
jae 0x10073e1b
movzx eax, di
shl eax, cl
or eax, edx
add ecx, 0x10
mov dword [esi + 0x48], eax
mov edx, eax
jmp 0x10073e72
mov ecx, dword [esi + 0x30]
cmp ecx, dword [esi + 0x34]
jae 0x10073e63
mov al, byte [esi + 0x48]
mov byte [ecx], al
inc dword [esi + 0x30]
mov edx, dword [esi + 0x48]
mov ecx, dword [esi + 0x44]
shr edx, 8
add ecx, 0xfffffff8
mov dword [esi + 0x48], edx
mov dword [esi + 0x44], ecx
cmp ecx, 8
jae 0x10073e53
mov eax, dword [ebp - 0x10]
xor edi, 0xffff
dec eax
mov dword [ebp - 0x10], eax
test eax, eax
jne 0x10073e42
push 0x240
xor edi, edi
lea eax, [esi + 0x8192]
push edi
push eax
call sub.msvcrt.dll_memset
push 0x40
lea eax, [esi + 0x83d2]
push edi
push eax
call sub.msvcrt.dll_memset
mov ebx, dword [esi + 0x30]
lea eax, [esi + 0x9273]
mov dword [esi + 0x28], eax
add esp, 0x18
lea eax, [esi + 0x9272]
mov dword [esi + 0x38], 8
mov dword [esi + 0x2c], eax
mov eax, dword [esi + 0x3c]
add dword [esi + 0x40], eax
inc dword [esi + 0x64]
mov eax, dword [ebp - 0x14]
mov dword [esi + 0x3c], edi
sub ebx, eax
je 0x10073f52
cmp dword [esi], edi
je 0x10073f0e
mov eax, dword [esi + 0x78]
mov ecx, dword [esi + 0x84]
sub ecx, dword [esi + 0x70]
mov dword [eax], ecx
lea eax, [esi + 0x39272]
push dword [esi + 4]
push ebx
push eax
call dword [esi]
add esp, 0xc
test eax, eax
jne 0x10073f52
or eax, 0xffffffff
mov dword [esi + 0x6c], eax
jmp 0x10073f55
lea edx, [esi + 0x39272]
cmp eax, edx
jne 0x10073f4c
mov eax, dword [esi + 0x7c]
mov ecx, dword [esi + 0x8c]
mov edi, dword [eax]
mov eax, dword [esi + 0x74]
sub edi, ecx
cmp ebx, edi
cmovb edi, ebx
add eax, ecx
push edi
push edx
push eax
call sub.msvcrt.dll_memcpy
add dword [esi + 0x8c], edi
add esp, 0xc
sub ebx, edi
je 0x10073f52
mov dword [esi + 0x58], edi
mov dword [esi + 0x5c], ebx
jmp 0x10073f52
add dword [esi + 0x8c], ebx
mov eax, dword [esi + 0x5c]
pop edi
pop esi
pop ebx
leave
ret