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

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0xc
cmp eax, 0x190
push esi
jg 0x402138
je 0x4020f6
lea ecx, [eax - 0xa]
cmp ecx, 0xc0
ja case.default.0x402251
movzx ecx, byte [ecx + 0x4023e8]
jmp dword [ecx*4 + 0x4023a0]
mov esi, dword [esp + 0x1c]
mov eax, 0xa
call fcn.004011e0
test eax, eax
jne 0x401ea2
mov eax, 0xffffffd6
pop esi
add esp, 0xc
ret
mov edx, dword [esp + 0x14]
mov dword [edx], esi
mov eax, esi
pop esi
add esp, 0xc
ret
lea esi, [esp + 0x1c]
call fcn.00401ca0
cmp eax, 0xffffff88
ja 0x40239a
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
add eax, 0x2c
test ecx, ecx
jne 0x401ee5
mov dword [eax], 3
mov eax, dword [eax]
test eax, eax
setl cl
pop esi
dec ecx
and eax, ecx
add esp, 0xc
ret
mov dword [eax], ecx
mov eax, ecx
xor ecx, ecx
test eax, eax
setl cl
pop esi
dec ecx
and eax, ecx
add esp, 0xc
ret
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x401f0e
mov eax, 0x65
call fcn.004011e0
test eax, eax
je 0x401e98
mov edx, dword [esp + 0x14]
mov dword [edx + 4], esi
mov eax, esi
pop esi
add esp, 0xc
ret
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x401f36
mov eax, 0x66
call fcn.004011e0
test eax, eax
je 0x401e98
mov eax, dword [esp + 0x14]
mov dword [eax + 0xc], esi
mov eax, esi
pop esi
add esp, 0xc
ret
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x401f5e
mov eax, 0x67
call fcn.004011e0
test eax, eax
je 0x401e98
mov ecx, dword [esp + 0x14]
mov dword [ecx + 8], esi
mov eax, esi
pop esi
add esp, 0xc
ret
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x401f86
mov eax, 0x68
call fcn.004011e0
test eax, eax
je 0x401e98
mov edx, dword [esp + 0x14]
mov dword [edx + 0x10], esi
mov eax, esi
pop esi
add esp, 0xc
ret
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x401fae
mov eax, 0x69
call fcn.004011e0
test eax, eax
je 0x401e98
mov eax, dword [esp + 0x14]
mov dword [eax + 0x14], esi
mov eax, esi
pop esi
add esp, 0xc
ret
mov esi, dword [esp + 0x1c]
mov eax, 0x6a
call fcn.004011e0
test eax, eax
je 0x401e98
mov ecx, dword [esp + 0x14]
mov dword [ecx + 0x18], esi
mov eax, esi
pop esi
add esp, 0xc
ret
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x401ffa
mov eax, 0x6b
call fcn.004011e0
test eax, eax
je 0x401e98
mov edx, dword [esp + 0x14]
mov dword [edx + 0x1c], esi
mov eax, esi
pop esi
add esp, 0xc
ret
mov ecx, dword [esp + 0x14]
xor eax, eax
cmp dword [esp + 0x1c], eax
pop esi
setne al
mov dword [ecx + 0x20], eax
add esp, 0xc
ret
mov edx, dword [esp + 0x14]
xor eax, eax
cmp dword [esp + 0x1c], eax
pop esi
setne al
mov dword [edx + 0x24], eax
add esp, 0xc
ret
mov ecx, dword [esp + 0x14]
xor eax, eax
cmp dword [esp + 0x1c], eax
pop esi
sete al
xor edx, edx
test eax, eax
sete dl
mov dword [ecx + 0x28], eax
mov eax, edx
add esp, 0xc
ret
mov ecx, dword [esp + 0x14]
xor eax, eax
cmp dword [esp + 0x1c], eax
pop esi
setne al
mov dword [ecx + 0x54], eax
add esp, 0xc
ret
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x40207f
mov eax, 0xa1
call fcn.004011e0
test eax, eax
je 0x401e98
mov edx, dword [esp + 0x14]
mov dword [edx + 0x58], esi
mov eax, esi
pop esi
add esp, 0xc
ret
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x4020a7
mov eax, 0xa2
call fcn.004011e0
test eax, eax
je 0x401e98
mov eax, dword [esp + 0x14]
mov dword [eax + 0x60], esi
mov eax, esi
pop esi
add esp, 0xc
ret
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x4020cf
mov eax, 0xa3
call fcn.004011e0
test eax, eax
je 0x401e98
mov ecx, dword [esp + 0x14]
mov dword [ecx + 0x5c], esi
mov eax, esi
pop esi
add esp, 0xc
ret
mov eax, dword [esp + 0x1c]
cmp eax, 0x18
jg 0x401e98
mov edx, dword [esp + 0x14]
mov dword [edx + 0x64], eax
pop esi
add esp, 0xc
ret
lea eax, [esp + 4]
push 0x190
push eax
call sym.WarZ.exe_ZSTD_cParam_getBounds
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov esi, dword [eax + 8]
add esp, 8
cmp ecx, 0xffffff88
ja 0x402131
mov eax, dword [esp + 0x1c]
cmp eax, edx
jge 0x40211f
mov eax, edx
cmp eax, esi
jle 0x402125
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword [ecx + 0x44], eax
pop esi
add esp, 0xc
ret
mov eax, ecx
pop esi
add esp, 0xc
ret
cmp eax, 0x3e8
jg 0x402243
je 0x40222e
sub eax, 0x191
je 0x4021dc
sub eax, 1
je 0x40219d
sub eax, 0x62
jne case.default.0x402251
lea edx, [esp + 4]
push 0x192
push edx
call sym.WarZ.exe_ZSTD_cParam_getBounds
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov esi, dword [eax + 8]
add esp, 8
cmp ecx, 0xffffff88
ja 0x402131
mov eax, dword [esp + 0x1c]
cmp eax, edx
jge 0x40218b
mov eax, edx
cmp eax, esi
jle 0x402191
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword [ecx + 0x50], eax
pop esi
add esp, 0xc
ret
lea edx, [esp + 4]
push 0x192
push edx
call sym.WarZ.exe_ZSTD_cParam_getBounds
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov esi, dword [eax + 8]
add esp, 8
cmp ecx, 0xffffff88
ja 0x402131
mov eax, dword [esp + 0x1c]
cmp eax, edx
jge 0x4021ca
mov eax, edx
cmp eax, esi
jle 0x4021d0
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword [ecx + 0x4c], eax
pop esi
add esp, 0xc
ret
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x4021f1
cmp esi, 0x100000
jge 0x4021f1
mov esi, 0x100000
lea edx, [esp + 4]
push 0x191
push edx
call sym.WarZ.exe_ZSTD_cParam_getBounds
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
add esp, 8
cmp ecx, 0xffffff88
ja 0x402131
cmp esi, edx
jge 0x40221a
mov esi, edx
cmp esi, eax
jle 0x402220
mov esi, eax
mov eax, dword [esp + 0x14]
mov dword [eax + 0x48], esi
mov eax, esi
pop esi
add esp, 0xc
ret
mov ecx, dword [esp + 0x14]
xor eax, eax
cmp dword [esp + 0x1c], eax
pop esi
setne al
mov dword [ecx + 0x30], eax
add esp, 0xc
ret
add eax, 0xfffffc17
cmp eax, 8
ja case.default.0x402251
jmp dword [eax*4 + 0x4024ac]
mov esi, dword [esp + 0x1c]
mov eax, 0x3e9
call fcn.004011e0
test eax, eax
je 0x401e98
mov edx, dword [esp + 0x14]
mov dword [edx + 0x3c], esi
mov eax, esi
pop esi
add esp, 0xc
ret
mov esi, dword [esp + 0x1c]
mov eax, 0x3ea
call fcn.004011e0
test eax, eax
je 0x401e98
mov eax, dword [esp + 0x14]
mov dword [eax + 0x40], esi
mov eax, esi
pop esi
add esp, 0xc
ret
mov ecx, dword [esp + 0x14]
xor eax, eax
cmp dword [esp + 0x1c], eax
pop esi
setne al
mov dword [ecx + 0x6c], eax
add esp, 0xc
ret
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x4022cf
mov eax, 0x3eb
call fcn.004011e0
test eax, eax
je 0x401e98
mov edx, dword [esp + 0x14]
mov dword [edx + 0x34], esi
mov eax, esi
pop esi
add esp, 0xc
ret
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x4022f7
mov eax, 0x3ec
call fcn.004011e0
test eax, eax
je 0x401e98
mov eax, dword [esp + 0x14]
mov dword [eax + 0x38], esi
mov eax, esi
pop esi
add esp, 0xc
ret
mov esi, dword [esp + 0x1c]
mov eax, 0x3ee
call fcn.004011e0
test eax, eax
je 0x401e98
mov ecx, dword [esp + 0x14]
mov dword [ecx + 0x70], esi
mov eax, esi
pop esi
add esp, 0xc
ret
mov esi, dword [esp + 0x1c]
mov eax, 0x3ef
call fcn.004011e0
test eax, eax
je 0x401e98
mov edx, dword [esp + 0x14]
mov dword [edx + 0x74], esi
mov eax, esi
pop esi
add esp, 0xc
ret
mov esi, dword [esp + 0x1c]
mov eax, 0x3f0
call fcn.004011e0
test eax, eax
je 0x401e98
mov eax, dword [esp + 0x14]
mov dword [eax + 0x78], esi
mov eax, esi
pop esi
add esp, 0xc
ret
mov esi, dword [esp + 0x1c]
mov eax, 0x3f1
call fcn.004011e0
test eax, eax
je 0x401e98
mov ecx, dword [esp + 0x14]
mov dword [ecx + 0x7c], esi
mov eax, esi
pop esi
add esp, 0xc
ret
mov eax, 0xffffffd8
pop esi
add esp, 0xc
ret