Function at 0x453770
Capabilities:
Clear file content

Disassembly:
mov ebx, dword [ebp - 4]
xor eax, eax
mov esp, ebp
pop ebp
ret
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 4], edi
mov dword [ebp - 8], esi
mov dword [ebp - 0xc], ebx
mov esi, eax
mov ebx, dword [esi + 0x124]
mov edi, dword [esi + 0xe4]
movsx eax, byte [esi + 0x144]
lea edx, [eax - 1]
cmp edx, 7
ja case.default.0x4537a7
mov eax, dword [eax*4 + 0x4bb8b8]
jmp eax
push ebx
push dword [esi + 0x80]
push esi
call fcn.00439648
add esp, 0xc
cmp eax, 0xffffffff
je 0x453a5e
xor eax, eax
and byte [esi + 0x15c], 0xbf
test eax, eax
je 0x4537dc
mov byte [ebp - 0x14], 0xd
lea eax, [ebp - 0x14]
push 1
push eax
push esi
call fcn.00439648
add esp, 0xc
cmp eax, 0xffffffff
je 0x453a40
jmp 0x4539e9
push ebx
push dword [esi + 0x80]
push esi
call fcn.00439648
add esp, 0xc
cmp eax, 0xffffffff
je 0x453ab6
xor eax, eax
and byte [esi + 0x15c], 0xbf
test eax, eax
je 0x4539e9
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
push 4
mov edx, dword [esi + 0x38]
mov eax, ebx
shl eax, 0x10
add eax, 0x20000
shr eax, 0x10
mov byte [edx], al
mov ecx, dword [esi + 0x38]
shr eax, 8
mov byte [ecx + 1], al
push dword [esi + 0x38]
push esi
and byte [esi + 0x15c], 0xbf
call fcn.00439648
add esp, 0xc
cmp eax, 0xffffffff
je 0x453b08
push ebx
push dword [esi + 0x80]
push esi
call fcn.00439648
add esp, 0xc
cmp eax, 0xffffffff
je 0x453aea
and ebx, 1
je 0x4539e9
mov byte [ebp - 0x18], 0
lea eax, [ebp - 0x18]
push 1
push eax
push esi
call fcn.00439648
add esp, 0xc
cmp eax, 0xffffffff
je 0x453acc
jmp 0x4539e9
and byte [esi + 0x15c], 0xbf
mov dword [ebp - 0x10], ebx
lea eax, [ebp - 0x10]
push 4
push eax
push esi
call fcn.00439648
add esp, 0xc
cmp eax, 0xffffffff
je 0x453b62
push ebx
push dword [esi + 0x80]
push esi
call fcn.00439648
add esp, 0xc
cmp eax, 0xffffffff
je 0x453b44
lea eax, [ebp - 0x10]
push 4
push eax
push esi
call fcn.00439648
add esp, 0xc
cmp eax, 0xffffffff
je 0x453b26
jmp 0x4539e9
movzx eax, byte [esi + 0x15b]
and byte [esi + 0x15c], 0xbf
test al, 8
je 0x453991
movzx eax, byte [esi + 0x158]
test al, 1
je 0x453991
movsx eax, byte [esi + 0x145]
cmp eax, 2
je 0x453b80
push ebx
push dword [esi + 0x80]
push esi
call fcn.00439648
add esp, 0xc
cmp eax, 0xffffffff
je 0x453bdb
cmp ebx, edi
jge 0x4539e9
sub edi, ebx
push edi
push 0
push dword [esi + 0x38]
call fcn.004a3ab8
push edi
push dword [esi + 0x38]
push esi
call fcn.00439648
add esp, 0x18
cmp eax, 0xffffffff
je 0x453bbd
jmp 0x4539e9
push 0x10f0
push str.for_wseq.c
push 2
push 8
call fcn.00434a44
add esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, dword [ebp - 0xc]
mov edi, dword [ebp - 4]
mov dword [esi + 0xd8], eax
mov esi, dword [ebp - 8]
mov eax, 0x26
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0xd8], eax
mov eax, 0x26
jmp 0x4537c4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0xd8], eax
mov eax, 0x26
jmp 0x453874
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, dword [ebp - 0xc]
mov edi, dword [ebp - 4]
mov dword [esi + 0xd8], eax
mov esi, dword [ebp - 8]
mov eax, 0x26
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, dword [ebp - 0xc]
mov edi, dword [ebp - 4]
mov dword [esi + 0xd8], eax
mov esi, dword [ebp - 8]
mov eax, 0x26
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, dword [ebp - 0xc]
mov edi, dword [ebp - 4]
mov dword [esi + 0xd8], eax
mov esi, dword [ebp - 8]
mov eax, 0x26
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, dword [ebp - 0xc]
mov edi, dword [ebp - 4]
mov dword [esi + 0xd8], eax
mov esi, dword [ebp - 8]
mov eax, 0x26
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, dword [ebp - 0xc]
mov edi, dword [ebp - 4]
mov dword [esi + 0xd8], eax
mov esi, dword [ebp - 8]
mov eax, 0x26
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, dword [ebp - 0xc]
mov edi, dword [ebp - 4]
mov dword [esi + 0xd8], eax
mov esi, dword [ebp - 8]
mov eax, 0x26
mov esp, ebp
pop ebp
ret
mov byte [ebp - 0x14], 0x20
lea eax, [ebp - 0x14]
add edi, 0xffffffff
push 1
push eax
push esi
call fcn.00439648
add esp, 0xc
cmp eax, 0xffffffff
jne 0x453991
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, dword [ebp - 0xc]
mov edi, dword [ebp - 4]
mov dword [esi + 0xd8], eax
mov esi, dword [ebp - 8]
mov eax, 0x26
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, dword [ebp - 0xc]
mov edi, dword [ebp - 4]
mov dword [esi + 0xd8], eax
mov esi, dword [ebp - 8]
mov eax, 0x26
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, dword [ebp - 0xc]
mov edi, dword [ebp - 4]
mov dword [esi + 0xd8], eax
mov esi, dword [ebp - 8]
mov eax, 0x26
mov esp, ebp
pop ebp
ret