joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1002eca0
Capabilities:
Read file on windows

Disassembly:
push ecx
test esi, esi
push ebp
mov ebp, dword [esp + 0xc]
je 0x1002ee85
cmp byte [esi + 0x5c], 0x72
jne 0x1002ee85
mov eax, dword [esi + 0x38]
cmp eax, 0xfffffffd
je 0x1002ee7f
cmp eax, 0xffffffff
je 0x1002ee7f
cmp eax, 1
jne 0x1002ecd7
xor eax, eax
pop ebp
pop ecx
ret
push ebx
mov ebx, dword [esp + 0x14]
test ebx, ebx
push edi
mov dword [esp + 0xc], ebp
mov dword [esi + 0xc], ebp
mov dword [esi + 0x10], ebx
je 0x1002ee63
nop
cmp dword [esi + 0x58], 0
jne 0x1002edee
cmp dword [esi + 4], 0
jne 0x1002ed4f
cmp dword [esi + 0x3c], 0
jne 0x1002ed4f
call fcn.1003698b
mov dword [eax], 0
mov eax, dword [esi + 0x40]
mov ecx, dword [esi + 0x44]
push eax
push 0x4000
push 1
push ecx
call fcn.10036c2c
add esp, 0x10
test eax, eax
mov dword [esi + 4], eax
jne 0x1002ed4a
mov edx, dword [esi + 0x40]
push edx
mov dword [esi + 0x3c], 1
call fcn.10037e45
add esp, 4
test eax, eax
jne 0x1002ee5c
mov eax, dword [esi + 0x44]
mov dword [esi], eax
push 0
mov eax, esi
call fcn.10030570
add esp, 4
cmp eax, 1
mov dword [esi + 0x38], eax
jne 0x1002edc2
mov edi, dword [esi + 0xc]
mov edx, dword [esi + 0x4c]
mov eax, edi
sub eax, ebp
mov ecx, ebp
call fcn.1002e2b0
mov dword [esi + 0x4c], eax
mov eax, esi
mov ebp, edi
call fcn.1002f1c0
cmp eax, dword [esi + 0x4c]
jne 0x1002ede5
mov eax, esi
call fcn.1002f1c0
mov eax, esi
call fcn.1002e7f0
cmp dword [esi + 0x38], 0
jne 0x1002ee63
mov edi, dword [esi + 8]
mov ebx, dword [esi + 0x14]
mov eax, esi
call fcn.10030410
xor eax, eax
xor ecx, ecx
xor edx, edx
mov dword [esi + 8], edi
mov dword [esi + 0x14], ebx
call fcn.1002e2b0
mov ebx, dword [esp + 0x18]
mov dword [esi + 0x4c], eax
cmp dword [esi + 0x38], 0
jne 0x1002ee63
cmp dword [esi + 0x3c], 0
jne 0x1002ee63
cmp dword [esi + 0x10], 0
jne 0x1002ecf0
jmp 0x1002ee63
mov dword [esi + 0x38], 0xfffffffd
jmp 0x1002ee63
mov edi, dword [esi + 4]
mov eax, dword [esi + 0x10]
cmp edi, eax
jbe 0x1002edfa
mov edi, eax
test edi, edi
jbe 0x1002ee23
mov ecx, dword [esi]
mov edx, dword [esi + 0xc]
push edi
push ecx
push edx
call fcn.10039170
mov eax, dword [esp + 0x20]
add dword [esi], edi
sub dword [esi + 0x10], edi
add eax, edi
add esp, 0xc
sub dword [esi + 4], edi
mov dword [esp + 0xc], eax
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x10]
test eax, eax
jbe 0x1002ee41
mov ecx, dword [esi + 0x40]
mov edx, dword [esp + 0xc]
push ecx
push eax
push 1
push edx
call fcn.10036c2c
add esp, 0x10
sub dword [esi + 0x10], eax
sub ebx, dword [esi + 0x10]
add dword [esi + 8], ebx
add dword [esi + 0x14], ebx
test ebx, ebx
jne 0x1002ee55
mov dword [esi + 0x3c], 1
pop edi
mov eax, ebx
pop ebx
pop ebp
pop ecx
ret
mov dword [esi + 0x38], 0xffffffff
mov eax, dword [esi + 0xc]
mov edx, dword [esi + 0x4c]
sub eax, ebp
mov ecx, ebp
call fcn.1002e2b0
mov dword [esi + 0x4c], eax
pop edi
mov eax, ebx
sub eax, dword [esi + 0x10]
pop ebx
pop ebp
pop ecx
ret
or eax, 0xffffffff
pop ebp
pop ecx
ret
mov eax, 0xfffffffe
pop ebp
pop ecx
ret
Function at 0x1002ee90
Capabilities:
Write file on windows

