joyce8/EMBER2024-capa huggingface dataset:
Function at 0x446000
Capabilities:
Accept command line arguments
Parse pe header
Resolve function by parsing pe exports
Terminate process

Disassembly:
call 0x446005
pop ebx
sub ebx, 0x401039
mov edi, dword [esp]
and edi, 0xffff0000
cmp word [edi], 0x5a4d
jne 0x44602a
mov esi, edi
add esi, dword [esi + 0x3c]
cmp word [esi], 0x4550
jne 0x44602a
jmp 0x44603a
sub edi, 0x10000
cmp edi, 0x70000000
jb 0x44603a
jmp 0x446015
mov dword [ebx + 0x4011d9], edi
mov esi, dword [esi + 0x78]
add esi, edi
push esi
mov ebp, dword [esi + 0x18]
mov esi, dword [esi + 0x20]
add esi, edi
xor edx, edx
push esi
mov edi, dword [esi]
add edi, dword [ebx + 0x4011d9]
lea esi, [ebx + 0x40119e]
mov ecx, 0xf
repe cmpsb byte [esi], byte es:[edi]
jne 0x44606e
pop esi
mov edx, esi
pop esi
jmp 0x44607f
pop esi
add esi, 4
inc edx
cmp edx, ebp
jb 0x446050
sub esp, 4
jmp 0x446199
sub edx, dword [esi + 0x20]
mov eax, dword [ebx + 0x4011d9]
sub edx, eax
shr edx, 1
add edx, dword [esi + 0x24]
add edx, eax
movzx eax, word [edx]
shl eax, 2
add eax, dword [esi + 0x1c]
add eax, dword [ebx + 0x4011d9]
mov eax, dword [eax]
add eax, dword [ebx + 0x4011d9]
mov edi, eax
mov ebp, esp
mov edx, dword [ebx + 0x4011d9]
lea eax, [ebx + 0x4011ad]
push eax
push edx
call edi
sub esp, 0x104
push esp
push 0x104
call eax
lea eax, [ebx + 0x4011ba]
push eax
mov edx, dword [ebx + 0x4011d9]
push edx
call edi
lea ecx, [ebx + 0x4011c3]
push ecx
mov ecx, esp
add ecx, 4
push ecx
call eax
lea eax, [ebx + 0x4011cd]
push eax
mov edx, dword [ebx + 0x4011d9]
push edx
call edi
mov ecx, esp
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
push ecx
call eax
mov esi, eax
lea ecx, [ebx + 0x401204]
push ecx
push ecx
mov edx, dword [ebx + 0x4011d9]
push edx
call edi
pop ecx
push 0
push ecx
add ecx, 0xa
mov edx, dword [ecx]
push edx
push ecx
mov edx, 0x905a4d
mov dword [ecx], edx
push esi
call eax
lea eax, [ebx + 0x4011ec]
push eax
mov edx, dword [ebx + 0x4011d9]
push edx
call edi
push esi
call eax
lea eax, [ebx + 0x4011dd]
push eax
mov edx, dword [ebx + 0x4011d9]
push edx
call edi
sub esp, 0x44
mov edx, esp
mov esi, 0
mov ecx, 0x11
mov dword [edx], esi
add edx, 4
loop 0x44616a
mov edx, 0x44
mov dword [esp], edx
sub esp, 0x10
mov edx, esp
push esp
add edx, 0x10
push edx
push 0
push 0
push 0
push 0
push 0
push 0
push 0
add edx, 0x44
push edx
call eax
mov esp, ebp
jmp 0x406e20

Function at 0x44660e
Capabilities:
Parse pe header

