joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42b1a0
Capabilities:
Packed with generic packer

Disassembly:
push ebx
push esi
push edi
pushfd
pushal
push es
cld
mov ax, ds
mov es, ax
mov ecx, 0x320
mov eax, 0x258
mov edx, eax
lea eax, [eax + edx*2]
mul ecx
mov ecx, eax
mov edx, ecx
shr ecx, 2
and edx, 3
xor eax, eax
mov edi, dword [0x5421c8]
rep stosd dword es:[edi], eax
mov ecx, edx
rep stosb byte es:[edi], al
pop es
popal
popfd
pop edi
pop esi
mov dword [0x4d8164], 1
pop ebx
ret
mov edx, dword [0x47e8a4]
mov eax, dword [0x4941ac]
push esi
xor esi, esi
push esi
push esi
push 0x4d613c
push esi
push 0x4d1f00
inc edx
push eax
mov dword [0x4d8160], esi
mov dword [0x4d1f00], 0x28
mov dword [0x4d1f04], 0x320
mov dword [0x4d1f08], 0xfffffd98
mov word [0x4d1f0c], 1
mov word [0x4d1f0e], 0x18
mov dword [0x4d1f10], esi
mov dword [0x4d1f14], esi
mov dword [0x4d1f18], esi
mov dword [0x4d1f1c], esi
mov dword [0x4d1f20], esi
mov dword [0x4d1f24], esi
mov dword [0x4d1f28], esi
mov dword [0x4d1f2c], esi
mov dword [0x4d1f30], esi
mov dword [0x47e8a4], edx
call dword [0x45e030]
cmp eax, esi
mov dword [0x4d6138], eax
jne 0x42b253
push esi
mov dword [0x47eca0], 1
call fcn.0043abd0
add esp, 4
pop esi
ret
mov eax, dword [0x47e8a8]
mov ecx, dword [0x4941ac]
inc eax
push ecx
mov dword [0x47e8a8], eax
call dword [0x45e034]
cmp eax, esi
mov dword [0x4d6140], eax
jne 0x42b289
push esi
mov dword [0x47eca0], 2
call fcn.0043abd0
add esp, 4
pop esi
ret
mov edx, dword [0x4d6138]
push edx
push eax
call dword [0x45e040]
mov dword [0x47b3b8], eax
mov eax, dword [0x4d613c]
mov dword [0x5421c8], eax
mov eax, 3
mov dword [0x5421cc], 0x40
mov dword [0x5421c4], eax
mov dword [0x4ed440], 0x18
mov dword [0x4ed444], eax
pop esi
jmp 0x4286b0
Function at 0x438840
Capabilities:
Terminate process

