Function at 0x404a80
Capabilities:
Check http status code
Log keystrokes via polling
Open clipboard
Parse pe header
Read clipboard data
Write clipboard data
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
cmp byte [0x40a5dc], 0
mov eax, edx
push ebx
push esi
mov ebx, ecx
mov dword [ebp - 8], eax
push edi
mov dword [ebp - 0xc], ebx
je 0x404c0a
sub eax, 0x100
je 0x404b1c
sub eax, 2
jne 0x40595d
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
js 0x40595d
mov ecx, dword [ebp + 8]
lea eax, [ecx - 8]
cmp eax, 0x13
ja case.0x404ad3.9
movzx eax, byte [eax + 0x405980]
jmp dword [eax*4 + 0x40596c]
mov byte [0x40a5dc], 0
xor eax, eax
mov byte [0x40a9a0], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [0x40a6b8]
cmp eax, 0x46
jge 0x404b0e
mov byte [eax + 0x40a670], cl
inc eax
mov dword [0x40a6b8], eax
mov byte [0x40a9a0], 0
call fcn.00403da0
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
mov eax, dword [ebp + 8]
jns 0x404bca
cmp eax, 0x56
jne 0x404be4
push 1
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
je case.0x404d1b.8
push ebx
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je case.0x404d1b.8
push 1
xor esi, esi
call dword [sym.imp.USER32.dll_GetClipboardData]
mov edi, eax
test edi, edi
je 0x404bb1
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x404bb1
mov edx, eax
mov cl, byte [edx]
lea edx, [edx + 1]
test cl, cl
je 0x404b84
inc esi
cmp esi, 0x46
jne 0x404b75
mov ecx, 0x46
cmp esi, ecx
cmovg esi, ecx
push esi
push eax
push 0x40a670
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov byte [esi + 0x40a670], 0
mov dword [0x40a6b8], esi
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
call fcn.00403da0
mov byte [0x40a9a0], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, 0x1b
jne 0x404be4
mov byte [0x40a5dc], 0
mov byte [0x40a9a0], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, 8
jne 0x40595d
mov eax, dword [0x40a6b8]
test eax, eax
jle 0x404bfc
dec eax
mov dword [0x40a6b8], eax
mov byte [0x40a9a0], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [0x40a6c0]
mov ecx, dword [sym.imp.USER32.dll_GetKeyState]
mov esi, dword [ebp + 8]
mov dword [ebp - 4], ecx
mov edx, dword [edi + 0x14]
test edx, edx
je 0x404c2c
cmp edx, 2
jne 0x405057
cmp eax, 0x100
jne 0x405057
cmp esi, 0x47
jne 0x404d22
push 0x10
call ecx
mov ebx, dword [0x40a6c4]
mov edi, dword [0x40a6c0]
mov dword [ebp - 0x10], ebx
test ax, ax
jns 0x404cbd
movzx ecx, word [edi + 0x1e]
mov ebx, dword [ebx + 0xd4]
sub ecx, 4
mov eax, dword [edi + 8]
mov dword [edi + 0xc], ebx
mov dword [ebp - 0x14], eax
call fcn.004034c0
mov eax, dword [edi + 8]
mov ecx, dword [ebp - 0x14]
mov dword [edi + 0xc], ebx
mov dword [edi + 8], ecx
cmp eax, ebx
jge 0x404c94
movzx ecx, word [edi + 0x1e]
sub ecx, 4
mov dword [edi + 8], ebx
call fcn.004035c0
jmp 0x404ccb
mov ecx, 3
call fcn.004034c0
mov eax, dword [edi + 8]
mov ecx, dword [ebp - 0x14]
mov dword [edi + 0xc], ebx
mov dword [edi + 8], ecx
cmp eax, ebx
jl 0x404ccb
mov ecx, 3
mov dword [edi + 8], ebx
call fcn.004035c0
jmp 0x404ccb
mov dword [edi + 0xc], 0
mov dword [edi + 8], 0
mov byte [0x40a9a0], 0
mov ebx, dword [ebp - 0x10]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 8]
mov edx, dword [edi + 0x14]
cmp edx, 1
jne 0x4052e2
sub eax, 0x100
je 0x405080
sub eax, 2
jne 0x40595d
push 0x11
call ecx
test ax, ax
js 0x40595d
lea eax, [esi - 8]
cmp eax, 0x13
ja case.0x404d1b.9
movzx eax, byte [eax + 0x4059a8]
jmp dword [eax*4 + 0x405994]
cmp esi, 0xbc
jne 0x404e34
mov ebx, dword [0x40a6c4]
mov eax, dword [edi + 0xc]
dec eax
mov dword [ebp - 0x10], ebx
mov edx, dword [ebx + 0xdc]
add eax, edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], eax
cmp eax, edx
jb 0x404cd8
mov ebx, dword [0x40a6b8]
mov dword [ebp - 0x1c], ebx
mov ecx, eax
mov edx, 0x40a670
sub ebx, 4
jb 0x404d73
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x404d78
add ecx, 4
add edx, 4
sub ebx, 4
jae 0x404d62
cmp ebx, 0xfffffffc
je 0x404db9
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x404da5
cmp ebx, 0xfffffffd
je 0x404db9
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x404da5
cmp ebx, 0xfffffffe
je 0x404db9
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x404da5
cmp ebx, 0xffffffff
je 0x404db9
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x404db9
mov eax, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x1c]
dec eax
mov dword [ebp - 0x14], eax
cmp eax, dword [ebp - 0x18]
jae 0x404d56
jmp 0x404cd2
mov ebx, dword [ebp - 0x14]
movzx ecx, word [edi + 0x1e]
sub ebx, dword [ebp - 0x18]
sub ecx, 4
mov eax, dword [edi + 8]
mov dword [edi + 0xc], ebx
mov dword [ebp - 0x14], eax
call fcn.004034c0
mov eax, dword [edi + 8]
mov ecx, dword [ebp - 0x14]
mov dword [edi + 8], ecx
mov dword [edi + 0xc], ebx
cmp eax, ebx
jge 0x404df5
movzx ecx, word [edi + 0x1e]
sub ecx, 4
mov dword [edi + 8], ebx
call fcn.004035c0
jmp 0x404e1c
mov ecx, 3
call fcn.004034c0
mov dword [edi + 0xc], ebx
cmp dword [edi + 8], ebx
jl 0x404e16
mov ecx, 3
mov dword [edi + 8], ebx
call fcn.004035c0
jmp 0x404e1c
mov eax, dword [ebp - 0x14]
mov dword [edi + 8], eax
mov ecx, dword [ebp - 0x1c]
mov eax, dword [edi + 0xc]
dec ecx
add eax, ecx
mov dword [edi + 0x14], 2
mov dword [edi + 0x10], eax
jmp 0x404cd2
cmp esi, 0xbe
jne 0x404f48
mov ecx, dword [0x40a6c4]
mov ebx, dword [edi + 0xc]
mov esi, dword [0x40a6b8]
inc ebx
mov dword [ebp - 0x1c], esi
mov eax, dword [ecx + 0xd4]
mov edx, dword [ecx + 0xdc]
sub eax, esi
add eax, edx
mov dword [ebp - 0x14], edx
add ebx, edx
mov dword [ebp - 0x18], eax
cmp ebx, eax
jae case.0x404d1b.8
mov ecx, ebx
mov edx, 0x40a670
sub esi, 4
jb 0x404e91
nop
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x404e96
add ecx, 4
add edx, 4
sub esi, 4
jae 0x404e80
cmp esi, 0xfffffffc
je 0x404ed5
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x404ec3
cmp esi, 0xfffffffd
je 0x404ed5
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x404ec3
cmp esi, 0xfffffffe
je 0x404ed5
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x404ec3
cmp esi, 0xffffffff
je 0x404ed5
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x404ed5
mov esi, dword [ebp - 0x1c]
inc ebx
cmp ebx, dword [ebp - 0x18]
jb 0x404e73
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
movzx ecx, word [edi + 0x1e]
sub ebx, dword [ebp - 0x14]
sub ecx, 4
mov esi, dword [edi + 8]
mov dword [edi + 0xc], ebx
call fcn.004034c0
mov eax, dword [edi + 8]
mov dword [edi + 8], esi
mov dword [edi + 0xc], ebx
cmp eax, ebx
jge 0x404f08
movzx ecx, word [edi + 0x1e]
sub ecx, 4
mov dword [edi + 8], ebx
call fcn.004035c0
jmp 0x404f2c
mov ecx, 3
call fcn.004034c0
mov dword [edi + 0xc], ebx
cmp dword [edi + 8], ebx
jl 0x404f29
mov ecx, 3
mov dword [edi + 8], ebx
call fcn.004035c0
jmp 0x404f2c
mov dword [edi + 8], esi
mov ecx, dword [ebp - 0x1c]
mov eax, dword [edi + 0xc]
dec ecx
add eax, ecx
mov dword [edi + 0x14], 2
mov dword [edi + 0x10], eax
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp esi, 0x45
jne 0x404fbb
mov ebx, dword [0x40a6c4]
mov eax, dword [edi + 0xc]
mov edx, dword [ebx + 0xdc]
lea ecx, [edx + eax]
test eax, eax
je 0x404f9f
cmp byte [ecx - 1], 0xa
je 0x404f9f
cmp ecx, edx
jbe 0x404faa
dec ecx
cmp ecx, edx
jbe 0x404faa
cmp byte [ecx], 0xa
je 0x404f8d
dec ecx
cmp ecx, edx
ja 0x404f72
sub ecx, edx
mov byte [0x40a9a0], 0
mov dword [edi + 0xc], ecx
jmp 0x404cd5
inc ecx
mov byte [0x40a9a0], 0
sub ecx, edx
mov dword [edi + 0xc], ecx
jmp 0x404cd5
cmp byte [ecx], 9
jne 0x404faa
inc ecx
cmp byte [ecx], 9
je 0x404fa4
sub ecx, edx
mov byte [0x40a9a0], 0
mov dword [edi + 0xc], ecx
jmp 0x404cd5
cmp esi, 0x52
jne 0x404ffb
mov ebx, dword [0x40a6c4]
mov eax, dword [edi + 0xc]
mov edx, dword [ebx + 0xdc]
add eax, edx
mov ecx, dword [ebx + 0xd4]
add ecx, edx
cmp eax, ecx
je 0x404fea
nop dword [eax]
cmp byte [eax], 0xa
je 0x404fea
inc eax
cmp eax, ecx
jne 0x404fe0
sub eax, edx
mov byte [0x40a9a0], 0
mov dword [edi + 0xc], eax
jmp 0x404cd5
cmp esi, 0x57
jne 0x405057
push 0x407228
push dword [0x40a6c4]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov ecx, dword [0x40a6c4]
push eax
push dword [ecx + 0xd4]
mov dword [ecx + 0xd0], eax
push 1
push dword [ecx + 0xdc]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov eax, dword [0x40a6c4]
push dword [eax + 0xd0]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov edi, dword [0x40a6c0]
add esp, 0x1c
mov ebx, dword [0x40a6c4]
jmp 0x404cd5
mov ebx, dword [0x40a6c4]
jmp 0x404cdb
call fcn.00402a60
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, esi
call fcn.00402d90
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x11
call ecx
test ax, ax
jns 0x4050c8
cmp esi, 0x5a
jne 0x4050b0
push 0x10
call dword [ebp - 4]
test ax, ax
jns 0x4050a4
call fcn.00402320
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.00402170
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp esi, 0x56
jne 0x405191
mov ecx, dword [ebp - 0xc]
call fcn.004032c0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp esi, 0x25
je 0x405932
cmp esi, 0x27
jne 0x40513a
cmp byte [0x40a5dd], 1
jne 0x4050e6
mov byte [0x40a5dd], 0
mov esi, dword [0x40a6c0]
mov edi, dword [0x40a6c4]
mov ecx, dword [esi + 0xc]
inc ecx
mov dword [esi + 0xc], ecx
mov edx, dword [edi + 0xdc]
add edx, ecx
mov al, byte [edx]
and al, 0xc0
cmp al, 0x80
jne 0x40511f
nop dword [eax]
inc ecx
lea edx, [edx + 1]
mov dword [esi + 0xc], ecx
mov al, byte [edx]
and al, 0xc0
cmp al, 0x80
je 0x405110
mov eax, dword [edi + 0xd4]
cmp ecx, eax
jl 0x40512c
mov dword [esi + 0xc], eax
mov byte [0x40a9a0], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp esi, 0x26
jne 0x40514e
lea ecx, [esi - 0x25]
call fcn.00403970
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp esi, 0x28
jne 0x405162
lea ecx, [esi - 0x27]
call fcn.00403800
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp esi, 0x1b
jne 0x405191
cmp byte [0x40a5dd], 1
jne 0x405177
mov byte [0x40a5dd], 0
mov eax, dword [0x40a6c0]
mov byte [0x40a9a0], 0
mov dword [eax + 0x14], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp esi, 8
jne 0x40595d
mov edx, dword [0x40a6c0]
cmp dword [edx + 0xc], 0
je 0x40595d
mov al, byte [0x40a5dd]
test al, al
je 0x4051cb
mov ebx, dword [0x40a6c4]
cmp al, 1
jne 0x40520f
mov eax, dword [ebx + 0xe8]
cmp byte [eax + 0xe], 0
je 0x4051cf
jmp 0x40520f
cmp al, 1
jne 0x4051d6
mov byte [0x40a5dd], 0
mov ecx, 0x28
call fcn.004024d0
mov ebx, dword [0x40a6c4]
mov edx, dword [0x40a6c0]
mov ecx, dword [ebx + 0xe8]
mov eax, dword [edx + 0xc]
mov dword [ecx + 0x14], eax
mov eax, dword [ebx + 0xe8]
mov dword [eax + 0x18], 0
mov eax, dword [ebx + 0xe8]
mov byte [eax + 0xe], 1
mov ecx, dword [ebx + 0xdc]
mov edi, 1
dec ecx
add ecx, dword [edx + 0xc]
mov al, byte [ecx]
and al, 0xc0
cmp al, 0x80
jne 0x405233
mov al, byte [ecx - 1]
lea ecx, [ecx - 1]
and al, 0xc0
inc edi
cmp al, 0x80
je 0x405226
mov eax, dword [ebx + 0xe8]
add dword [eax + 0x18], edi
mov ecx, dword [ebx + 0xe8]
mov eax, dword [ecx + 0x18]
lea esi, [ecx + 0x1c]
sub eax, edi
add ecx, 0x1c
add esi, eax
lea edx, [edi + esi]
cmp esi, ecx
jb 0x405260
mov al, byte [esi]
dec esi
mov byte [edx], al
dec edx
cmp esi, ecx
jae 0x405256
mov eax, dword [0x40a6c0]
mov esi, dword [ebx + 0xdc]
mov ecx, dword [eax + 0xc]
dec ecx
add esi, ecx
test edi, edi
jle 0x405286
mov ecx, edi
mov al, byte [esi]
lea esi, [esi - 1]
dec ecx
mov byte [edx], al
lea edx, [edx - 1]
test ecx, ecx
jg 0x405277
mov eax, dword [0x40a6c0]
mov ecx, dword [ebx + 0xdc]
mov byte [0x40a5dd], 1
mov byte [0x40a9a0], 0
mov edx, dword [eax + 0xc]
mov eax, dword [ebx + 0xd4]
add edx, ecx
mov esi, edx
add eax, ecx
sub esi, edi
mov dword [ebp - 0x1c], eax
cmp edx, eax
je 0x4052cd
mov ecx, eax
nop dword [eax]
mov al, byte [edx]
lea esi, [esi + 1]
inc edx
mov byte [esi - 1], al
cmp edx, ecx
jne 0x4052c0
mov eax, dword [0x40a6c0]
sub dword [eax + 0xc], edi
sub dword [ebx + 0xd4], edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test edx, edx
jne 0x405778
sub eax, 0x100
je 0x4052fa
sub eax, 4
jne 0x40595d
cmp esi, 0x51
jne 0x405311
push dword [ebp - 0xc]
call dword [sym.imp.USER32.dll_DestroyWindow]
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp esi, 0xd
jne 0x40532d
mov dword [edi + 0x14], 1
xor eax, eax
mov byte [0x40a9a0], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp esi, 0xbf
jne 0x405356
mov byte [0x40a5dc], 1
xor eax, eax
mov dword [0x40a6b8], 0
mov byte [0x40a9a0], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp esi, 0x54
jne 0x405384
push 0x11
call ecx
test ax, ax
jns case.0x404d1b.8
push 0x10
call dword [ebp - 4]
test ax, ax
jns case.0x404d1b.8
call fcn.00403c50
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp esi, 0x34
jne 0x405390
push str.c:_shared_text_RANDOM.txt
jmp 0x40539a
cmp esi, 0x50
jne 0x4053bb
push str.c:_shared_my_programs_firefox_addons_SaveVIDEOS_homework_content_SaveVIDEOS.js
push 0xc8
push 0x40a798
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
add esp, 0xc
call fcn.004026e0
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp esi, 0x41
jne 0x4053ce
call fcn.00402c20
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp esi, 0xba
jne 0x4054b9
push 0x10
call ecx
test ax, ax
jns 0x405460
mov ebx, dword [0x40a6c4]
push dword [0x40a5d8]
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je case.0x404d1b.8
call dword [sym.imp.USER32.dll_EmptyClipboard]
lea ecx, [ebx + 1]
nop dword [eax]
mov al, byte [ebx]
inc ebx
test al, al
jne 0x405410
sub ebx, ecx
lea eax, [ebx + 1]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push ebx
push dword [ebp - 0x1c]
mov esi, eax
push esi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov byte [esi + ebx], 0
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [0x40a6c0]
mov ebx, dword [edi + 0xc]
call fcn.00402fa0
mov eax, dword [0x40a6c4]
mov ecx, dword [edi + 0xc]
mov esi, dword [edi + 0x10]
sub esi, ecx
mov eax, dword [eax + 0xdc]
add eax, ecx
cmp esi, 0xc8
jg 0x40548d
jl 0x405492
mov esi, 0xc7
push esi
push eax
push 0x40a798
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov byte [esi + 0x40a798], 0
mov dword [edi + 0xc], ebx
call fcn.004026e0
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp esi, 0x25
je 0x405932
cmp esi, 0x4a
je 0x405932
cmp esi, 0x27
je 0x405739
cmp esi, 0x4c
je 0x405739
cmp esi, 0x26
je 0x405951
cmp esi, 0x49
je 0x405951
cmp esi, 0x28
je 0x40593e
cmp esi, 0x4b
je 0x40593e
cmp esi, 0x4d
jne 0x40552a
push 0x10
call ecx
test ax, ax
jns 0x405517
lea ecx, [esi - 0x4a]
call fcn.004034c0
mov ecx, 3
call fcn.00403800
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp esi, 0x4f
jne 0x405553
push 0x10
call ecx
test ax, ax
jns 0x405540
lea ecx, [esi - 0x4c]
call fcn.004035c0
mov ecx, 3
call fcn.00403970
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp esi, 0x21
jne 0x40556f
mov dword [edi + 8], 0
xor eax, eax
mov byte [0x40a9a0], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp esi, 0x53
jne 0x405591
mov eax, dword [edi + 0xc]
mov dword [edi + 0x10], eax
xor eax, eax
mov dword [edi + 0x14], 2
mov byte [0x40a9a0], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp esi, 0x5a
jne 0x40559f
push 0x10
call ecx
jmp 0x405093
cmp esi, 0x56
jne 0x4055b5
mov ecx, dword [ebp - 0xc]
call fcn.004032c0
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp esi, 0x48
jne 0x4056dd
push 0x10
mov byte [0x40a9a0], 0
call ecx
test ax, ax
jns 0x405624
mov edx, dword [0x40a6c4]
mov esi, dword [0x40a6c0]
mov eax, dword [edx + 0xdc]
mov edi, dword [esi + 0xc]
lea ecx, [edi + eax]
cmp ecx, eax
ja 0x4055fa
call fcn.00402a60
mov esi, dword [0x40a6c0]
dec dword [esi + 0xc]
jmp 0x405665
lea eax, [edi - 1]
dec ecx
mov dword [esi + 0xc], eax
cmp ecx, dword [edx + 0xdc]
jbe 0x40565a
nop dword [eax]
cmp byte [ecx], 0xa
je 0x40565a
dec eax
dec ecx
mov dword [esi + 0xc], eax
cmp ecx, dword [edx + 0xdc]
ja 0x405610
jmp 0x40565a
mov eax, dword [0x40a6c4]
mov ebx, dword [0x40a6c0]
mov ecx, dword [eax + 0xdc]
mov esi, dword [ebx + 0xc]
mov edi, dword [eax + 0xd4]
add edi, ecx
lea edx, [ecx + esi]
cmp edx, edi
je 0x40565a
mov al, byte [edx]
test al, al
je 0x40565a
cmp al, 0xa
je 0x40565a
inc edx
inc esi
mov dword [ebx + 0xc], esi
cmp edx, edi
jne 0x405647
call fcn.00402a60
mov esi, dword [0x40a6c0]
cmp byte [0x40a5dd], 1
jne 0x405675
mov byte [0x40a5dd], 0
movzx ecx, word [esi + 0x1e]
mov edi, dword [esi + 0xc]
sub ecx, 4
mov ebx, dword [esi + 8]
call fcn.004034c0
mov eax, dword [esi + 8]
mov dword [esi + 0xc], edi
mov dword [esi + 8], ebx
cmp eax, edi
jge 0x4056ac
movzx ecx, word [esi + 0x1e]
sub ecx, 4
mov dword [esi + 8], edi
call fcn.004035c0
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, 3
call fcn.004034c0
mov eax, dword [esi + 8]
mov dword [esi + 0xc], edi
mov dword [esi + 8], ebx
cmp eax, edi
jl case.0x404d1b.8
mov ecx, 3
mov dword [esi + 8], edi
call fcn.004035c0
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp esi, 0x44
jne case.0x404d1b.8
mov byte [0x40a9a0], 0
mov dword [edi + 0x14], 2
call fcn.00402fa0
call fcn.00403020
push 0x10
call dword [ebp - 4]
test ax, ax
jns 0x405710
lea ecx, [esi - 0x43]
call fcn.00403970
cmp byte [0x40a5dd], 1
mov eax, dword [0x40a6c0]
mov dword [eax + 0x14], 0
jne case.0x404d1b.8
mov byte [0x40a5dd], 0
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [0x40a5dd], 1
jne 0x405749
mov byte [0x40a5dd], 0
mov ecx, dword [edi + 0xc]
inc ecx
mov dword [edi + 0xc], ecx
mov edx, dword [ebx + 0xdc]
add edx, ecx
mov al, byte [edx]
and al, 0xc0
cmp al, 0x80
jne 0x405917
inc ecx
lea edx, [edx + 1]
mov dword [edi + 0xc], ecx
mov al, byte [edx]
and al, 0xc0
cmp al, 0x80
je 0x405764
jmp 0x405917
cmp edx, 2
jne 0x40595d
sub eax, 0x100
je 0x405791
sub eax, 4
jne 0x40595d
cmp esi, 0x1b
jne 0x4057ad
mov dword [edi + 0x14], 0
xor eax, eax
mov byte [0x40a9a0], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp esi, 0x26
je 0x405951
cmp esi, 0x49
je 0x405951
cmp esi, 0x28
je 0x40593e
cmp esi, 0x4b
je 0x40593e
cmp esi, 0x25
je 0x405932
cmp esi, 0x4a
je 0x405932
cmp esi, 0x27
je 0x4058e1
cmp esi, 0x4c
je 0x4058e1
cmp esi, 0x4d
jne 0x40581e
push 0x10
call ecx
test ax, ax
js 0x40580b
lea ecx, [esi - 0x4a]
call fcn.00403800
mov ecx, 3
call fcn.004034c0
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp esi, 0x4f
jne 0x405847
push 0x10
call ecx
test ax, ax
js 0x405834
lea ecx, [esi - 0x4c]
call fcn.00403970
mov ecx, 3
call fcn.004035c0
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp esi, 0x44
jne 0x405866
call fcn.00403020
mov eax, dword [0x40a6c0]
mov dword [eax + 0x14], 0
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp esi, 0xd
jne 0x405885
call fcn.00403020
mov eax, dword [0x40a6c0]
mov dword [eax + 0x14], 1
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp esi, 0x58
jne 0x4058a0
mov ecx, dword [ebp - 0xc]
call fcn.004031c0
call fcn.00403020
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp esi, 0x43
jne 0x4058b6
mov ecx, dword [ebp - 0xc]
call fcn.004031c0
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp esi, 0x56
jne case.0x404d1b.8
call fcn.00403020
mov ecx, dword [ebp - 0xc]
call fcn.004032c0
mov eax, dword [0x40a6c0]
mov dword [eax + 0x14], 0
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [0x40a5dd], 1
jne 0x4058f1
mov byte [0x40a5dd], 0
mov ecx, dword [edi + 0xc]
inc ecx
mov dword [edi + 0xc], ecx
mov edx, dword [ebx + 0xdc]
add edx, ecx
mov al, byte [edx]
and al, 0xc0
cmp al, 0x80
jne 0x405917
inc ecx
lea edx, [edx + 1]
mov dword [edi + 0xc], ecx
mov al, byte [edx]
and al, 0xc0
cmp al, 0x80
je 0x405908
mov eax, dword [ebx + 0xd4]
cmp ecx, eax
jl 0x405924
mov dword [edi + 0xc], eax
mov byte [0x40a9a0], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.00403d40
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, 1
call fcn.00403800
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, 1
call fcn.00403970
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.00405be0
nop dword [eax]
pop ebx
pop ecx
inc eax
add cl, dh
dec edx
inc eax
add byte [ecx + ebx*2 + 0x40], ah
add dl, bl
dec edx
inc eax
add cl, dh
dec edx
inc eax
add byte [eax], al
add dword [edx], eax
add al, 4
add eax, dword [esp + eax]
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 0
pop ebx
pop ecx
inc eax
add byte [eax + 0x50], dh
inc eax
add byte [ecx + ebx*2 + 0x40], ah
add byte [edx + 0x50], ah
inc eax
add byte [eax + 0x50], dh
inc eax
add byte [eax], al
add dword [edx], eax
add al, 4
add eax, dword [esp + eax]
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 0
int3