Disassembly:
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x446651
mov ecx, dword [eax + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x446651
mov ecx, dword [esp + 4]
add eax, 4
mov dword [ecx], eax
mov ecx, dword [esp + 8]
add eax, 0x14
mov dword [ecx], eax
mov ecx, 0x10b
cmp word [eax], cx
jne 0x446651
mov ecx, dword [esp + 0xc]
add eax, 0xe0
mov dword [ecx], eax
xor eax, eax
inc eax
jmp 0x446653
xor eax, eax
ret 0xc
Function at 0x401ee2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x411280]
jne 0x401eec
repz ret
jmp fcn.00404369

Function at 0x4025e7
Capabilities:
Accept command line arguments
Parse pe header

Disassembly:
push 0x14
push 0x40f530
call fcn.00403770
mov eax, 0x5a4d
cmp word [0x400000], ax
jne 0x4024e7
mov eax, dword [0x40003c]
cmp dword [eax + 0x400000], 0x4550
jne 0x4024e7
mov ecx, 0x10b
cmp word [eax + 0x400018], cx
jne 0x4024e7
cmp dword [eax + 0x400074], 0xe
jbe 0x4024e7
xor ecx, ecx
cmp dword [eax + 0x4000e8], ecx
setne cl
mov dword [ebp - 0x1c], ecx
jmp 0x4024eb
and dword [ebp - 0x1c], 0
push 1
call fcn.0040c272
pop ecx
test eax, eax
jne 0x4024ff
push 0x1c
call fcn.0040c272
pop ecx
call fcn.00405287
test eax, eax
jne 0x402510
push 0x10
call fcn.0040c272
pop ecx
call fcn.00405952
and dword [ebp - 4], 0
call fcn.004032ff
test eax, eax
jge 0x40252a
push 0x1b
call fcn.0040c272
pop ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x412ba0], eax
call fcn.0040c272
mov dword [0x41203c], eax
call fcn.0040c272
test eax, eax
jge 0x402550
push 8
call fcn.0040c272
pop ecx
call fcn.00405fde
test eax, eax
jge 0x402561
push 9
call fcn.0040c272
pop ecx
push 1
call fcn.0040c272
pop ecx
test eax, eax
je 0x402574
push eax
call fcn.0040c272
pop ecx
mov eax, dword [0x412018]
mov dword [0x41201c], eax
push eax
push dword [0x412010]
push dword [0x41200c]
call main
add esp, 0xc
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x1c], 0
jne 0x4025a2
push eax
call fcn.0040c272
call fcn.00402400
jmp 0x4025d7
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x20]
call fcn.004037b5
ret
call fcn.0040c272
jmp 0x402495