Disassembly:
mov eax, dword [0x4cdce0]
push esi
mov esi, 0x64
cmp eax, esi
jg 0x438986
je 0x43894c
test eax, eax
je 0x438895
cmp eax, 0x3c
je 0x438940
cmp eax, 0x50
jne 0x4389e3
call fcn.0040bab0
mov eax, 0xa
mov dword [0x4cdce0], esi
mov dword [0x519c30], eax
mov dword [0x46dfb4], eax
mov dword [0x5422c0], 1
pop esi
ret
cmp dword [0x50a5c0], 1
jne 0x4388e2
push str.GDTC_LOGO_WH
push 2
call fcn.00438220
push 0xff
push 0
push 0x10
push 0x10
push 0
mov esi, eax
push 0
push esi
push 0xc
call fcn.00427ab0
push esi
push 4
call fcn.0043b010
push 1
push 0x7d0
call fcn.0043a920
push 0xff
push 0
push 0x10
jmp 0x438924
push str.GDTC_LOGO_BK
push 2
call fcn.00438220
push 0xff
push 0
push 0x20
push 0x10
push 0
mov esi, eax
push 0
push esi
push 0xc
call fcn.00427ab0
push esi
push 4
call fcn.0043b010
push 1
push 0x7d0
call fcn.0043a920
push 0xff
push 0
push 0x20
push 0x10
push 0x258
push 0x320
push 0
push 0
push 0
push 0xc
call fcn.00427c30
add esp, 0x60
mov dword [0x4cdce0], 0x50
pop esi
ret
call fcn.0040c140
test eax, eax
je 0x4389e3
mov eax, dword [0x542348]
cmp eax, 0x3e6
jl 0x4389e3
cmp eax, 0x3e7
jle 0x43897a
cmp eax, 0x270f
jne 0x4389e3
mov dword [0x4cdce0], eax
pop esi
ret
mov dword [0x4cdce0], 0x3e7
pop esi
ret
cmp eax, 0x3e7
je 0x4389bf
cmp eax, 0x270f
jne 0x4389e3
push 0xff
push 0
push 0x10
push 0x10
push 0x258
push 0x320
push 0
push 0
push 0
push 0xc
call fcn.00427c30
add esp, 0x28
pop esi
jmp 0x43aa20
mov dword [0x519c30], 1
mov dword [0x46dfb4], 0xa
mov dword [0x5422c0], 1
mov dword [0x4cdce0], esi
pop esi
ret
mov ecx, dword [0x50a5c4]
mov eax, 1
cmp ecx, eax
mov dword [0x494188], eax
jne 0x43aa39
call fcn.004452d0
mov eax, dword [0x4941b0]
push eax
call dword [0x45e284]
push 0
push 0x3e8
call fcn.0043a130
add esp, 8
push 0
call fcn.00450894
int3
Function at 0x43a130
Capabilities:
Terminate process

Disassembly:
mov eax, dword [0x47eca8]
sub esp, 0x1c
sub eax, 0
push ebx
push ebp
push esi
push edi
mov dword [0x47e87c], 0
je 0x43a177
dec eax
je 0x43a165
dec eax
jne 0x43a1ac
mov eax, dword [esp + 0x30]
mov ecx, dword [0x47b428]
add ecx, eax
mov dword [0x47b42c], ecx
jmp 0x43a1ac
mov edx, dword [esp + 0x30]
mov eax, dword [0x47b420]
add eax, edx
mov dword [0x47b424], eax
jmp 0x43a1ac
mov ecx, dword [0x47b41c]
mov eax, dword [esp + 0x30]
push ecx
mov ecx, dword [0x47b418]
cdq
push ecx
push edx
push eax
call fcn.004509f0
mov esi, dword [0x47b408]
mov ecx, dword [0x47b40c]
add eax, esi
adc edx, ecx
mov dword [0x47b410], eax
mov dword [0x47b414], edx
mov eax, dword [0x494198]
test eax, eax
jne 0x43a1ba
call fcn.00428110
mov esi, dword [0x45e23c]
mov ebx, dword [0x45e240]
mov edi, dword [0x45e244]
mov ebp, dword [0x45e248]
mov eax, dword [esp + 0x34]
test eax, eax
je 0x43a1f9
call fcn.004399b0
test byte [0x4cdc3c], 1
jne 0x43a2ce
test byte [0x4cdc44], 0x10
jne 0x43a2ce
push 0
push 0
push 0
push 0
lea edx, [esp + 0x20]
push edx
call esi
test eax, eax
je 0x43a246
lea esp, [esp]
push 0
push 0
push 0
lea eax, [esp + 0x1c]
push eax
call ebx
test eax, eax
je 0x43a2ee
lea ecx, [esp + 0x10]
push ecx
call edi
lea edx, [esp + 0x10]
push edx
call ebp
push 0
push 0
push 0
push 0
lea eax, [esp + 0x20]
push eax
call esi
test eax, eax
jne 0x43a210
mov eax, dword [0x471630]
test eax, eax
je 0x43a257
push 1
call dword [0x45e194]
mov eax, dword [0x47eca8]
sub eax, 0
je 0x43a29c
dec eax
je 0x43a28e
dec eax
jne 0x43a1d2
call dword [0x45e09c]
mov ecx, dword [0x47b42c]
cmp eax, ecx
jbe 0x43a1d2
call fcn.0043a0a0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1c
ret
call dword [0x45e294]
mov ecx, dword [0x47b424]
jmp 0x43a277
push 0x47b400
call dword [0x45e190]
mov ecx, dword [0x47b404]
cmp ecx, dword [0x47b414]
jg 0x43a27f
jl 0x43a1d2
mov edx, dword [0x47b400]
cmp edx, dword [0x47b410]
ja 0x43a27f
jmp 0x43a1d2
mov eax, dword [0x494198]
test eax, eax
jne 0x43a2dc
call fcn.00428110
call fcn.0043a0a0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x1c
ret
mov eax, dword [esp + 0x18]
push eax
call fcn.00450894
int3
Function at 0x43a920
Capabilities:
Terminate process

