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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x80
mov dword [esp + 0x60], ecx
mov eax, dword [ebp + 8]
mov dword [eax + 8], 0
mov dword [eax + 4], 0
mov dword [eax], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x2c], 0x100000
mov dword [esp + 8], 0
mov dword [esp + 0x40], 0x20212e2f
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov word [esp + 0x4c], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 0xd
ja 0x3037237
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
movzx ecx, byte [esp + ecx + 0x40]
lea edx, [eax - 0x6958cb7a]
add eax, 0x86
and eax, ecx
or edx, ecx
sub edx, eax
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x10]
mov ecx, eax
or ecx, 0x55
and eax, 0x55
add eax, ecx
inc al
mov ecx, dword [esp + 4]
mov byte [esp + ecx + 0x40], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 0xe
jb 0x30371f0
mov eax, dword [esp + 0x40]
mov ecx, dword [0x304ab40]
test ecx, ecx
je 0x303728e
xor edx, edx
mov esi, dword [0x304ab44]
nop
nop
nop
cmp dword [esi + edx*8], 0xd23749
je 0x3037260
inc edx
cmp ecx, edx
jne 0x3037250
jmp 0x303728e
mov ecx, dword [esi + edx*8 + 4]
cmp ecx, eax
je 0x303728e
lea eax, [esp + 0x2c]
lea edx, [esp + 8]
push 4
push 0x3000
push eax
push 0
push edx
push 0xffffffffffffffff
push 6
push dword [0x304ab48]
push ecx
call fcn.03038ad0
add esp, 0x24
test eax, eax
js 0x3037a0a
mov dword [esp + 0x58], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x40], 0
mov edi, 0x10000
jmp 0x30372f4
mov edi, dword [esp + 0x4c]
add edi, dword [esp + 0x40]
cmp edi, 0x7fffffff
jae 0x3037940
mov eax, dword [esp + 0x60]
mov ecx, dword [eax]
mov dword [esp + 0x10], 0x20212e2f
lea eax, [esp + 0x14]
mov word [eax + 8], 0
mov dword [eax + 4], 0
mov dword [eax], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0xd
ja 0x3037372
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
mov edx, dword [esp]
movzx edx, byte [esp + edx + 0x10]
lea esi, [eax - 0x6958cb7a]
add eax, 0x86
and eax, edx
or esi, edx
sub esi, eax
mov dword [esp + 4], esi
mov eax, dword [esp + 4]
mov edx, eax
or edx, 0x55
and eax, 0x55
add eax, edx
inc al
mov edx, dword [esp]
mov byte [esp + edx + 0x10], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0xe
jb 0x3037330
mov eax, dword [esp + 0x10]
mov edx, dword [0x304ab40]
test edx, edx
mov dword [esp + 0x38], edi
je 0x30373e0
xor esi, esi
mov edi, dword [0x304ab44]
nop
nop
nop
nop
cmp dword [edi + esi*8], 0x1a7c99fc
je 0x30373b0
inc esi
cmp edx, esi
jne 0x3037390
mov edi, dword [esp + 0x38]
jmp 0x30373e0
mov edx, dword [edi + esi*8 + 4]
cmp edx, eax
mov edi, dword [esp + 0x38]
je 0x30373e0
push 0
push 0x1c
lea eax, [esp + 0x48]
push eax
push 0
push edi
push ecx
push 6
push dword [0x304ab48]
push edx
call fcn.03038ad0
add esp, 0x24
nop
nop
nop
nop
nop
nop
cmp eax, 0xbfffffff
ja 0x3037940
test eax, eax
js 0x30372e0
cmp dword [esp + 0x50], 0x1000
jne 0x30372e0
cmp dword [esp + 0x54], 1
je 0x30372e0
mov eax, dword [esp + 0x2c]
cmp dword [esp + 0x4c], eax
jbe 0x30375da
mov dword [esp + 0x10], 0x20212e2f
lea eax, [esp + 0x14]
mov word [eax + 8], 0
mov dword [eax + 4], 0
mov dword [eax], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0xd
ja 0x3037492
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 0x10]
lea edx, [eax - 0x6958cb7a]
add eax, 0x86
and eax, ecx
or edx, ecx
sub edx, eax
mov dword [esp + 4], edx
mov eax, dword [esp + 4]
mov ecx, eax
or ecx, 0x55
and eax, 0x55
add eax, ecx
inc al
mov ecx, dword [esp]
mov byte [esp + ecx + 0x10], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0xe
jb 0x3037450
mov eax, dword [0x304ab40]
test eax, eax
je 0x30374ea
mov ecx, dword [esp + 0x10]
xor edx, edx
mov esi, dword [0x304ab44]
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [esi + edx*8], 0xe23f8252
je 0x30374c0
inc edx
cmp eax, edx
jne 0x30374b0
jmp 0x30374ea
mov eax, dword [esi + edx*8 + 4]
cmp eax, ecx
je 0x30374ea
push 0x8000
lea ecx, [esp + 0x70]
push ecx
lea ecx, [esp + 0x10]
push ecx
push 0xffffffffffffffff
push 4
push dword [0x304ab48]
push eax
call fcn.03038ad0
add esp, 0x1c
mov dword [esp + 8], 0
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x10], 0x20212e2f
lea eax, [esp + 0x14]
mov word [eax + 8], 0
mov dword [eax + 4], 0
mov dword [eax], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0xd
ja 0x3037572
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 0x10]
lea edx, [eax - 0x6958cb7a]
add eax, 0x86
and eax, ecx
or edx, ecx
sub edx, eax
mov dword [esp + 4], edx
mov eax, dword [esp + 4]
mov ecx, eax
or ecx, 0x55
and eax, 0x55
add eax, ecx
inc al
mov ecx, dword [esp]
mov byte [esp + ecx + 0x10], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0xe
jb 0x3037530
mov eax, dword [esp + 0x10]
mov ecx, dword [0x304ab40]
test ecx, ecx
je 0x30375ce
xor edx, edx
mov esi, dword [0x304ab44]
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [esi + edx*8], 0xd23749
je 0x30375a0
inc edx
cmp ecx, edx
jne 0x3037590
jmp 0x30375ce
mov ecx, dword [esi + edx*8 + 4]
cmp ecx, eax
je 0x30375ce
push 4
push 0x3000
lea eax, [esp + 0x34]
push eax
push 0
lea eax, [esp + 0x18]
push eax
push 0xffffffffffffffff
push 6
push dword [0x304ab48]
push ecx
call fcn.03038ad0
add esp, 0x24
test eax, eax
js 0x3037940
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x60]
lea edx, [esp + 4]
push edx
push eax
push dword [esp + 0x10]
push edi
call fcn.03036ff0
cmp eax, 0xbfffffff
ja 0x30372e0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [esp + 0x10]
push dword [esp + 0x18]
lea eax, [esp + 0x24]
push eax
call fcn.03037a20
add esp, 0x18
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x64], ecx
cmp eax, ecx
je 0x30372e0
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 8]
mov dword [esp + 0x30], ecx
mov ecx, dword [edx]
mov ebx, dword [edx + 4]
mov dword [esp + 0x70], eax
mov edx, ebx
jmp 0x303767b
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0xc]
mov dword [ecx + ebx*4], eax
mov edx, dword [esp + 0x34]
add edx, 4
mov eax, dword [ebp + 8]
mov dword [eax + 4], edx
mov eax, dword [esp + 0x78]
add eax, 4
mov ebx, edx
cmp eax, dword [esp + 0x64]
je 0x3037914
mov dword [esp + 0xc], ecx
mov dword [esp + 0x34], edx
mov dword [esp + 0x78], eax
mov edx, dword [eax]
sub edx, dword [esp + 8]
mov eax, ecx
mov edi, ebx
sub edi, ecx
mov esi, edi
sar esi, 2
mov ecx, ebx
mov ebx, eax
not ebx
mov dword [esp + 0x68], ecx
cmp ecx, dword [esp + 0x30]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x24], eax
jne 0x303785a
mov dword [esp + 0x28], ebx
mov dword [esp + 0x3c], edx
lea eax, [esi + 1]
mov ebx, esi
shr ebx, 1
mov dword [esp + 0x74], esi
add ebx, esi
cmp ebx, eax
ja 0x30376cf
mov ebx, eax
mov eax, ebx
and eax, 0xfffffffb
mov ecx, ebx
and ecx, 4
mov edx, ebx
or edx, 4
imul edx, ecx
xor ecx, 4
imul ecx, eax
add edx, ecx
push edx
call fcn.03008c00
add esp, 4
mov ecx, eax
mov esi, dword [esp + 0x24]
test esi, esi
je 0x3037831
mov dword [esp + 0x34], ebx
cmp ecx, esi
mov ebx, esi
mov edx, edi
mov dword [esp + 0xc], ecx
jbe 0x30377e3
mov eax, dword [esp + 0x24]
add eax, edx
cmp eax, ecx
mov ebx, dword [esp + 0x24]
jbe 0x30377e3
test edx, edx
je 0x303781c
mov ebx, edx
mov eax, dword [esp + 0x24]
add eax, edx
dec eax
mov ecx, dword [esp + 0xc]
lea ecx, [ecx + edx - 1]
mov edx, dword [esp + 0x28]
mov esi, dword [esp + 0x68]
add edx, esi
mov edi, ebx
and edi, 7
je 0x3037776
mov dword [esp + 0x30], edx
neg edi
xor esi, esi
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [eax + esi]
mov byte [ecx + esi], dl
dec esi
cmp edi, esi
jne 0x3037760
add eax, esi
add ebx, esi
add ecx, esi
mov edx, dword [esp + 0x30]
cmp edx, 7
jb 0x303781c
neg ebx
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov esi, ebx
movzx ebx, byte [eax + edx]
mov byte [ecx + edx], bl
movzx ebx, byte [eax + edx - 1]
mov byte [ecx + edx - 1], bl
movzx ebx, byte [eax + edx - 2]
mov byte [ecx + edx - 2], bl
movzx ebx, byte [eax + edx - 3]
mov byte [ecx + edx - 3], bl
movzx ebx, byte [eax + edx - 4]
mov byte [ecx + edx - 4], bl
movzx ebx, byte [eax + edx - 5]
mov byte [ecx + edx - 5], bl
movzx ebx, byte [eax + edx - 6]
mov byte [ecx + edx - 6], bl
movzx ebx, byte [eax + edx - 7]
mov byte [ecx + edx - 7], bl
mov ebx, esi
add edx, 0xfffffff8
cmp esi, edx
jne 0x3037790
jmp 0x303781c
mov esi, ecx
mov ecx, edx
shr ecx, 2
mov eax, ebx
mov edi, esi
xchg esi, eax
rep movsd dword es:[edi], dword [esi]
xchg esi, eax
mov eax, edx
and eax, 0xfffffffc
add esi, eax
add eax, ebx
mov ecx, edx
shr ecx, 1
and ecx, 1
mov ebx, eax
mov edi, esi
xchg esi, ebx
rep movsw word es:[edi], word [esi]
xchg esi, ebx
test dl, 1
je 0x303781c
and edx, 2
movzx eax, byte [eax + edx]
mov byte [esi + edx], al
mov esi, dword [esp + 0x24]
push esi
call fcn.03008c10
add esp, 4
mov ecx, dword [esp + 0xc]
mov ebx, dword [esp + 0x34]
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov edi, esi
mov esi, dword [esp + 0x74]
lea edx, [ecx + esi*4]
mov dword [esp + 0x34], edx
mov dword [eax + 4], edx
lea edx, [ecx + ebx*4]
mov dword [esp + 0x30], edx
mov dword [eax + 8], edx
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x28]
mov eax, edi
mov dword [esp + 0xc], ecx
mov edi, dword [esp + 0x68]
mov ecx, edi
not ecx
and eax, ecx
and ebx, edi
sub ebx, eax
add edx, dword [esp + 0x38]
mov dword [esp + 0x3c], edx
sar ebx, 2
cmp ebx, esi
jae 0x3037650
mov eax, dword [esp + 0x24]
lea eax, [eax + esi*4]
xor edi, eax
and ecx, eax
add ecx, ecx
mov edx, ecx
sub edx, edi
mov eax, dword [esp + 0xc]
lea esi, [eax + ebx*4]
mov dword [esp + 0x28], ebx
lea eax, [eax + ebx*4]
add eax, 4
mov ebx, esi
mov esi, eax
lea eax, [ebx + edx]
cmp eax, esi
jbe 0x30378d0
mov eax, ebx
cmp ecx, edi
mov ebx, dword [esp + 0x28]
je 0x3037650
push edx
push eax
push esi
call fcn.03008c90
add esp, 0xc
jmp 0x3037650
mov ecx, edx
shr ecx, 2
mov eax, ebx
mov edi, esi
xchg esi, eax
rep movsd dword es:[edi], dword [esi]
xchg esi, eax
mov eax, edx
and eax, 0xfffffffc
add esi, eax
add eax, ebx
mov ecx, edx
shr ecx, 1
and ecx, 1
mov ebx, eax
mov edi, esi
xchg esi, ebx
rep movsw word es:[edi], word [esi]
xchg esi, ebx
test dl, 1
mov ebx, dword [esp + 0x28]
je 0x3037650
and edx, 2
movzx eax, byte [eax + edx]
mov byte [esi + edx], al
jmp 0x3037650
mov eax, dword [esp + 0x70]
test eax, eax
je 0x30372e0
cmp eax, dword [esp + 0x64]
je 0x30372e0
push eax
call fcn.03008c10
add esp, 4
mov dword [esp + 0x10], 0
jmp 0x30372e0
mov dword [esp + 0x10], 0x20212e2f
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov word [esp + 0x1c], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0xd
ja 0x30379b2
nop
nop
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 0x10]
lea edx, [eax - 0x6958cb7a]
add eax, 0x86
and eax, ecx
or edx, ecx
sub edx, eax
mov dword [esp + 4], edx
mov eax, dword [esp + 4]
mov ecx, eax
or ecx, 0x55
and eax, 0x55
add eax, ecx
inc al
mov ecx, dword [esp]
mov byte [esp + ecx + 0x10], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0xe
jb 0x3037970
mov eax, dword [0x304ab40]
test eax, eax
je 0x3037a0a
mov ecx, dword [esp + 0x10]
xor edx, edx
mov esi, dword [0x304ab44]
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [esi + edx*8], 0xe23f8252
je 0x30379e0
inc edx
cmp eax, edx
jne 0x30379d0
jmp 0x3037a0a
mov eax, dword [esi + edx*8 + 4]
cmp eax, ecx
je 0x3037a0a
push 0x8000
lea ecx, [esp + 0x70]
push ecx
lea ecx, [esp + 0x10]
push ecx
push 0xffffffffffffffff
push 4
push dword [0x304ab48]
push eax
call fcn.03038ad0
add esp, 0x1c
mov eax, dword [ebp + 8]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x10