Disassembly:
test edi, edi
je 0x1002f0d0
cmp byte [edi + 0x5c], 0x77
jne 0x1002f0d0
mov eax, dword [esp + 4]
mov dword [edi], eax
mov eax, dword [esp + 8]
test eax, eax
push esi
mov dword [edi + 4], eax
je 0x1002f0b4
push ebx
lea esp, [esp]
cmp dword [edi + 0x10], 0
jne 0x1002eeee
mov ecx, dword [edi + 0x40]
mov eax, dword [edi + 0x48]
push ecx
push 0x4000
push 1
push eax
mov dword [edi + 0xc], eax
call fcn.10034866
add esp, 0x10
cmp eax, 0x4000
jne 0x1002f0ac
mov dword [edi + 0x10], eax
mov esi, dword [edi + 0x1c]
test esi, esi
je 0x1002f095
cmp dword [edi + 0xc], 0
je 0x1002f08c
cmp dword [edi], 0
jne 0x1002ef12
cmp dword [edi + 4], 0
jne 0x1002f08c
mov eax, dword [esi + 4]
cmp eax, 0x29a
je 0x1002f08c
cmp dword [edi + 0x10], 0
jne 0x1002ef39
mov edx, dword [str.buffer_error]
mov dword [edi + 0x18], edx
mov eax, 0xfffffffb
jmp 0x1002f09a
cmp eax, 0x2a
mov ebx, dword [esi + 0x20]
mov dword [esi], edi
mov dword [esi + 0x20], 0
jne 0x1002efc0
mov ecx, dword [esi + 0x28]
mov eax, dword [esi + 0x7c]
sub ecx, 8
sub eax, 1
shl ecx, 0xc
sar eax, 1
add ecx, 0x800
cmp eax, 3
jbe 0x1002ef6b
mov eax, 3
shl eax, 6
or ecx, eax
cmp dword [esi + 0x64], 0
je 0x1002ef79
or ecx, 0x20
mov eax, 0x8421085
mul ecx
sub ecx, edx
shr ecx, 1
add ecx, edx
shr ecx, 4
add ecx, 1
mov eax, ecx
shl ecx, 5
sub ecx, eax
mov eax, esi
mov dword [esi + 4], 0x71
call fcn.1002f400
cmp dword [esi + 0x64], 0
je 0x1002efb9
movzx ecx, word [edi + 0x32]
call fcn.1002f400
movzx ecx, word [edi + 0x30]
call fcn.1002f400
mov dword [edi + 0x30], 1
cmp dword [esi + 0x14], 0
je 0x1002efe1
mov eax, edi
call fcn.1002f430
cmp dword [edi + 0x10], 0
jne 0x1002effd
mov dword [esi + 0x20], 0xffffffff
xor eax, eax
jmp 0x1002f09a
cmp dword [edi + 4], 0
jne 0x1002effd
test ebx, ebx
jl 0x1002effd
mov eax, dword [str.buffer_error]
mov dword [edi + 0x18], eax
mov eax, 0xfffffffb
jmp 0x1002f09a
cmp dword [esi + 4], 0x29a
jne 0x1002f01c
cmp dword [edi + 4], 0
je 0x1002f022
mov ecx, dword [str.buffer_error]
mov dword [edi + 0x18], ecx
mov eax, 0xfffffffb
jmp 0x1002f09a
cmp dword [edi + 4], 0
jne 0x1002f028
cmp dword [esi + 0x6c], 0
je 0x1002efda
mov eax, dword [esi + 0x7c]
lea edx, [eax + eax*2]
mov eax, dword [edx*4 + 0x10051a30]
push 0
push esi
call eax
add esp, 8
cmp eax, 2
je 0x1002f047
cmp eax, 3
jne 0x1002f04e
mov dword [esi + 4], 0x29a
test eax, eax
je 0x1002f077
cmp eax, 2
je 0x1002f077
cmp eax, 1
jne 0x1002efda
push 0
push 0
xor ecx, ecx
mov eax, esi
call fcn.10031920
add esp, 8
mov eax, edi
call fcn.1002f430
cmp dword [edi + 0x10], 0
jne 0x1002efda
mov dword [esi + 0x20], 0xffffffff
xor eax, eax
jmp 0x1002f09a
mov ecx, dword [str.stream_error]
mov dword [edi + 0x18], ecx
mov eax, 0xfffffffe
test eax, eax
mov dword [edi + 0x38], eax
jne 0x1002f0b3
cmp dword [edi + 4], eax
jne 0x1002eec0
jmp 0x1002f0b3
mov dword [edi + 0x38], 0xffffffff
pop ebx
mov esi, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [edi + 0x4c]
mov eax, esi
call fcn.1002e2b0
mov dword [edi + 0x4c], eax
mov eax, esi
sub eax, dword [edi + 4]
pop esi
ret
mov eax, 0xfffffffe
ret
Function at 0x1002f0e0
Capabilities:
Write file on windows

