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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x94
mov eax, dword [0x101c8c40]
xor eax, esp
mov dword [esp + 0x90], eax
push ebx
push esi
mov ebx, ecx
xor esi, esi
mov ecx, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], ecx
nop
cmp edi, dword [ecx]
jb 0x10037e6f
mov eax, edi
sub eax, dword [ecx + 4]
cmp eax, dword [ecx + 0x10]
je 0x10038326
push dword [ecx + 0x48]
push eax
lea eax, [esp + 0x30]
push eax
call fcn.10081690
cmp byte [esp + 0x2c], 0
mov edi, dword [esp + 0x28]
jne 0x10038348
movzx ebx, byte [edi]
cmp ebx, 0x80
jae 0x10037e7d
inc edi
jmp 0x10037eaf
movzx ecx, byte [edi + 1]
add ebx, 0xffffff80
mov eax, ecx
shl eax, 7
add ebx, eax
cmp ecx, 0x80
jae 0x10037e98
add edi, 2
jmp 0x10037eaf
push ebx
lea eax, [esp + 0x34]
push edi
push eax
call fcn.10082080
mov ebx, dword [esp + 0x40]
add esp, 0xc
mov edi, dword [esp + 0x30]
test edi, edi
je 0x10038342
mov eax, ebx
shr eax, 3
dec eax
cmp eax, 9
ja case.default.0x10037ec6
jmp dword [eax*4 + 0x10038364]
cmp bl, 8
jne case.default.0x10037ec6
movzx edx, byte [edi]
or esi, 4
test dl, dl
js 0x10037ee3
inc edi
jmp 0x10037f11
movzx ecx, byte [edi + 1]
add edx, 0xffffff80
mov eax, ecx
shl eax, 7
add edx, eax
test cl, cl
js 0x10037efa
add edi, 2
jmp 0x10037f11
push edx
lea eax, [esp + 0x3c]
push edi
push eax
call fcn.10082100
mov edx, dword [esp + 0x48]
add esp, 0xc
mov edi, dword [esp + 0x38]
mov ebx, dword [esp + 0x14]
mov dword [ebx + 0x18], edx
test edi, edi
je 0x10038346
mov ecx, dword [esp + 0x10]
jmp 0x10037e40
cmp bl, 0x10
jne case.default.0x10037ec6
movzx edx, byte [edi]
or esi, 8
test dl, dl
js 0x10037f51
mov ebx, dword [esp + 0x14]
inc edi
mov dword [esp + 0x1c], 0
mov dword [ebx + 0x1c], edx
jmp 0x100382cd
movzx ecx, byte [edi + 1]
add edx, 0xffffff80
mov eax, ecx
shl eax, 7
add edx, eax
test cl, cl
js 0x10037f7a
mov ebx, dword [esp + 0x14]
add edi, 2
mov dword [esp + 0x1c], 0
mov dword [ebx + 0x1c], edx
jmp 0x100382cd
push edx
lea eax, [esp + 0x5c]
push edi
push eax
call fcn.10082180
mov ebx, dword [esp + 0x20]
add esp, 0xc
mov edx, dword [esp + 0x60]
mov edi, dword [esp + 0x58]
mov dword [ebx + 0x1c], edx
jmp 0x100382cd
cmp bl, 0x18
jne case.default.0x10037ec6
movzx edx, byte [edi]
or esi, 0x10
test dl, dl
js 0x10037fc5
mov ebx, dword [esp + 0x14]
inc edi
mov dword [esp + 0x1c], 0
mov dword [ebx + 0x20], edx
jmp 0x100382cd
movzx ecx, byte [edi + 1]
add edx, 0xffffff80
mov eax, ecx
shl eax, 7
add edx, eax
test cl, cl
js 0x10037fee
mov ebx, dword [esp + 0x14]
add edi, 2
mov dword [esp + 0x1c], 0
mov dword [ebx + 0x20], edx
jmp 0x100382cd
push edx
lea eax, [esp + 0x6c]
push edi
push eax
call fcn.10082180
mov ebx, dword [esp + 0x20]
add esp, 0xc
mov edx, dword [esp + 0x70]
mov edi, dword [esp + 0x68]
mov dword [ebx + 0x20], edx
jmp 0x100382cd
cmp bl, 0x20
jne case.default.0x10037ec6
movzx edx, byte [edi]
or esi, 0x20
test dl, dl
js 0x10038039
mov ebx, dword [esp + 0x14]
inc edi
mov dword [esp + 0x1c], 0
mov dword [ebx + 0x24], edx
jmp 0x100382cd
movzx ecx, byte [edi + 1]
add edx, 0xffffff80
mov eax, ecx
shl eax, 7
add edx, eax
test cl, cl
js 0x10038062
mov ebx, dword [esp + 0x14]
add edi, 2
mov dword [esp + 0x1c], 0
mov dword [ebx + 0x24], edx
jmp 0x100382cd
push edx
lea eax, [esp + 0x7c]
push edi
push eax
call fcn.10082180
mov ebx, dword [esp + 0x20]
add esp, 0xc
mov edx, dword [esp + 0x80]
mov edi, dword [esp + 0x78]
mov dword [ebx + 0x24], edx
jmp 0x100382cd
cmp bl, 0x2a
jne case.default.0x10037ec6
mov ebx, dword [esp + 0x14]
or dword [ebx + 8], 1
mov ecx, dword [ebx + 4]
test cl, 3
jne 0x100380b6
and ecx, 0xfffffffc
mov byte [esp + 0x24], 0
push ecx
push dword [esp + 0x28]
lea ecx, [ebx + 0x10]
jmp 0x100382b7
mov eax, ecx
shr eax, 1
test al, 1
je 0x100380d1
xor ecx, ecx
mov byte [esp + 0x24], cl
push ecx
push dword [esp + 0x28]
lea ecx, [ebx + 0x10]
jmp 0x100382b7
and ecx, 0xfffffffc
mov byte [esp + 0x24], 0
mov ecx, dword [ecx]
push ecx
push dword [esp + 0x28]
lea ecx, [ebx + 0x10]
jmp 0x100382b7
cmp bl, 0x30
jne case.default.0x10037ec6
movzx edx, byte [edi]
or esi, 0x40
test dl, dl
js 0x10038100
xor eax, eax
inc edi
jmp 0x10038140
movzx ecx, byte [edi + 1]
add edx, 0xffffff80
mov eax, ecx
shl eax, 7
add edx, eax
test cl, cl
js 0x10038119
xor eax, eax
add edi, 2
jmp 0x10038140
push edx
lea eax, [esp + 0x8c]
push edi
push eax
call fcn.10082180
mov edx, dword [esp + 0x9c]
add esp, 0xc
mov eax, dword [esp + 0x94]
mov edi, dword [esp + 0x88]
or edx, eax
je 0x10038148
mov al, 1
jmp 0x1003814a
xor al, al
mov ebx, dword [esp + 0x14]
mov byte [ebx + 0x28], al
test edi, edi
je 0x10038346
mov ecx, dword [esp + 0x10]
jmp 0x10037e40
cmp bl, 0x38
jne case.default.0x10037ec6
movzx edx, byte [edi]
or esi, 0x80
test dl, dl
js 0x1003817b
inc edi
jmp 0x100381a9
movzx ecx, byte [edi + 1]
add edx, 0xffffff80
mov eax, ecx
shl eax, 7
add edx, eax
test cl, cl
js 0x10038192
add edi, 2
jmp 0x100381a9
push edx
lea eax, [esp + 0x44]
push edi
push eax
call fcn.10082100
mov edx, dword [esp + 0x50]
add esp, 0xc
mov edi, dword [esp + 0x40]
mov ebx, dword [esp + 0x14]
mov dword [ebx + 0x2c], edx
test edi, edi
je 0x10038346
mov ecx, dword [esp + 0x10]
jmp 0x10037e40
cmp bl, 0x40
jne case.default.0x10037ec6
movzx edx, byte [edi]
or esi, 0x100
test dl, dl
js 0x100381da
inc edi
jmp 0x10038208
movzx ecx, byte [edi + 1]
add edx, 0xffffff80
mov eax, ecx
shl eax, 7
add edx, eax
test cl, cl
js 0x100381f1
add edi, 2
jmp 0x10038208
push edx
lea eax, [esp + 0x4c]
push edi
push eax
call fcn.10082100
mov edx, dword [esp + 0x58]
add esp, 0xc
mov edi, dword [esp + 0x48]
mov ebx, dword [esp + 0x14]
mov dword [ebx + 0x30], edx
test edi, edi
je 0x10038346
mov ecx, dword [esp + 0x10]
jmp 0x10037e40
cmp bl, 0x48
jne case.default.0x10037ec6
movzx edx, byte [edi]
or esi, 0x200
test dl, dl
js 0x10038239
inc edi
jmp 0x10038267
movzx ecx, byte [edi + 1]
add edx, 0xffffff80
mov eax, ecx
shl eax, 7
add edx, eax
test cl, cl
js 0x10038250
add edi, 2
jmp 0x10038267
push edx
lea eax, [esp + 0x54]
push edi
push eax
call fcn.10082100
mov edx, dword [esp + 0x60]
add esp, 0xc
mov edi, dword [esp + 0x50]
mov ebx, dword [esp + 0x14]
mov dword [ebx + 0x34], edx
test edi, edi
je 0x10038346
mov ecx, dword [esp + 0x10]
jmp 0x10037e40
cmp bl, 0x52
jne case.default.0x10037ec6
mov ebx, dword [esp + 0x14]
or dword [ebx + 8], 2
mov ecx, dword [ebx + 4]
test cl, 3
jne 0x10038299
and ecx, 0xfffffffc
jmp 0x100382aa
mov eax, ecx
shr eax, 1
test al, 1
je 0x100382a5
xor ecx, ecx
jmp 0x100382aa
and ecx, 0xfffffffc
mov ecx, dword [ecx]
push ecx
mov byte [esp + 0x24], 0
lea ecx, [ebx + 0x14]
push dword [esp + 0x24]
call fcn.100474b0
mov ecx, dword [esp + 0x10]
push ecx
push edi
push eax
call fcn.10081850
add esp, 0xc
mov edi, eax
test edi, edi
je 0x10038346
mov ecx, dword [esp + 0x10]
jmp 0x10037e40
mov eax, ebx
and al, 7
cmp al, 4
je 0x10038332
test ebx, ebx
je 0x10038332
mov ecx, dword [esp + 0x14]
add ecx, 4
test byte [ecx], 1
je 0x100382fc
mov eax, dword [ecx]
and eax, 0xfffffffc
add eax, 4
jmp 0x10038301
call fcn.100290c0
mov ecx, dword [esp + 0x10]
push ecx
push edi
push eax
push 0
push ebx
call fcn.10080550
mov ebx, dword [esp + 0x28]
mov edi, eax
add esp, 0x14
test edi, edi
je 0x10038346
mov ecx, dword [esp + 0x10]
jmp 0x10037e40
test eax, eax
jle 0x10038348
cmp dword [ecx + 8], 0
jne 0x10038348
jmp 0x10038346
mov ecx, dword [esp + 0x10]
lea eax, [ebx - 1]
mov ebx, dword [esp + 0x14]
mov dword [ecx + 0x3c], eax
jmp 0x10038348
mov ebx, dword [esp + 0x14]
xor edi, edi
or dword [ebx + 8], esi
mov eax, edi
mov ecx, dword [esp + 0x9c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10122cc7
mov esp, ebp
pop ebp
ret 8