Disassembly:
call fcn.004399b0
call fcn.0043a0a0
jmp fcn.0043a130

Function at 0x43abd0
Capabilities:
Terminate process

Disassembly:
sub esp, 0x244
mov eax, dword [0x47a040]
xor eax, esp
push ebx
push esi
xor esi, esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
mov edx, 0x460a08
mov dword [esp + 0x44], esi
mov esi, dword [esp + 0x250]
cmp esi, 0x10
mov dword [esp + 0x248], eax
push edi
mov eax, 0x4609c8
mov ecx, 0x4609a8
mov ebx, 0x4608a8
mov edi, edx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 0x460860
mov dword [esp + 0x14], 0x460818
mov dword [esp + 0x18], 0x4607d8
mov dword [esp + 0x1c], 0x460798
mov dword [esp + 0x20], 0x460738
mov dword [esp + 0x24], 0x4606f0
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], edi
jl 0x43ac6a
mov esi, 3
jmp switch.0x0043ac73
cmp esi, 0xa
ja case.0x43ac73.1
jmp dword [esi*4 + 0x43add4]
mov ecx, dword [0x47eca0]
mov edx, dword [ecx*4 + 0x47e8a0]
push edx
push ecx
push eax
lea eax, [esp + 0x58]
push 0x4606d8
push eax
call dword [0x45e280]
add esp, 0x14
jmp 0x43ad23
mov ecx, dword [esp + esi*4 + 0xc]
mov edx, dword [0x494184]
push ecx
lea eax, [edx + 0x494080]
push eax
lea ecx, [esp + 0x54]
push 0x4606cc
push ecx
call dword [0x45e280]
add esp, 0x10
jmp 0x43ad95
mov edx, dword [0x494068]
push edx
push ecx
lea eax, [esp + 0x54]
push 0x4606b8
push eax
call dword [0x45e280]
add esp, 0x10
jmp 0x43ad23
mov eax, dword [0x47e874]
test eax, eax
jne 0x43adbb
push 0x494080
lea ecx, [esp + 0x50]
push ebx
push ecx
call dword [0x45e280]
add esp, 0xc
jmp 0x43ad9a
push 0x494080
push edx
lea edx, [esp + 0x54]
push edx
call dword [0x45e280]
add esp, 0xc
push 0x1000
push str.Error_Message
lea ecx, [esp + 0x54]
push ecx
push 0
call dword [0x45e27c]
cmp esi, 0xa
je 0x43adbb
cmp esi, 7
je 0x43ad71
mov edx, dword [0x4941b0]
push edx
call dword [0x45e284]
mov dword [0x494198], 1
call fcn.004399b0
call fcn.0043a0a0
push 0
push 0x10
call fcn.0043a130
add esp, 8
push 0
call fcn.00450894
push 0x494080
push edi
lea eax, [esp + 0x54]
push eax
jmp 0x43ad1a
mov ecx, dword [esp + esi*4 + 0xc]
push ecx
lea edx, [esp + 0x50]
push edx
call dword [0x45e1a8]
cmp esi, 8
jne 0x43ad23
push 4
push str.Error_Message
lea eax, [esp + 0x54]
push eax
push 0
call dword [0x45e27c]
sub eax, 6
neg eax
sbb eax, eax
inc eax
mov dword [0x47e874], eax
mov ecx, dword [esp + 0x24c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00450905
add esp, 0x244
ret
Function at 0x43ae00
Capabilities:
Terminate process

Disassembly:
sub esp, 0x40
xor eax, eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x44]
cmp eax, 0x10
mov dword [esp], 0x460bf0
mov dword [esp + 4], 0x460bc0
mov dword [esp + 8], 0x460b88
mov dword [esp + 0xc], 0x460b58
mov dword [esp + 0x10], 0x460b20
mov dword [esp + 0x14], 0x460aec
mov dword [esp + 0x18], 0x460abc
mov dword [esp + 0x1c], 0x460a80
jge 0x43ae85
mov ecx, dword [esp + eax*4]
mov edx, dword [0x4941b0]
push 0
push str.Error_Message
push ecx
push edx
call dword [0x45e27c]
mov eax, dword [0x4941b0]
push eax
call dword [0x45e284]
mov dword [0x494198], 1
call fcn.004399b0
call fcn.0043a0a0
push 0
push 0x10
call fcn.0043a130
add esp, 8
push 0
call fcn.00450894
int3