Disassembly:
push ebx
push edi
mov edi, eax
xor ebx, ebx
test edi, edi
je 0x1002f188
cmp byte [edi + 0x5c], 0x77
jne 0x1002f188
mov dword [edi + 4], ebx
push esi
lea esp, [esp]
mov esi, 0x4000
sub esi, dword [edi + 0x10]
je 0x1002f12e
mov eax, dword [edi + 0x40]
mov ecx, dword [edi + 0x48]
push eax
push esi
push 1
push ecx
call fcn.10034866
add esp, 0x10
cmp eax, esi
jne 0x1002f17e
mov edx, dword [edi + 0x48]
mov dword [edi + 0xc], edx
mov dword [edi + 0x10], 0x4000
test ebx, ebx
jne 0x1002f16c
push 4
call fcn.1002f480
add esp, 4
test esi, esi
mov dword [edi + 0x38], eax
jne 0x1002f14b
cmp eax, 0xfffffffb
jne 0x1002f14b
mov dword [edi + 0x38], esi
cmp dword [edi + 0x10], 0
jne 0x1002f15b
cmp dword [edi + 0x38], 1
je 0x1002f15b
xor ebx, ebx
jmp 0x1002f160
mov ebx, 1
mov eax, dword [edi + 0x38]
test eax, eax
je 0x1002f100
cmp eax, 1
je 0x1002f100
mov edi, dword [edi + 0x38]
mov eax, edi
sub eax, 1
neg eax
sbb eax, eax
pop esi
and eax, edi
pop edi
pop ebx
ret
or eax, 0xffffffff
pop esi
mov dword [edi + 0x38], eax
pop edi
pop ebx
ret
pop edi
mov eax, 0xfffffffe
pop ebx
ret
Function at 0x1002f960
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 8
push ebx
push ebp
mov ebp, dword [esi + 0x24]
push edi
lea esp, [esp]
mov eax, dword [esi + 0x64]
mov edi, dword [esi + 0x34]
mov ecx, dword [esi + 0x6c]
sub edi, eax
sub edi, ecx
mov dword [esp + 0xc], edi
jne 0x1002f994
test eax, eax
jne 0x1002f9a3
test ecx, ecx
jne 0x1002f9a3
mov dword [esp + 0xc], ebp
jmp 0x1002fa14
cmp edi, 0xffffffff
jne 0x1002f9a3
mov dword [esp + 0xc], 0xfffffffe
jmp 0x1002fa14
mov ecx, dword [esi + 0x24]
lea edx, [ecx + ebp - 0x106]
cmp eax, edx
jb 0x1002fa14
mov eax, dword [esi + 0x30]
push ebp
lea ecx, [eax + ebp]
push ecx
push eax
call fcn.10039170
mov edx, dword [esi + 0x44]
mov eax, dword [esi + 0x3c]
sub dword [esi + 0x68], ebp
sub dword [esi + 0x64], ebp
add esp, 0xc
sub dword [esi + 0x54], ebp
lea ecx, [eax + edx*2]
movzx eax, word [ecx - 2]
sub ecx, 2
cmp eax, ebp
jb 0x1002f9e3
sub eax, ebp
jmp 0x1002f9e5
xor eax, eax
sub edx, 1
mov word [ecx], ax
jne 0x1002f9d4
mov ecx, dword [esi + 0x38]
mov edx, ebp
lea ecx, [ecx + ebp*2]
movzx eax, word [ecx - 2]
sub ecx, 2
cmp eax, ebp
jb 0x1002fa04
sub eax, ebp
jmp 0x1002fa06
xor eax, eax
sub edx, 1
mov word [ecx], ax
jne 0x1002f9f5
add edi, ebp
mov dword [esp + 0xc], edi
mov edi, dword [esi]
cmp dword [edi + 4], 0
je 0x1002fab6
mov eax, dword [esi + 0x6c]
add eax, dword [esi + 0x64]
mov ecx, dword [edi + 4]
add eax, dword [esi + 0x30]
mov edx, dword [esp + 0xc]
mov ebx, ecx
cmp ebx, edx
mov dword [esp + 0x10], eax
jbe 0x1002fa3c
mov ebx, edx
test ebx, ebx
je 0x1002fa77
mov edx, dword [edi + 0x1c]
sub ecx, ebx
mov dword [edi + 4], ecx
cmp dword [edx + 0x18], 0
jne 0x1002fa65
mov eax, dword [edi]
mov ecx, dword [edi + 0x30]
push ebx
push eax
push ecx
call fcn.10032140
mov dword [edi + 0x30], eax
mov eax, dword [esp + 0x1c]
add esp, 0xc
mov edx, dword [edi]
push ebx
push edx
push eax
call fcn.10039170
add dword [edi], ebx
add esp, 0xc
add dword [edi + 8], ebx
add dword [esi + 0x6c], ebx
mov edi, dword [esi + 0x6c]
cmp edi, 3
jb 0x1002faa2
mov eax, dword [esi + 0x64]
mov ecx, dword [esi + 0x30]
lea edx, [eax + ecx]
movzx eax, byte [edx]
mov ecx, dword [esi + 0x50]
mov dword [esi + 0x40], eax
movzx edx, byte [edx + 1]
shl eax, cl
xor eax, edx
and eax, dword [esi + 0x4c]
mov dword [esi + 0x40], eax
cmp edi, 0x106
jae 0x1002fab6
mov eax, dword [esi]
cmp dword [eax + 4], 0
jne 0x1002f970
pop edi
pop ebp
pop ebx
add esp, 8
ret
Function at 0x10032140
Capabilities:
Compute adler32 checksum

