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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x14], edx
push edi
xor edi, edi
mov dword [ebp - 0xc], edi
test dword [esi + 8], 0x80000
je 0x100736bc
mov eax, dword [esi + 0x1c]
sub eax, dword [esi + 0x40]
mov dword [ebp - 8], 1
cmp eax, dword [esi + 0x24]
jbe 0x100736bf
mov dword [ebp - 8], edi
cmp dword [esi], edi
jne 0x100736de
mov eax, dword [esi + 0x7c]
mov ecx, dword [esi + 0x8c]
mov eax, dword [eax]
sub eax, ecx
cmp eax, 0x14ccc
jb 0x100736de
mov eax, dword [esi + 0x74]
add eax, ecx
jmp 0x100736e4
lea eax, [esi + 0x39272]
mov cl, byte [esi + 0x38]
lea ebx, [esi + 0x30]
mov dword [ebx], eax
lea edx, [esi + 0x34]
mov dword [ebp - 0x1c], eax
add eax, 0x14cbc
mov dword [edx], eax
mov eax, dword [esi + 0x2c]
mov dword [esi + 0x58], edi
mov dword [esi + 0x5c], edi
mov edi, ebx
shr byte [eax], cl
xor eax, eax
cmp dword [esi + 0x38], 8
sete al
sub dword [esi + 0x28], eax
test dword [esi + 8], 0x1000
je 0x10073789
cmp dword [esi + 0x64], 0
jne 0x10073789
mov ecx, dword [esi + 0x44]
push 0x78
pop edx
shl edx, cl
or edx, dword [esi + 0x48]
lea eax, [ecx + 8]
push 8
pop edi
jmp 0x1007374e
mov ecx, dword [ebx]
cmp ecx, dword [esi + 0x34]
jae 0x10073742
mov al, byte [esi + 0x48]
mov byte [ecx], al
inc dword [ebx]
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, edi
jae 0x10073734
bts edx, eax
add eax, 8
mov dword [esi + 0x48], edx
mov dword [esi + 0x44], eax
cmp eax, edi
jb 0x10073783
mov ecx, dword [ebx]
cmp ecx, dword [esi + 0x34]
jae 0x10073776
mov al, byte [esi + 0x48]
mov byte [ecx], al
inc dword [ebx]
shr dword [esi + 0x48], 8
add dword [esi + 0x44], 0xfffffff8
cmp dword [esi + 0x44], edi
jae 0x10073768
lea edx, [esi + 0x34]
lea edi, [esi + 0x30]
mov ecx, dword [esi + 0x44]
xor ebx, ebx
cmp dword [ebp - 0x14], 4
sete bl
shl ebx, cl
lea eax, [ecx + 1]
or ebx, dword [esi + 0x48]
mov dword [esi + 0x48], ebx
mov dword [ebp - 4], eax
mov dword [esi + 0x44], eax
cmp eax, 8
jb 0x100737d5
mov ecx, dword [edi]
cmp ecx, dword [edx]
jae 0x100737b8
mov al, byte [esi + 0x48]
mov byte [ecx], al
inc dword [edi]
mov eax, dword [esi + 0x44]
mov ebx, dword [esi + 0x48]
add eax, 0xfffffff8
shr ebx, 8
mov dword [esi + 0x48], ebx
mov dword [ebp - 4], eax
mov dword [esi + 0x44], eax
cmp eax, 8
jae 0x100737ab
lea edi, [esi + 0x30]
cmp dword [ebp - 8], 0
mov ecx, dword [edi]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x18], 2
jne 0x10073838
test dword [esi + 8], 0x40000
lea eax, [esi + 0x3c]
jne 0x10073804
cmp dword [eax], 0x30
mov dword [ebp - 8], eax
jb 0x10073804
mov ecx, esi
call fcn.10072e2e
jmp 0x1007380e
mov ecx, esi
mov dword [ebp - 8], eax
call fcn.1007338a
mov ecx, esi
call fcn.1007343b
mov ecx, dword [ebp - 8]
mov edx, dword [edi]
mov dword [ebp - 0xc], eax
mov edi, dword [ecx]
test edi, edi
je 0x1007396d
mov ecx, dword [ebp - 0x10]
sub edx, ecx
inc edx
cmp edx, edi
jb 0x1007396d
lea edi, [esi + 0x30]
mov eax, dword [esi + 0x1c]
sub eax, dword [esi + 0x40]
cmp eax, dword [esi + 0x24]
ja 0x1007396a
mov eax, dword [ebp - 4]
add eax, 2
mov dword [edi], ecx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x44], eax
cmp eax, 8
jb 0x10073888
mov edx, ecx
mov ecx, edx
cmp edx, dword [esi + 0x34]
jae 0x1007386c
mov al, byte [esi + 0x48]
mov byte [edx], al
inc dword [edi]
mov ecx, dword [edi]
mov eax, dword [esi + 0x44]
mov edx, ecx
mov ebx, dword [esi + 0x48]
add eax, 0xfffffff8
shr ebx, 8
mov dword [esi + 0x48], ebx
mov dword [esi + 0x44], eax
cmp eax, 8
jae 0x1007385c
lea edi, [esi + 0x30]
mov edx, eax
test eax, eax
je 0x100738c0
mov dword [esi + 0x48], ebx
mov dword [esi + 0x44], 8
cmp ecx, dword [esi + 0x34]
jae 0x100738a6
mov al, byte [esi + 0x48]
mov byte [ecx], al
inc dword [edi]
mov ecx, dword [edi]
mov edx, dword [esi + 0x44]
mov ebx, dword [esi + 0x48]
add edx, 0xfffffff8
shr ebx, 8
mov dword [esi + 0x48], ebx
mov dword [esi + 0x44], edx
cmp edx, 8
jae 0x10073898
lea edi, [esi + 0x30]
mov dword [ebp - 8], 2
movzx eax, word [esi + 0x3c]
mov ecx, edx
shl eax, cl
or eax, ebx
add edx, 0x10
mov dword [esi + 0x48], eax
mov ebx, eax
jmp 0x100738f8
mov ecx, dword [edi]
cmp ecx, dword [esi + 0x34]
jae 0x100738e9
mov al, byte [esi + 0x48]
mov byte [ecx], al
inc dword [edi]
mov ebx, dword [esi + 0x48]
mov edx, dword [esi + 0x44]
shr ebx, 8
add edx, 0xfffffff8
mov dword [esi + 0x48], ebx
mov dword [esi + 0x44], edx
mov ecx, edx
cmp edx, 8
jae 0x100738db
mov eax, dword [ebp - 8]
xor dword [esi + 0x3c], 0xffff
dec eax
mov dword [ebp - 8], eax
test eax, eax
jne 0x100738c7
xor edx, edx
cmp dword [esi + 0x3c], edx
jbe 0x1007398e
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 0x1007395a
mov ecx, dword [esi + 0x30]
cmp ecx, dword [esi + 0x34]
jae 0x1007394b
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, 8
jae 0x1007393b
inc edx
cmp edx, dword [esi + 0x3c]
jb 0x1007391b
jmp 0x1007398e
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x1007398e
mov eax, dword [ebp - 0x10]
mov ecx, esi
mov dword [esi + 0x30], eax
mov eax, dword [ebp - 4]
mov dword [esi + 0x48], ebx
mov dword [esi + 0x44], eax
call fcn.1007338a
mov ecx, esi
call fcn.1007343b
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x10073ad7
mov ecx, dword [esi + 0x44]
push 4
pop edi
cmp eax, edi
jne 0x10073a28
test ecx, ecx
je 0x100739da
mov eax, dword [esi + 0x48]
mov dword [esi + 0x48], eax
mov dword [esi + 0x44], 8
mov ecx, dword [esi + 0x30]
cmp ecx, dword [esi + 0x34]
jae 0x100739c8
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 0x100739b8
test dword [esi + 8], 0x1000
je 0x10073ad7
mov edx, dword [esi + 0x18]
mov eax, edx
shr eax, 0x18
shl eax, cl
or dword [esi + 0x48], eax
add ecx, 8
jmp 0x10073a13
mov ecx, dword [esi + 0x30]
cmp ecx, dword [esi + 0x34]
jae 0x10073a09
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 0x100739f9
shl edx, 8
sub edi, 1
jne 0x100739ea
jmp 0x10073ad7
mov edx, dword [esi + 0x48]
xor edi, edi
add ecx, 3
jmp 0x10073a4e
mov ecx, dword [esi + 0x30]
cmp ecx, dword [esi + 0x34]
jae 0x10073a42
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 0x10073a32
test ecx, ecx
je 0x10073a8e
mov dword [esi + 0x48], edx
mov dword [esi + 0x44], 8
mov ecx, dword [esi + 0x30]
cmp ecx, dword [esi + 0x34]
jae 0x10073a77
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 0x10073a67
movzx eax, di
shl eax, cl
or eax, edx
add ecx, 0x10
mov dword [esi + 0x48], eax
mov edx, eax
jmp 0x10073abe
mov ecx, dword [esi + 0x30]
cmp ecx, dword [esi + 0x34]
jae 0x10073aaf
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 0x10073a9f
mov eax, dword [ebp - 0x18]
xor edi, 0xffff
dec eax
mov dword [ebp - 0x18], eax
test eax, eax
jne 0x10073a8e
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
lea eax, [esi + 0x9273]
mov dword [esi + 0x38], 8
mov dword [esi + 0x28], eax
add esp, 0x18
lea eax, [esi + 0x9272]
mov dword [esi + 0x2c], eax
mov eax, dword [esi + 0x3c]
add dword [esi + 0x40], eax
inc dword [esi + 0x64]
mov eax, dword [ebp - 0x1c]
mov dword [esi + 0x3c], edi
mov edi, dword [esi + 0x30]
sub edi, eax
je 0x10073b9f
cmp dword [esi], 0
je 0x10073b5b
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 edi
push eax
call dword [esi]
add esp, 0xc
test eax, eax
jne 0x10073b9f
or eax, 0xffffffff
mov dword [esi + 0x6c], eax
jmp 0x10073ba2
lea edx, [esi + 0x39272]
cmp eax, edx
jne 0x10073b99
mov eax, dword [esi + 0x7c]
mov ecx, dword [esi + 0x8c]
mov ebx, dword [eax]
mov eax, dword [esi + 0x74]
sub ebx, ecx
cmp edi, ebx
cmovb ebx, edi
add eax, ecx
push ebx
push edx
push eax
call sub.msvcrt.dll_memcpy
add dword [esi + 0x8c], ebx
add esp, 0xc
sub edi, ebx
je 0x10073b9f
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], edi
jmp 0x10073b9f
add dword [esi + 0x8c], edi
mov eax, dword [esi + 0x5c]
pop edi
pop esi
pop ebx
leave
ret