Function at 0x1e3f64e
Capabilities:
Allocate or change rwx memory
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x290
push ebx
push esi
push edi
and dword [ebp - 0x260], 0
jmp 0x1e3f670
mov eax, dword [section.sect_2]
add eax, section.sect_2
mov dword [0x1e3f024], eax
mov eax, dword [0x1e3f024]
mov eax, dword [eax + 4]
and eax, 0x80000000
je 0x1e3f6ef
cmp dword [ebp + 0xc], 1
jne 0x1e3f6be
mov eax, dword [ebp + 8]
mov dword [0x1e3f034], eax
cmp dword [0x1e3f040], 0
jne 0x1e3f6be
push 4
push 0x1000
push 0x320
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [0x1e3f040], eax
cmp dword [ebp + 0xc], 0
jne 0x1e3f6d7
cmp dword [0x1e3f038], 0
je 0x1e3f6d7
jmp 0x1e40141
cmp dword [0x1e3f02c], 0
je 0x1e3f6e5
jmp 0x1e400ac
mov dword [0x1e3f02c], 1
mov eax, dword [0x1e3f024]
cmp dword [eax + 0x70], 0
jne 0x1e3f716
push 0x10
push 0
call fcn.01e40eba
pop ecx
push eax
push 1
call fcn.01e40eba
pop ecx
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
call fcn.01e401bc
mov dword [0x1e3f028], eax
push 4
push 0x1000
push 0x80
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0x230], eax
push 0x104
lea eax, [ebp - 0x228]
push eax
push dword [0x1e3f034]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp + eax - 0x229]
mov dword [ebp - 0x25c], eax
mov eax, dword [ebp - 0x25c]
movsx eax, byte [eax]
cmp eax, 0x5c
je 0x1e3f77c
mov eax, dword [ebp - 0x25c]
dec eax
mov dword [ebp - 0x25c], eax
jmp 0x1e3f75f
mov eax, dword [ebp - 0x25c]
inc eax
mov dword [ebp - 0x25c], eax
mov eax, dword [ebp - 0x25c]
lea ecx, [ebp - 0x228]
sub eax, ecx
mov dword [ebp - 0xc], eax
push dword [ebp - 0xc]
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x118]
push eax
call fcn.01e3f41c
add esp, 0xc
mov eax, dword [ebp - 0xc]
mov byte [ebp + eax - 0x117], 0
and dword [ebp - 0x240], 0
mov eax, dword [0x1e3f024]
mov eax, dword [eax + 4]
and eax, 0x4000000
jne 0x1e3f7e3
mov eax, dword [0x1e3f024]
mov eax, dword [eax + 4]
and eax, 0x2000000
je 0x1e3f829
call fcn.01e3f5a2
mov dword [ebp - 0x240], eax
mov eax, dword [0x1e3f024]
mov eax, dword [eax + 4]
and eax, 0x4000000
je 0x1e3f829
cmp dword [ebp - 0x240], 0
je 0x1e3f829
push 0x10
push dword [ebp - 0x25c]
push 0x18
call fcn.01e40eba
pop ecx
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x1e40141
mov eax, dword [0x1e3f028]
mov dword [ebp - 0x234], eax
mov eax, dword [ebp - 0x234]
mov ecx, dword [0x1e3f028]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x258], ecx
mov eax, dword [0x1e3f024]
cmp dword [eax + 0x9c], 0
je 0x1e3f920
mov eax, dword [0x1e3f024]
mov ecx, dword [0x1e3f028]
add ecx, dword [eax + 0xb4]
mov dword [ebp - 0x248], ecx
mov eax, dword [ebp - 0x248]
mov dword [ebp - 4], eax
mov eax, dword [0x1e3f024]
mov eax, dword [eax + 0x60]
mov dword [ebp - 0x238], eax
mov eax, dword [0x1e3f024]
mov ecx, dword [0x1e3f028]
add ecx, dword [eax + 0x68]
mov dword [ebp - 0x11c], ecx
push dword [ebp - 0x248]
mov eax, dword [0x1e3f024]
push dword [eax + 0x5c]
push dword [ebp - 0x11c]
call fcn.01e3f312
add esp, 0xc
mov eax, dword [0x1e3f024]
push dword [eax + 0xa0]
push dword [ebp - 4]
call fcn.01e40a2a
pop ecx
pop ecx
mov dword [ebp - 0x260], eax
cmp dword [ebp - 0x260], 0
jge 0x1e3f911
push dword [ebp - 0x260]
push 2
call fcn.01e40eba
pop ecx
push eax
push dword [ebp - 0x230]
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 0x30
push dword [ebp - 0x25c]
push dword [ebp - 0x230]
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x1e40141
mov eax, dword [0x1e3f024]
cmp dword [eax + 0x98], 0
je 0x1e3fad8
push 4
push 0x1000
mov eax, dword [0x1e3f024]
push dword [eax + 0x5c]
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x248], eax
cmp dword [ebp - 0x248], 0
jne 0x1e3f981
push 0x30
push dword [ebp - 0x25c]
push 3
call fcn.01e40eba
pop ecx
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x1e40141
mov eax, dword [0x1e3f024]
mov eax, dword [eax + 0x60]
mov dword [ebp - 0x238], eax
mov eax, dword [0x1e3f024]
mov ecx, dword [0x1e3f028]
add ecx, dword [eax + 0x68]
mov eax, dword [0x1e3f024]
mov esi, dword [ebp - 0x258]
mov eax, dword [eax + 0xac]
xor edx, edx
div dword [esi + 0x3c]
add ecx, edx
mov dword [ebp - 0x11c], ecx
push dword [ebp - 0x248]
mov eax, dword [0x1e3f024]
push dword [eax + 0x5c]
push dword [ebp - 0x11c]
call fcn.01e3f312
add esp, 0xc
jmp 0x1e3f9e6
mov eax, dword [ebp - 0x260]
inc eax
mov dword [ebp - 0x260], eax
mov eax, dword [0x1e3f024]
movzx eax, word [eax + 0xa4]
cmp dword [ebp - 0x260], eax
jge 0x1e3fac3
cmp dword [ebp - 0x240], 0
je 0x1e3fa3f
mov eax, dword [0x1e3f024]
mov eax, dword [eax + 4]
and eax, 0x2000000
je 0x1e3fa3f
mov eax, dword [ebp - 0x260]
imul eax, eax, 0x18
mov ecx, dword [0x1e3f024]
mov eax, dword [ecx + eax + 0xbc]
and eax, 0x10000000
je 0x1e3fa3f
mov dword [ebp - 0x27c], 1
jmp 0x1e3fa46
and dword [ebp - 0x27c], 0
mov eax, dword [ebp - 0x27c]
mov dword [ebp - 0x268], eax
cmp dword [ebp - 0x268], 0
jne 0x1e3fa9c
mov eax, dword [ebp - 0x260]
imul eax, eax, 0x18
mov ecx, dword [0x1e3f024]
push dword [ecx + eax + 0xb0]
push dword [ebp - 0x248]
mov eax, dword [ebp - 0x260]
imul eax, eax, 0x18
mov ecx, dword [0x1e3f024]
mov edx, dword [0x1e3f028]
add edx, dword [ecx + eax + 0xb4]
push edx
call fcn.01e3f41c
add esp, 0xc
mov eax, dword [ebp - 0x260]
imul eax, eax, 0x18
mov ecx, dword [0x1e3f024]
mov edx, dword [ebp - 0x248]
add edx, dword [ecx + eax + 0xb0]
mov dword [ebp - 0x248], edx
jmp 0x1e3f9d9
push 0x8000
push 0
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x1e3fc5a
mov eax, dword [0x1e3f024]
mov ecx, dword [0x1e3f028]
add ecx, dword [eax + 0x68]
mov eax, dword [0x1e3f024]
sub ecx, dword [eax + 0x64]
mov eax, dword [0x1e3f024]
mov esi, dword [ebp - 0x258]
mov eax, dword [eax + 0xac]
xor edx, edx
div dword [esi + 0x3c]
add ecx, edx
mov dword [ebp - 4], ecx
and dword [ebp - 0x260], 0
jmp 0x1e3fb1f
mov eax, dword [ebp - 0x260]
inc eax
mov dword [ebp - 0x260], eax
mov eax, dword [0x1e3f024]
movzx eax, word [eax + 0xa4]
cmp dword [ebp - 0x260], eax
jge 0x1e3fc5a
mov eax, dword [ebp - 0x260]
imul eax, eax, 0x18
mov ecx, dword [0x1e3f024]
cmp dword [ecx + eax + 0xa8], 0
je 0x1e3fc55
mov eax, dword [ebp - 0x260]
imul eax, eax, 0x18
mov ecx, dword [0x1e3f024]
cmp dword [ecx + eax + 0xb0], 0
jbe 0x1e3fc55
mov eax, dword [ebp - 0x260]
imul eax, eax, 0x18
mov ecx, dword [0x1e3f024]
mov edx, dword [0x1e3f028]
add edx, dword [ecx + eax + 0xb4]
mov dword [ebp - 0x248], edx
mov eax, dword [ebp - 0x260]
imul eax, eax, 0x18
mov ecx, dword [0x1e3f024]
mov eax, dword [ecx + eax + 0xb0]
mov dword [ebp - 0x238], eax
mov eax, dword [ebp - 0x260]
imul eax, eax, 0x18
mov ecx, dword [0x1e3f024]
mov edx, dword [ebp - 4]
add edx, dword [ecx + eax + 0xac]
mov dword [ebp - 0x11c], edx
cmp dword [ebp - 0x240], 0
je 0x1e3fc0f
mov eax, dword [0x1e3f024]
mov eax, dword [eax + 4]
and eax, 0x2000000
je 0x1e3fc0f
mov eax, dword [ebp - 0x260]
imul eax, eax, 0x18
mov ecx, dword [0x1e3f024]
mov eax, dword [ecx + eax + 0xbc]
and eax, 0x10000000
je 0x1e3fc0f
mov dword [ebp - 0x280], 1
jmp 0x1e3fc16
and dword [ebp - 0x280], 0
mov eax, dword [ebp - 0x280]
mov dword [ebp - 0x26c], eax
cmp dword [ebp - 0x26c], 0
jne 0x1e3fc55
push dword [ebp - 0x248]
mov eax, dword [ebp - 0x260]
imul eax, eax, 0x18
mov ecx, dword [0x1e3f024]
push dword [ecx + eax + 0xb0]
push dword [ebp - 0x11c]
call fcn.01e3f312
add esp, 0xc
jmp 0x1e3fb12
mov eax, dword [0x1e3f024]
mov ecx, dword [0x1e3f028]
add ecx, dword [eax + 0x84]
mov dword [ebp - 0x254], ecx
and dword [ebp - 0x24c], 0
mov eax, dword [ebp - 0x254]
cmp dword [eax + 0xc], 0
je 0x1e3ffc3
mov eax, dword [0x1e3f024]
cmp dword [eax + 0x84], 0
je 0x1e3ffc3
and dword [ebp - 0x270], 0
lea eax, [ebp - 0x244]
push eax
push 0x40
push 0x14
push dword [ebp - 0x254]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp - 0x254]
mov ecx, dword [0x1e3f028]
add ecx, dword [eax + 0xc]
mov dword [ebp - 0x23c], ecx
push dword [ebp - 0x23c]
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp - 0x264], eax
cmp dword [ebp - 0x264], 0
jne 0x1e3fd11
push 8
push 0
push dword [ebp - 0x23c]
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov dword [ebp - 0x264], eax
cmp dword [ebp - 0x264], 0
je 0x1e3fd11
mov dword [ebp - 0x270], 1
cmp dword [ebp - 0x264], 0
jne 0x1e3fdaf
mov eax, dword [ebp - 0x23c]
mov dword [ebp - 0x284], eax
mov eax, dword [ebp - 0xc]
lea eax, [ebp + eax - 0x118]
mov dword [ebp - 0x288], eax
mov eax, dword [ebp - 0x288]
mov dword [ebp - 0x28c], eax
mov eax, dword [ebp - 0x284]
mov al, byte [eax]
mov byte [ebp - 0x28d], al
mov eax, dword [ebp - 0x288]
mov cl, byte [ebp - 0x28d]
mov byte [eax], cl
mov eax, dword [ebp - 0x284]
inc eax
mov dword [ebp - 0x284], eax
mov eax, dword [ebp - 0x288]
inc eax
mov dword [ebp - 0x288], eax
cmp byte [ebp - 0x28d], 0
jne 0x1e3fd46
push 8
push 0
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov dword [ebp - 0x264], eax
cmp dword [ebp - 0x264], 0
je 0x1e3fdaf
mov dword [ebp - 0x270], 1
cmp dword [ebp - 0x264], 0
jne 0x1e3fdf6
push dword [ebp - 0x23c]
push 4
call fcn.01e40eba
pop ecx
push eax
push dword [ebp - 0x230]
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 0x30
push dword [ebp - 0x25c]
push dword [ebp - 0x230]
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x1e40141
cmp dword [ebp - 0x270], 0
je 0x1e3fe2a
cmp dword [0x1e3f040], 0
je 0x1e3fe2a
mov eax, dword [ebp - 0x24c]
mov ecx, dword [0x1e3f040]
mov edx, dword [ebp - 0x264]
mov dword [ecx + eax*4], edx
mov eax, dword [ebp - 0x24c]
inc eax
mov dword [ebp - 0x24c], eax
mov eax, dword [ebp - 0x254]
mov ecx, dword [0x1e3f028]
add ecx, dword [eax + 0x10]
mov dword [ebp - 0x22c], ecx
mov eax, dword [ebp - 0x254]
cmp dword [eax], 0
jne 0x1e3fe55
mov eax, dword [ebp - 0x22c]
mov dword [ebp - 0x10], eax
jmp 0x1e3fe66
mov eax, dword [ebp - 0x254]
mov ecx, dword [0x1e3f028]
add ecx, dword [eax]
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
cmp dword [eax], 0
je 0x1e3ffaf
and dword [ebp - 0x274], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
and eax, 0x80000000
je 0x1e3fea7
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
and eax, 0xffff
movzx eax, ax
push eax
push dword [ebp - 0x264]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x274], eax
jmp 0x1e3fecd
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
add eax, dword [0x1e3f028]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
inc eax
inc eax
push eax
push dword [ebp - 0x264]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x274], eax
cmp dword [ebp - 0x274], 0
jne 0x1e3ff64
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
and eax, 0x80000000
je 0x1e3ff1a
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
and eax, 0xffff
movzx eax, ax
push eax
push dword [ebp - 0x23c]
push dword [ebp - 0x25c]
push 5
call fcn.01e40eba
pop ecx
push eax
push dword [ebp - 0x230]
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
jmp 0x1e3ff44
mov eax, dword [ebp - 8]
inc eax
inc eax
push eax
push dword [ebp - 0x23c]
push dword [ebp - 0x25c]
push 6
call fcn.01e40eba
pop ecx
push eax
push dword [ebp - 0x230]
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
push 0x30
push dword [ebp - 0x25c]
push dword [ebp - 0x230]
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x1e40141
lea eax, [ebp - 0x244]
push eax
push 0x40
push 4
push dword [ebp - 0x22c]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push 4
lea eax, [ebp - 0x274]
push eax
push dword [ebp - 0x22c]
call fcn.01e3f41c
add esp, 0xc
mov eax, dword [ebp - 0x10]
add eax, 4
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x22c]
add eax, 4
mov dword [ebp - 0x22c], eax
jmp 0x1e3fe66
mov eax, dword [ebp - 0x254]
add eax, 0x14
mov dword [ebp - 0x254], eax
jmp 0x1e3fc78
call fcn.01e3f489
test eax, eax
jne 0x1e40003
push 7
call fcn.01e40eba
pop ecx
push eax
push dword [ebp - 0x230]
call dword [sym.imp.USER32.dll_wsprintfA]
pop ecx
pop ecx
push 0x10
push dword [ebp - 0x25c]
push dword [ebp - 0x230]
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x1e40141
mov eax, dword [0x1e3f024]
cmp dword [eax + 0x94], 0
je 0x1e40016
call fcn.01e4022f
mov eax, dword [0x1e3f024]
mov ecx, dword [0x1e3f028]
add ecx, dword [eax + 0x6c]
mov dword [0x1e3f03c], ecx
lea eax, [ebp - 0x244]
push eax
push 0x40
push 0x1000
push dword [0x1e3f028]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp - 0x258]
movzx eax, word [eax + 0x14]
mov ecx, dword [ebp - 0x258]
lea eax, [ecx + eax + 0x18]
mov dword [ebp - 0x250], eax
mov eax, dword [ebp - 0x250]
mov eax, dword [eax + 0x24]
and eax, 0x80000000
je 0x1e40093
mov eax, dword [ebp - 0x250]
add eax, 0x24
mov dword [ebp - 0x278], eax
mov eax, dword [ebp - 0x250]
mov eax, dword [eax + 0x24]
sub eax, 0x80000000
mov ecx, dword [ebp - 0x278]
mov dword [ecx], eax
push 0
push dword [ebp - 0x244]
push 0x1000
push dword [0x1e3f028]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [0x1e3f024]
mov eax, dword [eax + 4]
and eax, 0x80000000
je 0x1e40122
cmp dword [ebp + 0xc], 0
jne 0x1e40122
cmp dword [ebp - 0x230], 0
je 0x1e400dd
push 0x8000
push 0
push dword [ebp - 0x230]
call dword [sym.imp.KERNEL32.dll_VirtualFree]
cmp dword [0x1e3f030], 0
je 0x1e400f9
push 0x8000
push 0
push dword [0x1e3f030]
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, dword [0x1e3f024]
cmp dword [eax + 0x6c], 0
je 0x1e40116
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [0x1e3f034]
call dword [0x1e3f03c]
call fcn.01e3f43a
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [0x1e3f03c]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
push eax
mov eax, dword [0x1e3f024]
cmp dword [eax + 0x6c], 0
jne 0x1e4013e
pop eax
xor eax, eax
inc eax
ret
pop eax
jmp eax
mov eax, dword [0x1e3f024]
mov eax, dword [eax + 4]
and eax, 0x80000000
je 0x1e401b3
cmp dword [ebp + 0xc], 1
jne 0x1e40169
mov dword [0x1e3f038], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
xor eax, eax
ret
cmp dword [ebp + 0xc], 0
jne 0x1e401b3
cmp dword [ebp - 0x230], 0
je 0x1e4018b
push 0x8000
push 0
push dword [ebp - 0x230]
call dword [sym.imp.KERNEL32.dll_VirtualFree]
cmp dword [0x1e3f030], 0
je 0x1e401a7
push 0x8000
push 0
push dword [0x1e3f030]
call dword [sym.imp.KERNEL32.dll_VirtualFree]
call fcn.01e3f43a
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]