Function at 0x43b390
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov eax, dword [esp + 4]
mov ecx, eax
shl eax, 0x10
shr ecx, 0x10
or ecx, eax
mov eax, 0x47f684
push esi
jmp 0x43b3b0
mov edx, ecx
imul ecx, ecx, 0x10dcd
and edx, 0xffff0000
mov dword [eax - 4], edx
inc ecx
mov esi, dword [eax - 4]
mov edx, ecx
imul ecx, ecx, 0x10dcd
shr edx, 0x10
or esi, edx
inc ecx
mov edx, ecx
imul ecx, ecx, 0x10dcd
and edx, 0xffff0000
mov dword [eax], edx
inc ecx
mov edx, ecx
imul ecx, ecx, 0x10dcd
shr edx, 0x10
mov dword [eax - 4], esi
mov esi, dword [eax]
or esi, edx
inc ecx
mov edx, ecx
imul ecx, ecx, 0x10dcd
and edx, 0xffff0000
mov dword [eax + 4], edx
inc ecx
mov edx, ecx
imul ecx, ecx, 0x10dcd
shr edx, 0x10
mov dword [eax], esi
mov esi, dword [eax + 4]
or esi, edx
inc ecx
mov edx, ecx
imul ecx, ecx, 0x10dcd
and edx, 0xffff0000
mov dword [eax + 8], edx
inc ecx
mov edx, ecx
imul ecx, ecx, 0x10dcd
shr edx, 0x10
mov dword [eax + 4], esi
mov esi, dword [eax + 8]
or esi, edx
inc ecx
mov edx, ecx
imul ecx, ecx, 0x10dcd
and edx, 0xffff0000
mov dword [eax + 0xc], edx
inc ecx
mov edx, ecx
imul ecx, ecx, 0x10dcd
shr edx, 0x10
mov dword [eax + 8], esi
mov esi, dword [eax + 0xc]
or esi, edx
inc ecx
mov edx, ecx
imul ecx, ecx, 0x10dcd
and edx, 0xffff0000
mov dword [eax + 0x10], edx
inc ecx
mov edx, ecx
imul ecx, ecx, 0x10dcd
mov dword [eax + 0xc], esi
mov esi, dword [eax + 0x10]
shr edx, 0x10
or esi, edx
mov dword [eax + 0x10], esi
add eax, 0x18
inc ecx
cmp eax, 0x480044
jl 0x43b3b0
pop esi
jmp fcn.0043a300
Function at 0x451e02
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x60
push 0x4627c0
call fcn.004525e0
mov edi, 0x94
mov eax, edi
call fcn.004506d0
mov dword [ebp - 0x18], esp
mov esi, esp
mov dword [esi], edi
push esi
call dword [0x45e0a0]
mov ecx, dword [esi + 0x10]
mov dword [0x47b43c], ecx
mov eax, dword [esi + 4]
mov dword [0x47b448], eax
mov edx, dword [esi + 8]
mov dword [0x47b44c], edx
mov esi, dword [esi + 0xc]
and esi, 0x7fff
mov dword [0x47b440], esi
cmp ecx, 2
je 0x451e62
or esi, 0x8000
mov dword [0x47b440], esi
shl eax, 8
add eax, edx
mov dword [0x47b444], eax
xor esi, esi
push esi
mov edi, dword [0x45e1c0]
call edi
cmp word [eax], 0x5a4d
jne 0x451e9d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x451e9d
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x451eb5
cmp eax, 0x20b
je 0x451ea2
mov dword [ebp - 0x1c], esi
jmp 0x451ec9
cmp dword [ecx + 0x84], 0xe
jbe 0x451e9d
xor eax, eax
cmp dword [ecx + 0xf8], esi
jmp 0x451ec3
cmp dword [ecx + 0x74], 0xe
jbe 0x451e9d
xor eax, eax
cmp dword [ecx + 0xe8], esi
setne al
mov dword [ebp - 0x1c], eax
push 1
call fcn.004531fb
pop ecx
test eax, eax
jne 0x451edd
push 0x1c
call fcn.00451dde
pop ecx
call fcn.00452f8e
test eax, eax
jne 0x451eee
push 0x10
call fcn.00451dde
pop ecx
call fcn.00452558
mov dword [ebp - 4], esi
call fcn.00456901
test eax, eax
jge 0x451f07
push 0x1b
call fcn.00451db9
pop ecx
call dword [0x45e16c]
mov dword [0x556e04], eax
call fcn.004567df
mov dword [0x47b488], eax
call fcn.0045673d
test eax, eax
jge 0x451f2d
push 8
call fcn.00451db9
pop ecx
call fcn.0045650a
test eax, eax
jge 0x451f3e
push 9
call fcn.00451db9
pop ecx
push 1
call fcn.00450767
pop ecx
mov dword [ebp - 0x28], eax
cmp eax, esi
je 0x451f54
push eax
call fcn.00451db9
pop ecx
mov dword [ebp - 0x44], esi
lea eax, [ebp - 0x70]
push eax
call dword [0x45e170]
call fcn.004564ad
mov dword [ebp - 0x20], eax
test byte [ebp - 0x44], 1
je 0x451f75
movzx eax, word [ebp - 0x40]
jmp 0x451f78
push 0xa
pop eax
push eax
push dword [ebp - 0x20]
push esi
push esi
call edi
push eax
call fcn.0043b8d0
mov edi, eax
mov dword [ebp - 0x2c], edi
cmp dword [ebp - 0x1c], esi
jne 0x451f96
push edi
call fcn.00450894
call fcn.004508b6
jmp 0x451fc8
or dword [ebp - 4], 0xffffffff
mov eax, edi
lea esp, [ebp - 0x7c]
call fcn.0045261b
ret
Function at 0x458c38
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 0x458c66
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 0x458c6d
cmp ebx, dword [eax + 4]
jae 0x458c6d
xor eax, eax
jmp 0x458e5d
push edi
mov edi, dword [esi + 0xc]
cmp edi, 0xffffffff
jne 0x458c7e
xor eax, eax
inc eax
jmp 0x458e5c
xor edx, edx
mov dword [ebp + 8], edx
mov eax, ebx
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x458c94
cmp ecx, edx
jae 0x458dd9
cmp dword [eax + 4], 0
je 0x458c9d
inc dword [ebp + 8]
inc edx
add eax, 0xc
cmp edx, edi
jbe 0x458c85
cmp dword [ebp + 8], 0
je 0x458cbf
mov eax, dword [esi - 8]
cmp eax, dword [ebp - 4]
jb 0x458dd9
cmp eax, esi
jae 0x458dd9
mov eax, dword [0x47b720]
mov edi, ebx
and edi, 0xfffff000
xor esi, esi
test eax, eax
jle 0x458ce4
cmp dword [esi*4 + 0x47b728], edi
je 0x458ddd
inc esi
cmp esi, eax
jl 0x458cd2
push 0x1c
lea eax, [ebp - 0x20]
push eax
push ebx
call dword [0x45e104]
test eax, eax
je 0x458e59
cmp dword [ebp - 8], 0x1000000
jne 0x458e59
test byte [ebp - 0xc], 0xcc
je 0x458d62
mov ecx, dword [ebp - 0x1c]
cmp word [ecx], 0x5a4d
jne 0x458e59
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x458e59
cmp word [eax + 0x18], 0x10b
jne 0x458e59
sub ebx, ecx
cmp word [eax + 6], 0
movzx ecx, word [eax + 0x14]
lea ecx, [ecx + eax + 0x18]
jbe 0x458e59
mov eax, dword [ecx + 0xc]
cmp ebx, eax
jb 0x458d62
mov edx, dword [ecx + 8]
add edx, eax
cmp ebx, edx
jae 0x458d62
test byte [ecx + 0x27], 0x80
jne 0x458dd9
push 1
push 0x47b768
call dword [0x45e108]
test eax, eax
jne 0x458c76
mov ecx, dword [0x47b720]
test ecx, ecx
mov edx, ecx
jle 0x458d96
lea eax, [ecx*4 + 0x47b724]
cmp dword [eax], edi
je 0x458d96
dec edx
sub eax, 4
test edx, edx
jg 0x458d8a
test edx, edx
jne 0x458dc7
push 0xf
pop ebx
cmp ecx, ebx
jg 0x458da3
mov ebx, ecx
xor edx, edx
test ebx, ebx
jl 0x458dbb
lea eax, [edx*4 + 0x47b728]
mov esi, dword [eax]
inc edx
cmp edx, ebx
mov dword [eax], edi
mov edi, esi
jle 0x458da9
cmp ecx, 0x10
jge 0x458dc7
inc ecx
mov dword [0x47b720], ecx
push 0
push 0x47b768
call dword [0x45e108]
jmp 0x458c76
xor eax, eax
jmp 0x458e5c
test esi, esi
jle 0x458c76
mov ebx, dword [0x45e108]
push 1
push 0x47b768
call ebx
test eax, eax
jne 0x458c76
cmp dword [esi*4 + 0x47b728], edi
je 0x458e33
mov eax, dword [0x47b720]
lea esi, [eax - 1]
test esi, esi
jl 0x458e21
cmp dword [esi*4 + 0x47b728], edi
je 0x458e1d
dec esi
jns 0x458e11
test esi, esi
jge 0x458e31
cmp eax, 0x10
jge 0x458e2c
inc eax
mov dword [0x47b720], eax
lea esi, [eax - 1]
jmp 0x458e33
je 0x458e4b
xor ecx, ecx
test esi, esi
jl 0x458e4b
lea eax, [ecx*4 + 0x47b728]
mov edx, dword [eax]
inc ecx
cmp ecx, esi
mov dword [eax], edi
mov edi, edx
jle 0x458e39
push 0
push 0x47b768
call ebx
jmp 0x458c76
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret
Function at 0x403a30
Capabilities:
Enumerate pe sections

