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

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0xc
cmp eax, 0x190
push esi
jg 0x415f78
je 0x415f36
lea ecx, [eax - 0xa]
cmp ecx, 0xc0
ja case.default.0x416091
movzx ecx, byte [ecx + 0x416228]
jmp dword [ecx*4 + 0x4161e0]
mov esi, dword [esp + 0x1c]
mov eax, 0xa
call fcn.004150a0
test eax, eax
jne 0x415ce2
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.00415ae0
cmp eax, 0xffffff88
ja 0x4161da
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
add eax, 0x2c
test ecx, ecx
jne 0x415d25
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 0x415d4e
mov eax, 0x65
call fcn.004150a0
test eax, eax
je 0x415cd8
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 0x415d76
mov eax, 0x66
call fcn.004150a0
test eax, eax
je 0x415cd8
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 0x415d9e
mov eax, 0x67
call fcn.004150a0
test eax, eax
je 0x415cd8
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 0x415dc6
mov eax, 0x68
call fcn.004150a0
test eax, eax
je 0x415cd8
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 0x415dee
mov eax, 0x69
call fcn.004150a0
test eax, eax
je 0x415cd8
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.004150a0
test eax, eax
je 0x415cd8
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 0x415e3a
mov eax, 0x6b
call fcn.004150a0
test eax, eax
je 0x415cd8
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 0x415ebf
mov eax, 0xa1
call fcn.004150a0
test eax, eax
je 0x415cd8
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 0x415ee7
mov eax, 0xa2
call fcn.004150a0
test eax, eax
je 0x415cd8
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 0x415f0f
mov eax, 0xa3
call fcn.004150a0
test eax, eax
je 0x415cd8
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 0x415cd8
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.WarZlauncher.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 0x415f71
mov eax, dword [esp + 0x1c]
cmp eax, edx
jge 0x415f5f
mov eax, edx
cmp eax, esi
jle 0x415f65
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 0x416083
je 0x41606e
sub eax, 0x191
je 0x41601c
sub eax, 1
je 0x415fdd
sub eax, 0x62
jne case.default.0x416091
lea edx, [esp + 4]
push 0x192
push edx
call sym.WarZlauncher.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 0x415f71
mov eax, dword [esp + 0x1c]
cmp eax, edx
jge 0x415fcb
mov eax, edx
cmp eax, esi
jle 0x415fd1
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.WarZlauncher.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 0x415f71
mov eax, dword [esp + 0x1c]
cmp eax, edx
jge 0x41600a
mov eax, edx
cmp eax, esi
jle 0x416010
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 0x416031
cmp esi, 0x100000
jge 0x416031
mov esi, 0x100000
lea edx, [esp + 4]
push 0x191
push edx
call sym.WarZlauncher.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 0x415f71
cmp esi, edx
jge 0x41605a
mov esi, edx
cmp esi, eax
jle 0x416060
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.0x416091
jmp dword [eax*4 + 0x4162ec]
mov esi, dword [esp + 0x1c]
mov eax, 0x3e9
call fcn.004150a0
test eax, eax
je 0x415cd8
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.004150a0
test eax, eax
je 0x415cd8
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 0x41610f
mov eax, 0x3eb
call fcn.004150a0
test eax, eax
je 0x415cd8
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 0x416137
mov eax, 0x3ec
call fcn.004150a0
test eax, eax
je 0x415cd8
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.004150a0
test eax, eax
je 0x415cd8
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.004150a0
test eax, eax
je 0x415cd8
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.004150a0
test eax, eax
je 0x415cd8
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.004150a0
test eax, eax
je 0x415cd8
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