Function at 0x40c272
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
pushal
call 0x40c281
pop dword [ebp - 8]
mov eax, 0x5b4e0100
add eax, 0xa4f2c181
sub dword [ebp - 8], eax
push 0x40
push 0x1000
push 0x3c52a
push 0
mov eax, 0x707ea76a
add eax, 0x8fc2396e
add eax, dword [ebp - 8]
call dword [eax]
mov ecx, 0x531a
xor esi, esi
add esi, eax
mov edi, 0x413bc4
add edi, dword [ebp - 8]
mov edx, 0xea3640b
sub edx, 0x9a25a15e
sub dword [ebp - 4], 0xe6b1a893
mov ebx, dword [edi]
mov dword [ebp - 4], 0xd0e3b3e4
xor ebx, edx
add dword [ebp - 4], 0xe83872d9
mov dword [esi], ebx
sub dword [ebp - 4], edx
add esi, 0x4c624be4
sub esi, 0x4c624be0
add edi, 0xcdf9d458
add edi, 0x32062bac
loop 0x40c2d6
add eax, 0x500041ae
add eax, 0xb000fd8d
mov ebx, eax
add eax, 5
mov ecx, 0x7b95641d
sub ecx, 0x7b55641d
add ecx, dword [ebp - 8]
call ebx
leave
ret
Function at 0x408151
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
pushal
call 0x408160
pop dword [ebp - 0x30]
mov eax, 0x9a20dd1c
add eax, 0x661fa444
sub dword [ebp - 0x30], eax
push 0x40
push 0x1000
push 0x3b06d
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x30]
call dword [eax]
mov ecx, 0x47e289c1
sub ecx, 0x47e24ccc
mov edi, eax
mov ebx, 0x6639b9d6
sub ebx, 0x65f665d6
add ebx, dword [ebp - 0x30]
mov edx, 0x69280335
xor dword [ebp - 0x20], 0x1bd6ff3e
mov esi, dword [ebx]
sub dword [ebp - 0x20], ebx
xor esi, edx
sub dword [ebp - 0x2c], esi
mov dword [edi], esi
sub dword [ebp - 0x20], eax
add edi, 0x5a9e5868
add edi, 0xa561a79c
add ebx, 4
loop 0x4081b4
add eax, 0x3e4fd289
add eax, 0xc1b1141e
xor ebx, ebx
add ebx, eax
add eax, 0xf8e05751
add eax, 0x71fa8b4
mov ecx, 0x33f1d66d
sub ecx, 0x33b1d66d
add ecx, dword [ebp - 0x30]
call ebx
leave
ret
Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40915c
nop
mov ecx, 0x54c31bf6
nop
test eax, eax
nop
nop
nop
nop
je 0x43104e
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x431024
nop
nop
nop
mov eax, section..reloc
mov ebx, 0x42f3f8
nop
nop
mov ecx, 0x31476581
nop
nop
nop
test eax, eax
nop
je 0x431084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
jne 0x43106c
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x401610
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
and eax, 0x8000000f
jns 0x401625
dec eax
or eax, 0xfffffff0
inc eax
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x401633
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jne 0x401639
xor eax, eax
mov esp, ebp
pop ebp
ret
push esi
push edi
movq mm6, qword [0x487050]
pxor mm7, mm7
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
shr ecx, 4
jne 0x401655
jmp 0x401697
movq mm0, qword [esi]
movq mm1, qword [esi + 8]
movq mm2, mm0
movq mm3, mm1
movq mm4, qword [edi]
movq mm5, qword [edi + 8]
pcmpeqb mm0, mm7
pcmpeqb mm1, mm7
pand mm4, mm0
pand mm5, mm1
pxor mm0, mm6
pxor mm1, mm6
pand mm2, mm0
pand mm3, mm1
por mm2, mm4
por mm3, mm5
movq qword [edi], mm2
movq qword [edi + 8], mm3
lea esi, [esi + 0x10]
lea edi, [edi + 0x10]
dec ecx
jne 0x401655
mov dword [ebp - 4], esi
mov dword [ebp - 8], edi
emms
test eax, eax
je 0x4016bd
jle 0x4016bd
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov esi, eax
lea ecx, [ecx]
mov al, byte [ecx]
test al, al
je 0x4016b8
mov byte [edx], al
inc edx
inc ecx
dec esi
jne 0x4016b0
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4016d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x48eb38]
push ebx
mov ebx, dword [ebp + 0x10]
and ebx, 0x80000007
mov dword [ebp - 4], eax
jns 0x4016ef
dec ebx
or ebx, 0xfffffff8
inc ebx
mov eax, dword [ebp + 8]
test eax, eax
je 0x4016fd
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x40170c
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
call fcn.0045c945
mov esp, ebp
pop ebp
ret
mov dl, byte [ebp + 0x14]
push esi
lea eax, [ebp - 0xc]
push edi
mov dword [ebp - 0x18], eax
mov byte [ebp - 0xc], dl
mov byte [ebp - 0xb], dl
mov byte [ebp - 0xa], dl
mov byte [ebp - 9], dl
mov byte [ebp - 8], dl
mov byte [ebp - 7], dl
mov byte [ebp - 6], dl
mov byte [ebp - 5], dl
movq mm6, qword [0x487058]
pxor mm7, mm7
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
shr ecx, 3
mov eax, dword [ebp - 0x18]
movq mm1, qword [eax]
jne 0x40174f
jmp 0x401773
movq mm0, qword [esi]
movq mm2, mm1
movq mm4, qword [edi]
pcmpeqb mm0, mm7
pand mm4, mm0
pxor mm0, mm6
pand mm2, mm0
por mm2, mm4
movq qword [edi], mm2
lea esi, [esi + 8]
lea edi, [edi + 8]
dec ecx
jne 0x40174f
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], edi
emms
test ebx, ebx
pop edi
pop esi
je 0x40179c
jle 0x40179c
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
lea esp, [esp]
cmp byte [ecx], 0
je 0x401797
mov byte [eax], dl
inc eax
inc ecx
dec ebx
jne 0x401790
mov ecx, dword [ebp - 4]
mov eax, 1
pop ebx
call fcn.0045c945
mov esp, ebp
pop ebp
ret