Disassembly:
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0xc]
movzx ecx, di
shr edi, 0x10
test esi, esi
jne 0x1003215c
pop edi
mov eax, 1
pop esi
ret
push ebx
mov ebx, dword [esp + 0x18]
test ebx, ebx
jbe 0x1003226c
push ebp
lea ebx, [ebx]
cmp ebx, 0x15b0
mov eax, ebx
jb 0x1003217f
mov eax, 0x15b0
sub ebx, eax
cmp eax, 0x10
jl 0x1003222b
mov edx, eax
shr edx, 4
mov ebp, edx
neg ebp
shl ebp, 4
add eax, ebp
jmp 0x100321a0
movzx ebp, byte [esi]
add ecx, ebp
movzx ebp, byte [esi + 1]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 2]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 3]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 4]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 5]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 6]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 7]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 8]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 9]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 0xa]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 0xb]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 0xc]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 0xd]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 0xe]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 0xf]
add edi, ecx
add ecx, ebp
add edi, ecx
add esi, 0x10
sub edx, 1
jne 0x100321a0
test eax, eax
je 0x1003223f
nop
movzx edx, byte [esi]
add ecx, edx
add esi, 1
add edi, ecx
sub eax, 1
jne 0x10032230
mov eax, 0x80078071
mul ecx
shr edx, 0xf
imul edx, edx, 0xffff000f
add ecx, edx
mov eax, 0x80078071
mul edi
shr edx, 0xf
imul edx, edx, 0xffff000f
add edi, edx
test ebx, ebx
ja 0x10032170
pop ebp
mov eax, edi
pop ebx
shl eax, 0x10
pop edi
or eax, ecx
pop esi
ret
Function at 0x100346f8
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x100661b0]
jne 0x10034702
repz ret
jmp fcn.10038765