Disassembly:
push esi
mov eax, dword [0x45c5c0]
push edi
nop
mov edi, dword [eax*4 + 0x4283b0]
xor eax, eax
mov esi, edi
mov al, byte [edi]
sub eax, 0x10
cmp eax, 0xf
ja case.0x403a55.20
xor ecx, ecx
mov cl, byte [eax + 0x403bbc]
jmp dword [ecx*4 + 0x403ba8]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov dword [0x4283ac], 1
mov edx, dword [esp + 0x14]
mov dword [eax], 0xffff
mov eax, dword [esp + 0x10]
mov dword [ecx], 0xffff
mov ecx, dword [esp + 0xc]
mov dword [edx], 0xffff
pop edi
mov dword [eax], 0xffff
pop esi
mov dword [ecx], 0xffff
ret
xor eax, eax
mov ax, word [edi + 4]
push eax
call fcn.00401770
mov ecx, dword [esp + 0x10]
add esp, 4
mov dword [ecx], eax
xor eax, eax
mov ax, word [edi + 6]
push eax
call fcn.00401770
mov ecx, dword [esp + 0x14]
add esp, 4
mov dword [ecx], eax
xor eax, eax
mov ax, word [edi + 8]
push eax
call fcn.00401770
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
add esp, 4
mov dword [ecx], eax
mov dword [edx], 0xffff
mov eax, dword [esp + 0x18]
pop edi
pop esi
mov dword [eax], 0xffff
ret
xor eax, eax
mov ax, word [esi + 6]
push eax
call fcn.00401770
mov ecx, dword [esp + 0x10]
add esp, 4
mov dword [ecx], eax
xor eax, eax
mov ax, word [esi + 8]
push eax
call fcn.00401770
mov ecx, dword [esp + 0x14]
add esp, 4
mov dword [ecx], eax
xor eax, eax
mov ax, word [esi + 0xa]
push eax
call fcn.00401770
mov ecx, dword [esp + 0x18]
add esp, 4
mov dword [ecx], eax
xor ecx, ecx
mov cl, byte [esi + 2]
test ecx, ecx
jne 0x403b50
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
pop edi
pop esi
mov dword [eax], 0xffff
mov dword [ecx], 0xffff
ret
xor edx, edx
mov eax, dword [esp + 0x18]
mov dl, byte [esi + 3]
add ecx, edx
mov dword [eax], edx
dec ecx
mov eax, dword [esp + 0x1c]
pop edi
pop esi
mov dword [eax], ecx
ret
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov dword [0x4283ac], 1
mov edx, dword [esp + 0x14]
mov dword [eax], 0xffff
mov eax, dword [esp + 0x10]
mov dword [ecx], 0xffff
mov ecx, dword [esp + 0xc]
mov dword [edx], 0xffff
pop edi
mov dword [eax], 0xffff
pop esi
mov dword [ecx], 0xffff
ret
Function at 0x403af1
Capabilities:
Enumerate pe sections