Function at 0x402300
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ecx
push esi
push edi
rdtsc
mov dword [esp + 8], eax
mov esi, dword [0x47937c]
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, 0x64
jb 0x402313
rdtsc
sub eax, dword [esp + 8]
mov dword [esp + 8], eax
fild dword [esp + 8]
mov eax, dword [esp + 8]
test eax, eax
jge 0x402338
fadd qword [0x4796e8]
fmul qword [0x4796e0]
pop edi
pop esi
pop ecx
ret
Function at 0x404b80
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x17e4
call fcn.0045c960
mov eax, dword [0x48eb38]
mov ecx, dword [0x47a708]
mov edx, dword [0x47a70c]
mov dword [esp + 0x17e0], eax
mov eax, dword [str.EAGLS_SYSTEM]
mov dword [esp + 0xc], eax
mov al, byte [0x47a710]
push ebx
mov byte [esp + 0x1c], al
push esi
push edi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
xor esi, esi
xor ebx, ebx
xor eax, eax
mov ecx, 0x1c
lea edi, [esp + 0x25]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x18]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x404be0
mov edi, dword [ebp + 0xc]
push 0x174b
lea ecx, [esp + 0x9c]
sub eax, edx
push edi
push ecx
mov dword [esp + 0x18], eax
call fcn.00401450
mov edx, dword [ebp + 0x10]
movzx eax, byte [edi + edx - 1]
push eax
push 0x41d870
push 0x41d670
call fcn.0041d8c0
add esp, 0x18
xor edi, edi
call fcn.0041d8e0
cdq
idiv dword [esp + 0xc]
mov cl, byte [esp + edx + 0x18]
xor byte [esp + edi + 0x98], cl
inc edi
cmp edi, 0x174b
jl 0x404c20
mov eax, dword [ebp + 0xc]
push 0x174b
lea edx, [esp + 0x9c]
push edx
push eax
call fcn.00401450
add esp, 0xc
mov ecx, 0x3fb
xor eax, eax
lea edi, [esp + 0x98]
rep stosd dword es:[edi], eax
mov edx, 0xfee
mov dword [esp + 0xc], 0
stosw word es:[edi], ax
mov eax, dword [esp + 0xc]
shr eax, 1
mov dword [esp + 0xc], eax
test ah, 1
mov eax, dword [ebp + 0xc]
jne 0x404c97
movzx ecx, byte [esi + eax]
inc esi
or ecx, 0xff00
mov dword [esp + 0xc], ecx
test byte [esp + 0xc], 1
je 0x404cba
movzx eax, byte [esi + eax]
mov ecx, dword [ebp + 8]
inc esi
mov byte [ebx + ecx], al
mov byte [esp + edx + 0x98], al
inc ebx
inc edx
and edx, 0xfff
jmp 0x404d1d
movzx edi, byte [esi + eax]
movzx eax, byte [esi + eax + 1]
inc esi
mov ecx, eax
and ecx, 0xf0
shl ecx, 4
or edi, ecx
and eax, 0xf
inc esi
add eax, 2
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], eax
mov ecx, 0
js 0x404d1d
jmp 0x404cf0
mov edi, dword [esp + 0x14]
lea ecx, [ecx]
lea eax, [ecx + edi]
mov edi, dword [ebp + 8]
and eax, 0xfff
mov al, byte [esp + eax + 0x98]
mov byte [ebx + edi], al
inc ebx
mov byte [esp + edx + 0x98], al
mov eax, dword [esp + 0x10]
inc ecx
inc edx
and edx, 0xfff
cmp ecx, eax
jle 0x404ce9
cmp esi, dword [ebp + 0x10]
jl 0x404c76
mov ecx, dword [esp + 0x17ec]
mov eax, ebx
call fcn.0045c945
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41cf20
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x44654
call fcn.0045c960
mov eax, dword [0x48eb38]
push ebp
push esi
mov esi, 0x2710
mov dword [esp + 0x44658], eax
push edi
mov dword [esp + 0xc], esi
mov ecx, 0x1388
mov eax, esi
cdq
idiv ecx
test edx, edx
je 0x41cf56
dec ecx
cmp ecx, 2
jge 0x41cf47
cmp ecx, 1
je 0x41cf61
dec esi
cmp esi, 2
jge 0x41cf42
mov dword [esp + 0xc], esi
mov esi, dword [esp + 0x88ca0]
lea edx, [esp + 0x4469a]
mov eax, esi
sub edx, esi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x41cf77
push 0
push 0x80
push 3
push 0
push 0
push 0x80000000
push esi
call dword [0x4791ec]
mov ebp, eax
cmp ebp, 0xffffffff
jne 0x41cfad
mov dword [esp + 0x446cc], eax
jmp 0x41d103
mov ecx, 0xb
mov esi, str.1qaz2wsx3edc4rfv5tgb6yhn7ujm8ik_9ol.0p____:__
lea edi, [esp + 0x1c]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
xor eax, eax
mov ecx, 0x14
lea edi, [esp + 0x4b]
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
lea eax, [esp + 0x1c]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41cfd5
push ebx
push 0x445c0
sub eax, edx
push 2
mov dword [esp + 0x20], eax
call dword [0x4790dc]
mov ebx, eax
test ebx, ebx
jne 0x41d008
push 0x47b17c
call fcn.00408840
add esp, 4
jmp 0x41d102
push ebx
call dword [0x4790d8]
mov esi, dword [0x479074]
push 0
mov edi, eax
lea eax, [esp + 0x20]
push eax
push 0x445c0
push edi
push ebp
call esi
push 0
lea ecx, [esp + 0x20]
push ecx
push 4
lea edx, [esp + 0x20]
push edx
push ebp
call esi
push ebp
call dword [0x4791f0]
mov eax, dword [esp + 0x14]
push eax
call fcn.0045ca2a
add esp, 4
xor esi, esi
mov edi, edi
call fcn.0045ca37
cdq
idiv dword [esp + 0x18]
mov cl, byte [esp + edx + 0x20]
xor byte [esi + edi], cl
inc esi
cmp esi, 0x445c0
jb 0x41d050
push 0x445c0
lea edx, [esp + 0xa4]
push edi
push edx
call fcn.00401450
mov esi, dword [esp + 0x1c]
xor eax, eax
mov ecx, 0x11170
lea edi, [esp + 0x446e0]
rep stosd dword es:[edi], eax
push esi
lea eax, [esp + 0xb0]
push eax
lea ecx, [esp + 0x446e8]
push ecx
call fcn.0041cc50
add esp, 0x18
push ebx
mov dword [esp + 0x88ca4], eax
mov dword [esp + 0x88ca0], esi
call dword [0x4790d4]
push ebx
call dword [0x4790d0]
mov esi, dword [esp + 0x88ca8]
lea edx, [esp + 0x4466c]
mov eax, esi
sub edx, esi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x41d0d8
push 0
push 0x10000080
push 3
push 0
push 0
push 0x80000000
push esi
call dword [0x4791ec]
mov dword [esp + 0x446d0], eax
pop ebx
mov eax, dword [esp + 0x44664]
lea esi, [esp + 0x44668]
mov edi, eax
mov ecx, 0x1118e
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x4465c]
pop edi
pop esi
pop ebp
call fcn.0045c945
add esp, 0x44654
ret
Function at 0x41e1a0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x111c
call fcn.0045c960
mov eax, dword [0x48eb38]
push ebx
push ebp
push esi
push edi
push str.GlobalSave.sav
mov dword [esp + 0x112c], eax
lea eax, [esp + 0x12c]
push str.Save_s
push eax
call fcn.0045cab0
add esp, 0xc
push 0
push 0x80
push 3
push 0
push 0
push 0x80000000
lea ecx, [esp + 0x140]
push ecx
call dword [0x4791ec]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x41e38a
mov ecx, 0xb
mov esi, str.1qaz2wsx3edc4rfv5tgb6yhn7ujm8ik_9ol.0p____:__
lea edi, [esp + 0x28]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
xor eax, eax
mov ecx, 0x14
lea edi, [esp + 0x57]
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
lea eax, [esp + 0x28]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41e227
mov esi, dword [0x4790dc]
push 0x1e8480
sub eax, edx
push 2
mov dword [esp + 0x28], eax
mov byte [esp + 0x1b], cl
call esi
mov ebp, eax
test ebp, ebp
jne 0x41e273
push 0x47b398
call fcn.00408840
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x1118]
call fcn.0045c945
add esp, 0x111c
ret
push 0x1e8480
push 2
call esi
test eax, eax
mov dword [esp + 0x1c], eax
jne 0x41e2aa
push 0x47b370
call fcn.00408840
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x1118]
call fcn.0045c945
add esp, 0x111c
ret
mov esi, dword [0x4790d8]
push ebp
call esi
mov edx, dword [esp + 0x1c]
push edx
mov edi, eax
call esi
mov esi, dword [0x479074]
push 0
mov dword [esp + 0x28], eax
lea eax, [esp + 0x18]
push eax
push 0x80
lea ecx, [esp + 0xb4]
push ecx
push ebx
call esi
push 0
lea edx, [esp + 0x18]
push edx
push 4
lea eax, [esp + 0x24]
push eax
push ebx
call esi
mov edx, dword [esp + 0x18]
push 0
lea ecx, [esp + 0x18]
push ecx
push edx
push edi
push ebx
call esi
push 0
lea eax, [esp + 0x18]
push eax
push 1
lea ecx, [esp + 0x1f]
push ecx
push ebx
call esi
push ebx
call dword [0x4791f0]
movsx edx, byte [esp + 0x13]
push edx
call fcn.0045ca2a
mov eax, dword [esp + 0x1c]
add esp, 4
xor esi, esi
test eax, eax
jle 0x41e34f
mov edi, edi
call fcn.0045ca37
cdq
idiv dword [esp + 0x20]
mov bl, byte [esi + edi]
mov al, byte [esp + edx + 0x28]
xor bl, al
mov byte [esi + edi], bl
mov eax, dword [esp + 0x18]
inc esi
cmp esi, eax
jl 0x41e330
mov esi, dword [esp + 0x24]
push eax
push edi
push esi
call fcn.00404a70
push 0x10afc8
push esi
push 0xc4cf00
call fcn.00401450
mov esi, dword [0x4790d4]
add esp, 0x18
push ebp
call esi
mov edi, dword [esp + 0x1c]
push edi
call esi
mov esi, dword [0x4790d0]
push ebp
call esi
push edi
call esi
mov ecx, dword [esp + 0x1128]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
call fcn.0045c945
add esp, 0x111c
ret
Function at 0x45ddca
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x60
push 0x47ed08
call fcn.0045e3b8
mov edi, 0x94
mov eax, edi
call fcn.0045c960
mov dword [ebp - 0x18], esp
mov esi, esp
mov dword [esi], edi
push esi
call dword [0x479070]
mov ecx, dword [esi + 0x10]
mov dword [0x1402f14], ecx
mov eax, dword [esi + 4]
mov dword [0x1402f20], eax
mov edx, dword [esi + 8]
mov dword [0x1402f24], edx
mov esi, dword [esi + 0xc]
and esi, 0x7fff
mov dword [0x1402f18], esi
cmp ecx, 2
je 0x45de2a
or esi, 0x8000
mov dword [0x1402f18], esi
shl eax, 8
add eax, edx
mov dword [0x1402f1c], eax
xor esi, esi
push esi
mov edi, dword [0x479118]
call edi
cmp word [eax], 0x5a4d
jne 0x45de65
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x45de65
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x45de7d
cmp eax, 0x20b
je 0x45de6a
mov dword [ebp - 0x1c], esi
jmp 0x45de91
cmp dword [ecx + 0x84], 0xe
jbe 0x45de65
xor eax, eax
cmp dword [ecx + 0xf8], esi
jmp 0x45de8b
cmp dword [ecx + 0x74], 0xe
jbe 0x45de65
xor eax, eax
cmp dword [ecx + 0xe8], esi
setne al
mov dword [ebp - 0x1c], eax
push 1
call fcn.0045f78b
pop ecx
test eax, eax
jne 0x45dea5
push 0x1c
call fcn.0045dda6
pop ecx
call fcn.0045e867
test eax, eax
jne 0x45deb6
push 0x10
call fcn.0045dda6
pop ecx
call fcn.004627d7
mov dword [ebp - 4], esi
call fcn.00462e63
test eax, eax
jge 0x45decf
push 0x1b
call fcn.0045dd81
pop ecx
call dword [0x479198]
mov dword [0x14047b0], eax
call fcn.00462d41
mov dword [0x1402f58], eax
call fcn.00462c9f
test eax, eax
jge 0x45def5
push 8
call fcn.0045dd81
pop ecx
call fcn.00462a6c
test eax, eax
jge 0x45df06
push 9
call fcn.0045dd81
pop ecx
push 1
call fcn.0045dc14
pop ecx
mov dword [ebp - 0x28], eax
cmp eax, esi
je 0x45df1c
push eax
call fcn.0045dd81
pop ecx
mov dword [ebp - 0x44], esi
lea eax, [ebp - 0x70]
push eax
call dword [0x47919c]
call fcn.00462a0f
mov dword [ebp - 0x20], eax
test byte [ebp - 0x44], 1
je 0x45df3d
movzx eax, word [ebp - 0x40]
jmp 0x45df40
push 0xa
pop eax
push eax
push dword [ebp - 0x20]
push esi
push esi
call edi
push eax
call fcn.0041adf0
mov edi, eax
mov dword [ebp - 0x2c], edi
cmp dword [ebp - 0x1c], esi
jne 0x45df5e
push edi
call fcn.0045dd41
call fcn.0045dd63
jmp 0x45df90
or dword [ebp - 4], 0xffffffff
mov eax, edi
lea esp, [ebp - 0x7c]
call fcn.0045e3f3
ret
Function at 0x46049e
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, dword [esi + 8]
test bl, 3
jne 0x4604cc
mov eax, dword fs:[0x18]
mov dword [ebp + 8], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
cmp ebx, ecx
mov dword [ebp - 4], ecx
jb 0x4604d3
cmp ebx, dword [eax + 4]
jae 0x4604d3
xor eax, eax
jmp 0x4606c3
push edi
mov edi, dword [esi + 0xc]
cmp edi, 0xffffffff
jne 0x4604e4
xor eax, eax
inc eax
jmp 0x4606c2
xor edx, edx
mov dword [ebp + 8], edx
mov eax, ebx
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x4604fa
cmp ecx, edx
jae 0x46063f
cmp dword [eax + 4], 0
je 0x460503
inc dword [ebp + 8]
inc edx
add eax, 0xc
cmp edx, edi
jbe 0x4604eb
cmp dword [ebp + 8], 0
je 0x460525
mov eax, dword [esi - 8]
cmp eax, dword [ebp - 4]
jb 0x46063f
cmp eax, esi
jae 0x46063f
mov eax, dword [0x14030e0]
mov edi, ebx
and edi, 0xfffff000
xor esi, esi
test eax, eax
jle 0x46054a
cmp dword [esi*4 + 0x14030e8], edi
je 0x460643
inc esi
cmp esi, eax
jl 0x460538
push 0x1c
lea eax, [ebp - 0x20]
push eax
push ebx
call dword [0x479160]
test eax, eax
je 0x4606bf
cmp dword [ebp - 8], 0x1000000
jne 0x4606bf
test byte [ebp - 0xc], 0xcc
je 0x4605c8
mov ecx, dword [ebp - 0x1c]
cmp word [ecx], 0x5a4d
jne 0x4606bf
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x4606bf
cmp word [eax + 0x18], 0x10b
jne 0x4606bf
sub ebx, ecx
cmp word [eax + 6], 0
movzx ecx, word [eax + 0x14]
lea ecx, [ecx + eax + 0x18]
jbe 0x4606bf
mov eax, dword [ecx + 0xc]
cmp ebx, eax
jb 0x4605c8
mov edx, dword [ecx + 8]
add edx, eax
cmp ebx, edx
jae 0x4605c8
test byte [ecx + 0x27], 0x80
jne 0x46063f
push 1
push 0x1403128
call dword [0x479080]
test eax, eax
jne 0x4604dc
mov ecx, dword [0x14030e0]
test ecx, ecx
mov edx, ecx
jle 0x4605fc
lea eax, [ecx*4 + 0x14030e4]
cmp dword [eax], edi
je 0x4605fc
dec edx
sub eax, 4
test edx, edx
jg 0x4605f0
test edx, edx
jne 0x46062d
push 0xf
pop ebx
cmp ecx, ebx
jg 0x460609
mov ebx, ecx
xor edx, edx
test ebx, ebx
jl 0x460621
lea eax, [edx*4 + 0x14030e8]
mov esi, dword [eax]
inc edx
cmp edx, ebx
mov dword [eax], edi
mov edi, esi
jle 0x46060f
cmp ecx, 0x10
jge 0x46062d
inc ecx
mov dword [0x14030e0], ecx
push 0
push 0x1403128
call dword [0x479080]
jmp 0x4604dc
xor eax, eax
jmp 0x4606c2
test esi, esi
jle 0x4604dc
mov ebx, dword [0x479080]
push 1
push 0x1403128
call ebx
test eax, eax
jne 0x4604dc
cmp dword [esi*4 + 0x14030e8], edi
je 0x460699
mov eax, dword [0x14030e0]
lea esi, [eax - 1]
test esi, esi
jl 0x460687
cmp dword [esi*4 + 0x14030e8], edi
je 0x460683
dec esi
jns 0x460677
test esi, esi
jge 0x460697
cmp eax, 0x10
jge 0x460692
inc eax
mov dword [0x14030e0], eax
lea esi, [eax - 1]
jmp 0x460699
je 0x4606b1
xor ecx, ecx
test esi, esi
jl 0x4606b1
lea eax, [ecx*4 + 0x14030e8]
mov edx, dword [eax]
inc ecx
cmp ecx, esi
mov dword [eax], edi
mov edi, edx
jle 0x46069f
push 0
push 0x1403128
call ebx
jmp 0x4604dc
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret