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

Disassembly:
sub esp, 0x64
mov eax, dword [0x10444724]
xor eax, esp
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x68]
push esi
push edi
mov edi, dword [esp + 0x78]
mov esi, ecx
mov dword [esp + 0x14], esi
mov dword [esp + 0x34], eax
test edi, edi
jne 0x10378403
push dword [esp + 0x74]
push eax
call fcn.103797f0
pop edi
pop esi
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.1037e005
add esp, 0x64
ret 0xc
push ebx
mov ebx, dword [esp + 0x78]
push ebp
push 1
push ebx
push eax
call fcn.10369cf0
mov ebp, eax
mov dword [esp + 0x30], ebp
cmp ebp, ebx
je 0x10378a3d
xor ebx, ebx
lea ecx, [esp + 0x60]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
cmp edi, 1
jne 0x10378452
push dword [esi + 0xb0]
lea ecx, [esp + 0x54]
call fcn.10378370
mov ebx, dword [esp + 0x54]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x1c]
mov edi, ebp
mov esi, dword [esp + 0x7c]
mov eax, dword [edx + 0x9c]
mov eax, dword [eax + 4]
mov dword [esp + 0x40], eax
sub esi, ebp
mov dword [esp + 0x18], edi
mov dword [esp + 0x10], esi
nop dword [eax]
nop word [eax + eax]
cmp dword [esp + 0x80], 1
jne 0x10378715
xor esi, esi
mov dword [esp + 0x38], esi
test eax, eax
jle 0x103786a1
nop dword [eax]
mov eax, dword [edx + 0xa4]
movzx esi, byte [eax + esi]
cmp esi, 0xff
je 0x1037868e
push dword [esp + 0x38]
mov ecx, dword [edx + 0x9c]
call fcn.103642a0
movzx ecx, word [eax + 4]
mov edx, ecx
test cl, 0x11
je 0x103784d4
xor ebx, ebx
jmp 0x103784df
lea ebx, [eax + 6]
test cl, 2
jne 0x103784df
mov ebx, dword [eax + 0x10]
mov dword [esp + 0x2c], ebx
test dx, dx
js 0x103784f0
movsx edx, dx
sar edx, 5
jmp 0x103784f3
mov edx, dword [eax + 8]
mov dword [esp + 0x24], edx
cmp esi, 0xfe
jb 0x10378529
movzx eax, word [ebx + edx*2 - 2]
lea esi, [edx - 1]
and eax, 0xfffffc00
cmp eax, 0xdc00
jne 0x10378529
test esi, esi
jle 0x10378529
movzx eax, word [ebx + esi*2 - 2]
and eax, 0xfffffc00
cmp eax, 0xd800
jne 0x10378529
dec esi
cmp esi, ebp
mov eax, ebp
mov ebp, edx
cmovle eax, esi
sub ebp, eax
mov dword [esp + 0x44], eax
cmp ebp, dword [esp + 0x10]
jg 0x10378708
mov ecx, edi
mov esi, eax
sub ecx, eax
sub esi, edi
add esi, dword [esp + 0x7c]
lea eax, [edi + ebp]
add eax, eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x28], eax
lea eax, [ebx - 2]
lea edi, [ecx + ecx]
mov dword [esp + 0x20], esi
mov ecx, dword [esp + 0x50]
sub edi, ebx
add edi, dword [esp + 0x3c]
mov ebx, dword [esp + 0x54]
mov dword [esp + 0x48], eax
mov dword [esp + 0x14], ecx
nop dword [eax + eax]
mov eax, dword [esp + 0x5c]
add eax, ebp
mov dword [esp + 0x4c], eax
cmp eax, ebx
jl 0x10378590
sub eax, ebx
cmp byte [ecx + eax], 0
jne 0x10378659
mov eax, dword [esp + 0x2c]
mov esi, edx
movzx ecx, word [eax]
lea edx, [edi + eax]
lea eax, [eax + 2]
cmp word [edx], cx
jne 0x1037864d
dec esi
test esi, esi
jg 0x103785a0
cmp dword [esp + 0x34], 0
jle 0x103785e6
mov eax, dword [esp + 0x48]
movzx eax, word [eax + edi]
and eax, 0xfffffc00
cmp eax, 0xd800
jne 0x103785e6
mov eax, dword [esp + 0x2c]
movzx eax, word [edi + eax]
and eax, 0xfffffc00
cmp eax, 0xdc00
je 0x1037864d
mov edx, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
cmp edx, esi
jge 0x1037861f
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x3c]
movzx eax, word [ecx + eax - 2]
and eax, 0xfffffc00
cmp eax, 0xd800
jne 0x1037861f
mov eax, dword [esp + 0x3c]
movzx eax, word [ecx + eax]
and eax, 0xfffffc00
cmp eax, 0xdc00
je 0x10378655
cmp ebp, dword [esp + 0x10]
je 0x10378a0d
mov eax, dword [esp + 0x4c]
cmp eax, ebx
jl 0x10378633
sub eax, ebx
mov ecx, dword [esp + 0x14]
mov byte [ecx + eax], 1
mov ecx, dword [esp + 0x50]
inc dword [esp + 0x58]
mov ebx, dword [esp + 0x54]
mov dword [esp + 0x14], ecx
jmp 0x10378659
mov esi, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x44]
test eax, eax
je 0x10378682
inc dword [esp + 0x34]
dec eax
add dword [esp + 0x28], 2
dec esi
inc ebp
mov dword [esp + 0x44], eax
add edi, 2
mov dword [esp + 0x20], esi
cmp ebp, dword [esp + 0x10]
jle 0x10378580
mov edi, dword [esp + 0x18]
mov ebp, dword [esp + 0x30]
mov edx, dword [esp + 0x1c]
mov esi, dword [esp + 0x38]
inc esi
mov dword [esp + 0x38], esi
cmp esi, dword [esp + 0x40]
jl 0x103784a0
mov esi, dword [esp + 0x10]
cmp dword [esp + 0x30], 0
mov edi, dword [esp + 0x18]
jne 0x1037899f
test edi, edi
je 0x1037899f
cmp dword [esp + 0x58], 0
mov eax, dword [esp + 0x3c]
lea eax, [eax + edi*2]
jne 0x10378930
mov ecx, dword [esp + 0x1c]
push 1
push esi
push eax
call fcn.10369cf0
mov ebp, eax
mov dword [esp + 0x30], ebp
cmp ebp, esi
je 0x10378a17
test ebp, ebp
je 0x10378a17
mov ebx, dword [esp + 0x54]
add edi, ebp
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x40]
jmp 0x10378469
mov ebx, dword [esp + 0x54]
mov ecx, dword [esp + 0x50]
jmp 0x10378686
xor edi, edi
xor edx, edx
mov dword [esp + 0x34], edi
mov dword [esp + 0x14], edi
mov dword [esp + 0x44], edx
test eax, eax
jle 0x103786a5
jmp 0x10378734
mov ebp, dword [esp + 0x30]
mov ecx, dword [esp + 0x1c]
push edx
mov eax, dword [ecx + 0xa4]
mov ecx, dword [ecx + 0x9c]
mov bl, byte [edx + eax]
movzx esi, bl
call fcn.103642a0
movzx ecx, word [eax + 4]
mov edx, ecx
test cl, 0x11
je 0x10378765
mov dword [esp + 0x2c], 0
jmp 0x10378774
test cl, 2
lea ecx, [eax + 6]
jne 0x10378770
mov ecx, dword [eax + 0x10]
mov dword [esp + 0x2c], ecx
test dx, dx
js 0x10378781
movsx ecx, dx
sar ecx, 5
jmp 0x10378784
mov ecx, dword [eax + 8]
cmp bl, 0xfe
mov dword [esp + 0x38], ecx
mov eax, ecx
mov ebx, ebp
cmovb eax, esi
mov esi, dword [esp + 0x10]
cmp eax, ebp
mov ebp, ecx
cmovle ebx, eax
sub ebp, ebx
cmp ebp, esi
jg 0x103788c5
mov edx, dword [esp + 0x18]
mov edi, ebx
sub edi, edx
mov eax, edx
add edi, dword [esp + 0x7c]
sub eax, ebx
mov dword [esp + 0x24], edi
add edx, ebp
mov dword [esp + 0x28], eax
add edx, edx
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x28]
lea edi, [eax + eax]
mov eax, dword [esp + 0x2c]
sub edi, eax
add edi, dword [esp + 0x3c]
add eax, 0xfffffffe
mov esi, dword [esp + 0x20]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x24]
nop word [eax + eax]
mov dword [esp + 0x48], ebp
cmp ebx, dword [esp + 0x14]
jl 0x103788bd
jg 0x1037880a
cmp ebp, dword [esp + 0x34]
jle 0x10378895
mov edx, dword [esp + 0x2c]
mov esi, ecx
movzx eax, word [edx]
lea ecx, [edi + edx]
lea edx, [edx + 2]
cmp word [ecx], ax
jne 0x10378889
dec esi
test esi, esi
jg 0x10378810
cmp dword [esp + 0x28], 0
jle 0x10378852
mov eax, dword [esp + 0x4c]
movzx eax, word [eax + edi]
and eax, 0xfffffc00
cmp eax, 0xd800
jne 0x10378852
mov eax, dword [esp + 0x2c]
movzx eax, word [edi + eax]
and eax, 0xfffffc00
cmp eax, 0xdc00
je 0x10378889
mov ecx, dword [esp + 0x38]
cmp ecx, dword [esp + 0x24]
jge 0x103788f3
mov edx, dword [esp + 0x20]
mov esi, dword [esp + 0x3c]
movzx eax, word [edx + esi - 2]
and eax, 0xfffffc00
cmp eax, 0xd800
jne 0x103788f3
movzx eax, word [edx + esi]
and eax, 0xfffffc00
cmp eax, 0xdc00
jne 0x103788f3
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov esi, dword [esp + 0x20]
mov ecx, dword [esp + 0x10]
inc edx
add esi, 2
mov dword [esp + 0x28], edx
dec eax
mov dword [esp + 0x20], esi
dec ebx
mov dword [esp + 0x24], eax
add edi, 2
inc ebp
cmp dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x38]
jl 0x103787f0
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0x34]
mov ebp, dword [esp + 0x14]
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x40]
inc edx
mov dword [esp + 0x44], edx
cmp edx, eax
jl 0x10378730
test edi, edi
jne 0x10378905
test ebp, ebp
jne 0x10378905
mov ebx, dword [esp + 0x54]
mov ecx, dword [esp + 0x50]
jmp 0x103786a5
mov esi, dword [esp + 0x10]
mov edi, ebp
mov ebp, ebx
mov dword [esp + 0x34], edi
mov dword [esp + 0x14], ebp
jmp 0x103788c9
add dword [esp + 0x18], edi
sub esi, edi
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x10], esi
je 0x10378a11
mov ebx, dword [esp + 0x54]
xor ebp, ebp
mov edi, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x30], ebp
jmp 0x10378480
push esi
push eax
push dword [esp + 0x24]
call fcn.10379e40
add esp, 0xc
test eax, eax
jle 0x10378995
cmp eax, esi
je 0x10378a20
mov ebx, dword [esp + 0x54]
add edi, eax
sub esi, eax
mov dword [esp + 0x18], edi
add eax, dword [esp + 0x5c]
mov dword [esp + 0x10], esi
cmp eax, ebx
jl 0x10378964
sub eax, ebx
mov ecx, dword [esp + 0x50]
cmp byte [ecx + eax], 0
je 0x1037897e
mov byte [ecx + eax], 0
dec dword [esp + 0x58]
mov ebx, dword [esp + 0x54]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x1c]
xor ebp, ebp
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x30], ebp
jmp 0x10378480
mov ebx, dword [esp + 0x54]
mov ecx, dword [esp + 0x50]
jmp 0x103789aa
cmp dword [esp + 0x58], 0
je 0x10378a2a
mov eax, dword [esp + 0x5c]
inc eax
cmp eax, ebx
jge 0x103789be
cmp byte [ecx + eax], 0
jne 0x103789fd
inc eax
cmp eax, ebx
jl 0x103789b3
sub ebx, dword [esp + 0x5c]
xor eax, eax
cmp byte [ecx], al
jne 0x103789cf
inc eax
cmp byte [ecx + eax], 0
je 0x103789c8
mov byte [ecx + eax], 0
lea ecx, [ebx + eax]
dec dword [esp + 0x58]
mov ebx, dword [esp + 0x54]
add edi, ecx
mov edx, dword [esp + 0x1c]
sub esi, ecx
mov ecx, dword [esp + 0x50]
xor ebp, ebp
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x30], ebp
jmp 0x1037846b
mov byte [ecx + eax], 0
mov ecx, eax
dec dword [esp + 0x58]
sub ecx, dword [esp + 0x5c]
jmp 0x103789da
mov ecx, dword [esp + 0x14]
mov ebx, dword [esp + 0x7c]
jmp 0x10378a2c
mov ecx, dword [esp + 0x50]
lea ebx, [edi + ebp]
jmp 0x10378a2c
mov ecx, dword [esp + 0x50]
mov ebx, dword [esp + 0x7c]
jmp 0x10378a2c
mov ebx, edi
lea eax, [esp + 0x60]
cmp ecx, eax
je 0x10378a3d
push ecx
call fcn.10317c30
add esp, 4
mov ecx, dword [esp + 0x70]
mov eax, ebx
pop ebp
pop ebx
pop edi
pop esi
xor ecx, esp
call fcn.1037e005
add esp, 0x64
ret 0xc