Disassembly:
push esi
mov eax, dword [0x45c5c0]
push edi
nop
mov edi, dword [eax*4 + 0x4283b0]
xor eax, eax
mov esi, edi
mov al, byte [edi]
sub eax, 0x10
cmp eax, 0xf
ja case.0x403a55.20
xor ecx, ecx
mov cl, byte [eax + 0x403bbc]
jmp dword [ecx*4 + 0x403ba8]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov dword [0x4283ac], 1
mov edx, dword [esp + 0x14]
mov dword [eax], 0xffff
mov eax, dword [esp + 0x10]
mov dword [ecx], 0xffff
mov ecx, dword [esp + 0xc]
mov dword [edx], 0xffff
pop edi
mov dword [eax], 0xffff
pop esi
mov dword [ecx], 0xffff
ret
xor eax, eax
mov ax, word [edi + 4]
push eax
call fcn.00401770
mov ecx, dword [esp + 0x10]
add esp, 4
mov dword [ecx], eax
xor eax, eax
mov ax, word [edi + 6]
push eax
call fcn.00401770
mov ecx, dword [esp + 0x14]
add esp, 4
mov dword [ecx], eax
xor eax, eax
mov ax, word [edi + 8]
push eax
call fcn.00401770
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
add esp, 4
mov dword [ecx], eax
mov dword [edx], 0xffff
mov eax, dword [esp + 0x18]
pop edi
pop esi
mov dword [eax], 0xffff
ret
xor eax, eax
mov ax, word [esi + 6]
push eax
call fcn.00401770
mov ecx, dword [esp + 0x10]
add esp, 4
mov dword [ecx], eax
xor eax, eax
mov ax, word [esi + 8]
push eax
call fcn.00401770
mov ecx, dword [esp + 0x14]
add esp, 4
mov dword [ecx], eax
xor eax, eax
mov ax, word [esi + 0xa]
push eax
call fcn.00401770
mov ecx, dword [esp + 0x18]
add esp, 4
mov dword [ecx], eax
xor ecx, ecx
mov cl, byte [esi + 2]
test ecx, ecx
jne 0x403b50
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
pop edi
pop esi
mov dword [eax], 0xffff
mov dword [ecx], 0xffff
ret
xor edx, edx
mov eax, dword [esp + 0x18]
mov dl, byte [esi + 3]
add ecx, edx
mov dword [eax], edx
dec ecx
mov eax, dword [esp + 0x1c]
pop edi
pop esi
mov dword [eax], ecx
ret
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov dword [0x4283ac], 1
mov edx, dword [esp + 0x14]
mov dword [eax], 0xffff
mov eax, dword [esp + 0x10]
mov dword [ecx], 0xffff
mov ecx, dword [esp + 0xc]
mov dword [edx], 0xffff
pop edi
mov dword [eax], 0xffff
pop esi
mov dword [ecx], 0xffff
ret
Function at 0x415380
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 0xc]
sub esp, 0x18
test eax, eax
mov dword [esp], 0
push ebx
push esi
push edi
push ebp
jle 0x4154a9
mov ecx, dword [esp + 0x30]
xor edi, edi
mov eax, dword [0x48c0d0]
cmp eax, edi
jle 0x415494
mov eax, dword [esp + 0x10]
cdq
xor eax, edx
sub eax, edx
and eax, 7
xor eax, edx
sub eax, edx
shl eax, 3
mov dword [esp + 0x20], eax
xor eax, eax
inc ecx
inc ecx
mov esi, dword [esp + 0x20]
inc ecx
mov ebx, 0x33
mov dword [esp + 0x24], 0x33
mov al, byte [ecx - 3]
mov dword [esp + 0x14], eax
xor eax, eax
mov al, byte [ecx - 2]
mov dword [esp + 0x18], eax
xor eax, eax
mov al, byte [ecx - 1]
mov dword [esp + 0x1c], eax
mov eax, edi
cdq
xor eax, edx
sub eax, edx
and eax, 7
xor eax, edx
sub eax, edx
add esi, eax
mov eax, dword [esp + 0x14]
cdq
idiv ebx
xor ebx, ebx
mov ebp, dword [esi*4 + 0x45fd50]
mov eax, dword [esp + 0x14]
cmp edx, ebp
cdq
setg bl
idiv dword [esp + 0x24]
add ebx, eax
mov ebp, 0x33
mov eax, dword [esp + 0x18]
cdq
idiv ebp
lea ebx, [ebx + ebx*2]
xor eax, eax
cmp edx, dword [esi*4 + 0x45fd50]
mov ebp, 0x33
setg al
lea ebx, [eax + ebx*2]
mov eax, dword [esp + 0x18]
cdq
idiv ebp
add ebx, eax
mov eax, dword [esp + 0x1c]
cdq
idiv ebp
lea ebx, [ebx + ebx*2]
xor eax, eax
mov ebp, dword [esi*4 + 0x45fd50]
mov esi, 0x33
cmp edx, ebp
setg al
lea ebx, [eax + ebx*2]
mov eax, dword [esp + 0x1c]
cdq
idiv esi
add ebx, eax
inc edi
mov eax, dword [esp + 0x2c]
inc eax
mov dword [esp + 0x2c], eax
nop
mov byte [eax - 1], bl
mov eax, dword [0x48c0d0]
cmp eax, edi
jg 0x4153c5
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x34]
inc eax
mov dword [esp + 0x10], eax
cmp eax, edx
jl 0x41539f
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x18
ret