Function at 0x10036c47
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
xor esi, esi
cmp dword [esp + 8], esi
jne 0x10036c74
call fcn.1003699e
mov dword [eax], esi
call fcn.1003698b
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.10035148
add esp, 0x14
push 0x16
pop eax
pop esi
ret
test dword [esp + 0xc], 0xfffffff9
jne 0x10036c50
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x10036ca3
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.100369b1
pop ecx
call fcn.1003698b
mov eax, dword [eax]
pop esi
ret
test al, 0x10
jne 0x10036cca
test al, 1
je 0x10036cca
test byte [esp + 0xc], 2
je 0x10036cca
call fcn.1003699e
mov dword [eax], 5
call fcn.1003698b
mov dword [eax], 0xd
jmp 0x10036c9a
xor eax, eax
pop esi
ret
Function at 0x100434b5
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.100396b3
xor ebx, ebx
cmp dword [0x100bfa38], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x1004358a
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x100434f5
xor eax, eax
jmp 0x1004364e
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x100434ee
push eax
call fcn.10039650
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x100bfa38], eax
call esi
push eax
call fcn.10039650
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x100bfa3c], eax
call esi
push eax
call fcn.10039650
mov dword [0x100bfa40], eax
lea eax, [ebp - 8]
push eax
call fcn.10039e5b
test eax, eax
pop ecx
pop ecx
je 0x10043558
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.1003504c
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x1004358a
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.10039650
cmp eax, ebx
pop ecx
mov dword [0x100bfa48], eax
je 0x1004358a
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.10039650
pop ecx
mov dword [0x100bfa44], eax
mov eax, dword [0x100bfa44]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x10043603
cmp dword [0x100bfa48], esi
je 0x10043603
push eax
call fcn.100396bc
pop ecx
call eax
cmp eax, ebx
je 0x100435d0
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x100bfa48]
call fcn.100396bc
pop ecx
call eax
test eax, eax
je 0x100435d0
test byte [ebp - 0x18], 1
jne 0x10043603
lea eax, [ebp - 0xc]
push eax
call fcn.10039e92
test eax, eax
pop ecx
je 0x100435eb
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.1003504c
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x100435fa
or dword [ebp + 0x10], 0x200000
jmp 0x10043634
or dword [ebp + 0x10], 0x40000
jmp 0x10043634
mov eax, dword [0x100bfa3c]
cmp eax, esi
je 0x10043634
push eax
call fcn.100396bc
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x10043634
mov eax, dword [0x100bfa40]
cmp eax, esi
je 0x10043634
push dword [ebp - 4]
push eax
call fcn.100396bc
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x100bfa38]
call fcn.100396bc
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
je 0x430072
nop
nop
nop
nop
mov ebx, 0x408ecc
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0xd4c3560
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x430060
nop
nop
nop
mov eax, section..data_1
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4300d2
nop
nop
mov ebx, 0x42e1d0
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x4459266b
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x401510
Capabilities:
Contain obfuscated stackstrings
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa8
mov eax, dword [0x4593b4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea eax, [ebp - 0x3c]
push esi
push edi
push eax
lea eax, [ebp - 0x4c]
mov dword [ebp - 0xa4], edx
push eax
mov dword [ebp - 0xa8], ecx
mov dword [ebp - 0x14], 0x4e52454b
mov dword [ebp - 0x10], 0x32334c45
mov dword [ebp - 0xc], 0x6c6c642e
mov byte [ebp - 8], 0
mov dword [ebp - 0x9c], 0x50746547
mov dword [ebp - 0x98], 0x65636f72
mov dword [ebp - 0x94], 0x65487373
mov word [ebp - 0x90], 0x7061
mov byte [ebp - 0x8e], 0
mov dword [ebp - 0x4c], 0x4e52454b
mov dword [ebp - 0x48], 0x32334c45
mov dword [ebp - 0x44], 0x6c6c642e
mov byte [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0x64616f4c
mov dword [ebp - 0x38], 0x7262694c
mov dword [ebp - 0x34], 0x41797261
mov byte [ebp - 0x30], 0
call ebx
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call esi
mov edi, eax
lea eax, [ebp - 0x14]
push eax
call ebx
test eax, eax
jne 0x4015de
lea eax, [ebp - 0x14]
push eax
call edi
test eax, eax
jne 0x4015de
xor edi, edi
jmp 0x4015ea
lea ecx, [ebp - 0x9c]
push ecx
push eax
call esi
mov edi, eax
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x2c], 0x70616548
push eax
lea eax, [ebp - 0x6c]
mov dword [ebp - 0x28], 0x6c416552
push eax
mov dword [ebp - 0x24], 0x636f6c
mov dword [ebp - 0x6c], 0x4e52454b
mov dword [ebp - 0x68], 0x32334c45
mov dword [ebp - 0x64], 0x6c6c642e
mov byte [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0x64616f4c
mov dword [ebp - 0x58], 0x7262694c
mov dword [ebp - 0x54], 0x41797261
mov byte [ebp - 0x50], 0
call ebx
push eax
call esi
mov dword [ebp - 0xa0], eax
lea eax, [ebp - 0x14]
push eax
call ebx
test eax, eax
jne 0x401660
lea eax, [ebp - 0x14]
push eax
call dword [ebp - 0xa0]
test eax, eax
jne 0x401660
xor ebx, ebx
jmp 0x401669
lea ecx, [ebp - 0x2c]
push ecx
push eax
call esi
mov ebx, eax
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x20], 0x70616548
push eax
lea eax, [ebp - 0x8c]
mov dword [ebp - 0x1c], 0x6f6c6c41
push eax
mov word [ebp - 0x18], 0x63
mov dword [ebp - 0x8c], 0x4e52454b
mov dword [ebp - 0x88], 0x32334c45
mov dword [ebp - 0x84], 0x6c6c642e
mov byte [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0x64616f4c
mov dword [ebp - 0x78], 0x7262694c
mov dword [ebp - 0x74], 0x41797261
mov byte [ebp - 0x70], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call esi
mov dword [ebp - 0xa0], eax
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
jne 0x4016f2
lea eax, [ebp - 0x14]
push eax
call dword [ebp - 0xa0]
test eax, eax
jne 0x4016f2
xor esi, esi
jmp 0x4016fb
lea ecx, [ebp - 0x20]
push ecx
push eax
call esi
mov esi, eax
mov eax, dword [ebp - 0xa8]
push dword [ebp - 0xa4]
test eax, eax
je 0x401724
push eax
push 0
call edi
push eax
call ebx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00429641
mov esp, ebp
pop ebp
ret
push 0
call edi
push eax
call esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00429641
mov esp, ebp
pop ebp
ret
Function at 0x401740
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
mov eax, dword [0x4593b4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea eax, [ebp - 0x30]
push esi
push edi
push eax
lea eax, [ebp - 0x40]
mov dword [ebp - 0x78], ecx
push eax
mov dword [ebp - 0x14], 0x4e52454b
mov dword [ebp - 0x10], 0x32334c45
mov dword [ebp - 0xc], 0x6c6c642e
mov byte [ebp - 8], 0
mov dword [ebp - 0x70], 0x50746547
mov dword [ebp - 0x6c], 0x65636f72
mov dword [ebp - 0x68], 0x65487373
mov word [ebp - 0x64], 0x7061
mov byte [ebp - 0x62], 0
mov dword [ebp - 0x40], 0x4e52454b
mov dword [ebp - 0x3c], 0x32334c45
mov dword [ebp - 0x38], 0x6c6c642e
mov byte [ebp - 0x34], 0
mov dword [ebp - 0x30], 0x64616f4c
mov dword [ebp - 0x2c], 0x7262694c
mov dword [ebp - 0x28], 0x41797261
mov byte [ebp - 0x24], 0
call ebx
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call esi
mov edi, eax
lea eax, [ebp - 0x14]
push eax
call ebx
test eax, eax
jne 0x4017f3
lea eax, [ebp - 0x14]
push eax
call edi
test eax, eax
jne 0x4017f3
xor edi, edi
jmp 0x4017fc
lea ecx, [ebp - 0x70]
push ecx
push eax
call esi
mov edi, eax
lea eax, [ebp - 0x50]
mov dword [ebp - 0x20], 0x70616548
push eax
lea eax, [ebp - 0x60]
mov dword [ebp - 0x1c], 0x65657246
push eax
mov byte [ebp - 0x18], 0
mov dword [ebp - 0x60], 0x4e52454b
mov dword [ebp - 0x5c], 0x32334c45
mov dword [ebp - 0x58], 0x6c6c642e
mov byte [ebp - 0x54], 0
mov dword [ebp - 0x50], 0x64616f4c
mov dword [ebp - 0x4c], 0x7262694c
mov dword [ebp - 0x48], 0x41797261
mov byte [ebp - 0x44], 0
call ebx
push eax
call esi
mov dword [ebp - 0x74], eax
lea eax, [ebp - 0x14]
push eax
call ebx
test eax, eax
jne 0x401869
lea eax, [ebp - 0x14]
push eax
call dword [ebp - 0x74]
test eax, eax
jne 0x401869
xor esi, esi
jmp 0x401872
lea ecx, [ebp - 0x20]
push ecx
push eax
call esi
mov esi, eax
push dword [ebp - 0x78]
push 0
call edi
push eax
call esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00429641
mov esp, ebp
pop ebp
ret
Function at 0x401890
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0x4593b4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x24]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push edi
push eax
lea eax, [ebp - 0x34]
mov dword [ebp - 0x50], edx
push eax
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x14], 0x4e52454b
mov dword [ebp - 0x10], 0x32334c45
mov dword [ebp - 0xc], 0x6c6c642e
mov byte [ebp - 8], 0
mov dword [ebp - 0x44], 0x74726956
mov dword [ebp - 0x40], 0x416c6175
mov dword [ebp - 0x3c], 0x636f6c6c
mov byte [ebp - 0x38], 0
mov dword [ebp - 0x34], 0x4e52454b
mov dword [ebp - 0x30], 0x32334c45
mov dword [ebp - 0x2c], 0x6c6c642e
mov byte [ebp - 0x28], 0
mov dword [ebp - 0x24], 0x64616f4c
mov dword [ebp - 0x20], 0x7262694c
mov dword [ebp - 0x1c], 0x41797261
mov byte [ebp - 0x18], 0
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x14]
push eax
call esi
test eax, eax
jne 0x401948
lea eax, [ebp - 0x14]
push eax
call dword [ebp - 0x48]
test eax, eax
jne 0x401948
xor edx, edx
mov dword [ebp - 0x4c], edx
jmp 0x401954
lea ecx, [ebp - 0x44]
push ecx
push eax
call edi
mov edx, eax
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebx]
xor eax, eax
mov esi, dword [ebx + 4]
xor ebx, ebx
mov dword [ebp - 0x48], esi
movzx edi, word [ecx + 0x14]
add edi, 0x28
cmp ax, word [ecx + 6]
jae 0x4019e0
add edi, ecx
nop
mov eax, dword [edi]
test eax, eax
jne 0x40199f
mov eax, dword [ebp - 0x50]
mov esi, dword [eax + 0x38]
test esi, esi
jle 0x4019c9
mov eax, dword [edi - 4]
add eax, dword [ebp - 0x48]
push 4
push 0x1000
push esi
push eax
call edx
push esi
push 0
push eax
mov dword [edi - 8], eax
call fcn.0042b550
jmp 0x4019c6
push 4
push 0x1000
push eax
mov eax, dword [edi - 4]
add eax, esi
push eax
call edx
push dword [edi]
mov ecx, dword [edi + 4]
mov esi, eax
add ecx, 0x459df0
push ecx
push esi
call fcn.0042afd0
mov dword [edi - 8], esi
add esp, 0xc
mov eax, dword [ebp - 0x54]
inc ebx
mov edx, dword [ebp - 0x4c]
add edi, 0x28
mov esi, dword [ebp - 0x48]
mov eax, dword [eax]
movzx eax, word [eax + 6]
cmp ebx, eax
jl 0x401970
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00429641
mov esp, ebp
pop ebp
ret