joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40128f
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0x98
xor eax, eax
mov ecx, 0x18
lea edx, [esp + 0x78]
mov dword [esp], edx
mov dword [esp + 4], 0
mov dword [esp + 8], 0x18
mov dword [esp + 0x54], eax
mov dword [esp + 0x50], ecx
call fcn.00513f40
mov eax, esp
lea ecx, [esp + 0x78]
mov dword [eax], ecx
mov eax, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
call eax
sub esp, 4
xor eax, eax
lea ecx, [esp + 0x58]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x48], eax
jmp 0x4012ef
lea esp, [ebp - 4]
pop esi
pop ebp
ret
mov eax, dword [esp + 0x48]
xor ecx, ecx
mov edx, esp
mov dword [edx], 0xebabaa
mov edx, dword [sym.imp.GDI32.dll_GetPixelFormat]
mov dword [esp + 0x44], eax
mov dword [esp + 0x40], ecx
call edx
sub esp, 4
xor ecx, ecx
mov edx, dword [esp + 0x44]
sub edx, 0xf
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], ecx
mov dword [esp + 0x34], edx
je 0x401423
jmp 0x40132d
mov eax, dword [esp + 0x44]
sub eax, 0x2f
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], ecx
je 0x4013bc
jmp 0x401344
mov eax, dword [esp + 0x2c]
mov ecx, 0x30dad3
mov dword [esp + 0x74], ecx
mov ecx, esp
lea edx, [esp + 0x74]
mov dword [ecx + 8], edx
mov dword [ecx + 4], 0x76d
mov dword [ecx], 0x30dad3
mov ecx, dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
mov dword [esp + 0x28], eax
call ecx
sub esp, 0xc
mov ecx, dword [sym.imp.USER32.dll_EndMenu]
mov dword [esp + 0x24], eax
call ecx
mov ecx, esp
mov dword [ecx + 4], 0x499
mov dword [ecx], 0xf0c
mov ecx, dword [sym.imp.ole32.dll_CoCancelCall]
mov dword [esp + 0x20], eax
call ecx
sub esp, 8
mov ecx, dword [esp + 0x28]
add ecx, 1
cmp ecx, 0xa
mov dword [esp + 0x1c], eax
mov dword [esp + 0x2c], ecx
je 0x401435
jmp 0x401344
mov eax, esp
mov dword [eax + 4], 0xf0e79d
mov dword [eax], 0xe60828
mov eax, dword [sym.imp.GDI32.dll_GetClipRgn]
call eax
sub esp, 8
xor ecx, ecx
mov edx, 0x1c
mov esi, dword [esp + 0x4c]
mov dword [esp], esi
mov dword [esp + 4], 0
mov dword [esp + 8], 0x1c
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], edx
call fcn.00513f40
mov eax, esp
lea ecx, [esp + 0x58]
mov dword [eax + 4], ecx
mov dword [eax], 0xf6dfca
mov eax, dword [sym.imp.USER32.dll_TranslateMDISysAccel]
call eax
sub esp, 8
mov dword [esp + 0xc], eax
jmp 0x401423
mov eax, dword [esp + 0x44]
add eax, 1
mov dword [esp + 0x48], eax
jmp 0x4012ef
mov eax, dword [esp + 0x44]
add eax, 1
cmp eax, 0x109
mov dword [esp + 0x48], eax
je 0x4012e9
jmp 0x4012ef

Function at 0x51434c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x5b92c0]
jne 0x514356
repz ret
jmp fcn.005145fd
Function at 0x514f16
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x30
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov dword [0x5b92a4], 0
mov byte [0x5b92a8], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
xor eax, eax
mov dword [0x5b9298], 0x19f5
mov dword [0x5b92a0], 0
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x5b9298]
add eax, 0x1e60
mov dword [0x5b929c], eax
mov esi, dword [0x5b92a0]
add esi, 1
mov dword [0x5b92a0], esi
cmp esi, 0x100
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], esi
jl 0x514f5b
mov eax, 0x1a82
xor ecx, ecx
mov dword [0x5b9298], 0x1a82
mov dword [0x5b92a0], 0
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
mov dword [0x5b92ac], 0
add eax, 0xffffe1b1
mov dword [0x5b929c], eax
mov eax, dword [0x5b92a4]
mov edi, dword [ebp - 0x18]
movzx ebx, byte [edi + ecx]
add ebx, eax
mov eax, ecx
xor edi, edi
mov dword [ebp - 0x30], edx
mov edx, edi
mov edi, dword [ebp - 0x10]
div edi
mov edi, dword [ebp - 0x14]
movzx edx, byte [edi + edx]
add ebx, edx
mov dword [0x5b92ac], ebx
mov eax, ebx
cdq
idiv esi
mov dword [0x5b92a4], edx
mov esi, dword [ebp - 0x18]
mov bl, byte [esi + ecx]
mov byte [0x5b92a8], bl
mov esi, dword [ebp - 0x30]
add esi, 0xffffe791
mov dword [0x5b929c], esi
mov esi, dword [ebp - 0x18]
mov bl, byte [esi + edx]
mov byte [esi + ecx], bl
mov bl, byte [0x5b92a8]
mov ecx, dword [0x5b92a4]
mov byte [esi + ecx], bl
mov ecx, dword [0x5b92a0]
add ecx, 1
mov dword [0x5b92a0], ecx
cmp ecx, 0x100
mov dword [ebp - 0x34], ecx
jge 0x51508e
mov eax, dword [0x5b9298]
mov ecx, dword [0x5b929c]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], ecx
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], edx
jmp 0x514fbe
mov dword [0x5b929c], 0x2635
add esp, 0x30
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x5153b1
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x5c
mov eax, dword [ebp + 8]
mov dword [0x5b9298], 0x15d2
mov dword [0x5b929c], 0x1167
mov dword [ebp - 0x10], eax
call fcn.00514a9a
xor ecx, ecx
mov edx, eax
mov esi, dword [eax + 0x3c]
mov edi, edx
add edi, esi
mov esi, dword [eax + esi]
cmp esi, 0x4550
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], edi
je 0x515401
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [0x5b929c], 0xfffffc1e
mov eax, dword [eax + 0x78]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
add ecx, dword [edx + eax + 0x20]
mov esi, dword [edx + eax + 0x24]
mov dword [0x5b9298], 0x901
mov edi, dword [edx + eax + 0x18]
cmp edi, 0
mov ebx, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x34], ebx
je 0x515554
jmp 0x515482
mov eax, dword [ebp - 0x38]
add eax, 1
mov cl, byte [ebp - 0x39]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x3a]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
mov dword [ebp - 0x40], eax
mov byte [ebp - 0x41], ch
mov al, byte [ebp - 0x41]
test al, 1
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0x48], ecx
jne 0x5154b6
jmp 0x5154e3
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x2c]
add ecx, edx
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x4c]
xor edx, edx
mov esi, dword [ebp - 0x28]
mov edi, dword [esi + eax*4]
mov dword [0x5b929c], 0x1167
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x48], edx
mov eax, dword [ebp - 0x48]
mov ecx, eax
mov edx, dword [ebp - 0x5c]
add ecx, edx
mov esi, dword [ebp - 0x1c]
mov bl, byte [esi + ecx]
mov ecx, dword [ebp - 0x10]
mov bh, byte [ecx + eax]
cmp bl, bh
sete cl
cmp bl, 0
mov dword [ebp - 0x38], eax
mov byte [ebp - 0x39], bh
mov byte [ebp - 0x3a], cl
jne 0x51544d
mov al, byte [ebp - 0x3a]
test al, 1
jne 0x51551b
jmp 0x5154ec
mov eax, dword [ebp - 0x58]
add eax, 2
mov dword [ebp - 0x60], eax
xor eax, eax
mov ecx, dword [ebp - 0x54]
add ecx, 1
mov edx, dword [ebp - 0x30]
cmp ecx, edx
mov esi, dword [ebp - 0x60]
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x34], eax
jb 0x515492
jmp 0x515554
mov eax, dword [ebp - 0x58]
mov cx, word [eax]
mov edx, dword [ebp - 0x24]
add edx, 0x1c
movzx esi, cx
mov dword [ebp - 0x64], edx
mov dword [ebp - 0x68], esi
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x64]
add eax, dword [eax + ecx]
mov edx, dword [ebp - 0x68]
mov eax, dword [eax + edx*4]
mov dword [0x5b929c], 0x1d20
mov esi, dword [ebp - 0x1c]
add esi, eax
mov dword [ebp - 0x34], esi
mov eax, dword [ebp - 0x34]
add esp, 0x5c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x515627
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x30
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor edi, edi
mov ebx, 0x2448
mov dword [0x5b92a0], 0
mov dword [0x5b92a4], 0
mov dword [0x5b92b0], 0
mov dword [0x5b9298], 0x2448
cmp eax, 0
mov dword [ebp - 0x10], eax
mov eax, edi
mov dword [ebp - 0x14], eax
mov eax, edi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x2c], ebx
je 0x5157c1
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x14]
mov edi, 0x100
add eax, 0xffffffa9
mov dword [0x5b929c], 0x264a
add esi, 1
mov ebx, edx
add ebx, 1
mov dword [ebp - 0x30], eax
mov eax, esi
mov dword [ebp - 0x34], edx
cdq
idiv edi
mov dword [0x5b92a0], edx
mov esi, dword [ebp - 0x30]
mov dword [0x5b9298], esi
mov esi, dword [ebp - 0x24]
movzx esi, byte [esi + edx]
add esi, ecx
mov eax, esi
mov dword [ebp - 0x38], edx
cdq
idiv edi
mov dword [0x5b92a4], edx
mov ecx, dword [ebp - 0x24]
mov esi, dword [ebp - 0x38]
mov cl, byte [ecx + esi]
mov byte [0x5b92a8], cl
mov dword [0x5b929c], 0x20ef
mov edi, dword [ebp - 0x24]
mov cl, byte [edi + edx]
mov byte [edi + esi], cl
mov cl, byte [0x5b92a8]
mov edx, dword [0x5b92a4]
mov byte [edi + edx], cl
mov edx, dword [0x5b9298]
mov ecx, edx
add ecx, 0xffffe99b
mov dword [0x5b929c], ecx
mov ecx, dword [0x5b92a0]
movzx ecx, byte [edi + ecx]
mov esi, dword [0x5b92a4]
movzx esi, byte [edi + esi]
add esi, ecx
and esi, 0xff
mov dword [0x5b92b0], esi
mov dword [0x5b929c], 0x1562
mov cl, byte [edi + esi]
mov esi, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x34]
mov ch, byte [esi + edi]
add edx, 0x5a6
mov dword [0x5b929c], edx
xor ch, cl
mov byte [0x5b92b4], ch
mov dword [0x5b9298], 0x6a8
mov edx, dword [ebp - 0x20]
mov byte [edx + edi], ch
mov edx, dword [ebp - 0x10]
cmp ebx, edx
mov dword [ebp - 0x3c], ebx
je 0x5157c1
mov eax, dword [0x5b92a0]
mov ecx, dword [0x5b92a4]
mov edx, dword [0x5b9298]
mov esi, dword [ebp - 0x3c]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x2c], edx
jmp 0x515692
add esp, 0x30
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x51586c
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x90
lea eax, [esp + 0x28]
mov ecx, dword [0x5b9298]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], eax
lea eax, [esp + 0x80]
mov ecx, dword [esp + 0x24]
add ecx, 0xffffef19
mov dword [0x5b929c], ecx
mov dword [esp], eax
call fcn.005150ab
lea ecx, [0x515f5c]
mov edx, dword [esp + 0x80]
mov dword [esp + 0x30], edx
mov dword [esp + 0x38], 0x126200
mov edx, dword [0x5b9284]
mov dword [esp + 0x58], edx
mov edx, dword [0x5b9288]
mov dword [esp + 0x5c], edx
mov edx, dword [0x5b928c]
mov dword [esp + 0x28], edx
mov edx, dword [0x5b9290]
mov dword [esp + 0x34], edx
mov edx, dword [0x5b9294]
mov dword [esp + 0x3c], edx
mov dword [0x5b929c], 0x717
mov dword [0x5b9298], 0x127a
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], ecx
jmp 0x515962
mov eax, dword [esp + 0x14]
mov dword [esp + 0x64], eax
mov dword [0x5b9298], 0x25db
mov ecx, dword [esp + 0x10]
mov edx, dword [eax + ecx + 0x50]
mov dword [esp + 0x74], edx
call fcn.005159c6
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0xc], ecx
je 0x51598d
jmp 0x51595a
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0x10], ecx
je 0x515912
jmp 0x515971
mov eax, dword [esp + 0xc]
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x18]
cmp word [eax], 0x5a4d
mov dword [esp + 0x14], eax
je 0x515944
mov eax, dword [esp + 0x14]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
mov dword [esp + 0x18], eax
jmp 0x515962
lea eax, [esp + 0x28]
mov dword [0x5b9298], 0xf39
mov ecx, dword [esp + 0x88]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00515df6
mov ecx, esp
lea edx, [esp + 0x28]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 1
mov dword [esp + 0xc], eax
jmp 0x51595a
Function at 0x5159c6
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x30
mov dword [ebp - 8], 0
mov dword [0x5b9298], 0xea1
mov eax, dword fs:[0x30]
mov dword [ebp - 8], eax
mov dword [0x5b9298], 0x12cc
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx + 0x10]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], ecx
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x3c]
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x18], eax
jmp 0x515acb
mov eax, 0x19cd
mov ecx, dword [ebp - 0x1c]
add ecx, 1
cmp ecx, 0x104
mov edx, ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], ecx
jl 0x515acb
jmp 0x515aed
mov dword [0x5b9298], 0x251c
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff9
mov dword [ebp - 0x2c], eax
xor eax, eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x2c]
cmp word [ecx + edx*2], 0x6c
mov dword [ebp - 0x30], eax
je 0x515b4a
jmp 0x515ac2
xor eax, eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x28]
cmp word [ecx + edx*2 - 0x16], 0x61
mov dword [ebp - 0x30], eax
je 0x515b19
jmp 0x515ac2
mov dword [0x5b9298], 0xffffe770
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x28]
cmp word [eax + ecx*2 - 0x10], 0x6c
sete dl
mov byte [ebp - 0x31], dl
xor eax, eax
mov cl, byte [ebp - 0x31]
test cl, 1
mov dword [ebp - 0x30], eax
jne 0x515a3a
jmp 0x515ac2
xor eax, eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x28]
cmp word [ecx + edx*2 - 0x18], 0x6f
mov dword [ebp - 0x30], eax
je 0x515a68
mov eax, dword [ebp - 0x30]
add esp, 0x30
pop esi
pop ebp
ret
mov eax, dword [ebp - 0x18]
mov ecx, 0x1bd2
mov edx, dword [ebp - 0x14]
cmp word [edx + eax*2], 0
mov esi, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x24], esi
jne 0x515a10
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
xor edx, edx
mov dword [0x5b929c], ecx
mov dword [0x5b9298], 0x6b6
mov ecx, dword [ebp - 0x14]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x30], edx
je 0x515aae
jmp 0x515ac2
xor eax, eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x28]
cmp word [ecx + edx*2 - 0x14], 0x64
mov dword [ebp - 0x30], eax
jne 0x515ac2
xor eax, eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x28]
cmp word [ecx + edx*2 - 0x12], 0x64
mov dword [ebp - 0x30], eax
je 0x515a82
jmp 0x515ac2
mov dword [0x5b929c], 0x369d
mov eax, 1
mov dword [ebp - 0x30], eax
jmp 0x515ac2
Function at 0x515df6
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x50
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
xor edx, edx
mov esi, dword [0x5b9298]
add esi, 0xffffe61c
mov dword [0x5b929c], esi
mov dword [0x5b9298], 0x1cc
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], edx
jmp 0x515e60
lea eax, [ebp - 0x24]
mov dword [0x5b9298], 0x179a
mov dword [ebp - 0x34], eax
call fcn.005160ab
mov dword [esp], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 4], eax
call fcn.00514c21
cmp eax, 0
mov dword [ebp - 0x38], eax
je 0x515f54
jmp 0x515e88
mov eax, dword [ebp - 0x30]
mov cl, byte [eax + 0x573dbc]
mov dl, byte [eax + 0x573d8d]
sub dl, cl
mov byte [ebp + eax - 0x24], dl
add eax, 1
cmp eax, 0xe
mov dword [ebp - 0x30], eax
je 0x515e2c
jmp 0x515e60
mov eax, dword [ebp - 0x38]
mov dword [0x5b929c], 0x12d8
mov ecx, esp
mov dword [ecx + 0xc], 0x40
mov dword [ecx + 8], 0x1000
mov dword [ecx + 4], 0x6000
mov dword [ecx], 0
call eax
sub esp, 0x10
mov ecx, dword [0x5b929c]
add ecx, 0x206f
mov dword [0x5b9298], ecx
mov dword [esp], eax
mov ecx, dword [ebp - 0x28]
mov dword [esp + 4], ecx
mov dword [ebp - 0x3c], eax
call fcn.00514dd8
xor eax, eax
mov ecx, dword [ebp - 0x3c]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xd0
mov dword [0x5b9298], 0x22f9
mov dword [ecx + 0xd0], 0x4550
add ecx, 0xffc00000
mov dword [0x5b929c], 0x2203
mov edx, dword [ebp - 0x2c]
mov dword [edx + 0x28], ecx
mov ecx, dword [ebp - 0x3c]
mov dword [edx + 4], ecx
mov esi, dword [0x5b9298]
add esi, 0xffffe791
mov dword [0x5b9298], esi
add ecx, 0x1ec5
mov esi, dword [ebp - 0x3c]
cmp esi, 0
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x44], eax
je 0x515f4b
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
add esp, 0x50
pop esi
pop ebp
ret
xor eax, eax
add esp, 0x50
pop esi
pop ebp
ret
Function at 0x10019ab2
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
movzx eax, byte [ebp + 8]
test eax, eax
je 0x10019b21
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
push dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
push dword [eax]
mov eax, dword [ebp - 0x1c]
push dword [eax]
lea eax, [ebp - 0x44]
push eax
call fcn.100177c4
add esp, 0x10
mov dword [ebp - 0x20], eax
push dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
call fcn.1001a9ff
lea ecx, [ebp - 0x44]
call fcn.1001aa24
jmp 0x10019b42
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
movzx eax, byte [eax]
test eax, eax
je 0x10019b42
push 0x7c6
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov esp, ebp
pop ebp
ret
Function at 0x100318b7
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
and dword [ebp - 4], 0
push 1
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.10030f14
add esp, 0xc
mov eax, dword [ebp - 0x10]
movzx eax, word [eax]
cmp eax, 0x5a4d
je 0x100318e7
xor eax, eax
jmp 0x10031a39
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
cmp dword [eax], 0x4550
je 0x10031905
xor eax, eax
jmp 0x10031a39
push 1
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.10030f52
add esp, 0xc
cmp dword [ebp - 0xc], 0
jne 0x10031924
xor eax, eax
jmp 0x10031a39
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push 0x5cbd
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x4462
lea eax, [ebp - 0x10]
push eax
push 1
call fcn.10030fa0
add esp, 0x20
push dword [ebp - 4]
push 0x6862
push dword [ebp - 8]
push 0x45a2
push 0
push 0x45f3
push dword [ebp + 8]
call fcn.1002efdd
add esp, 0x1c
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
sub ecx, dword [eax + 0x34]
mov dword [ebp - 0x14], ecx
je 0x100319a5
push 0x4436
push 0x5d19
push dword [ebp - 4]
push 0x1ebe
push 0x349b
push dword [ebp - 0x14]
push 0x1232
push 0
call fcn.10030fa0
add esp, 0x20
push dword [ebp - 4]
call fcn.10030ab3
pop ecx
test eax, eax
jne 0x100319b9
xor eax, eax
jmp 0x10031a39
push 0x6eba
push 0x6961
push 1
lea eax, [ebp - 4]
push eax
call fcn.100317ab
add esp, 0x10
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [eax + 0x28], 0
je 0x10031a21
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov ecx, dword [ebp - 0xc]
add ecx, dword [eax + 0x28]
mov dword [ebp - 0x18], ecx
jne 0x100319f0
xor eax, eax
jmp 0x10031a39
push 0
push 1
push 0xdeadbeef
call dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x10031a09
xor eax, eax
jmp 0x10031a39
push 0x2de5
push 1
push 0x2f2b
lea eax, [ebp - 4]
push eax
call fcn.10031843
add esp, 0x10
mov eax, dword [ebp - 4]
cmp dword [eax + 0x10], 0
je 0x10031a32
mov eax, dword [ebp - 4]
mov dword [ebp - 0x1c], eax
jmp 0x10031a36
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x1c]
mov esp, ebp
pop ebp
ret
Function at 0x1008236a
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10095330]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.1007797a
mov dword [ebp - 0x14], eax
cmp dword [0x14b2bd58], esi
jne 0x1008245d
push 0x800
push esi
push 0x10007d44
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x100823ea
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x1008253d
push esi
push esi
push 0x10007d44
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x1008253d
push 0x10007d5c
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1008253d
push eax
call ebx
push 0x10007d68
push edi
mov dword [0x14b2bd58], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x10007d78
push edi
mov dword [0x14b2bd5c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x10007d8c
push edi
mov dword [0x14b2bd60], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x14b2bd68], eax
test eax, eax
je 0x1008245a
push 0x10007da8
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x14b2bd64], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x10082482
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x10082475
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x10082497
push 4
pop eax
jmp 0x1008253f
cmp dword [ebp - 0x14], esi
je 0x10082497
push dword [0x14b2bd58]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x1008247c
mov eax, dword [0x14b2bd64]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x100824f5
cmp dword [0x14b2bd68], edi
je 0x100824f5
push eax
call ebx
push dword [0x14b2bd68]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x100824f5
test eax, eax
je 0x100824f5
call ecx
test eax, eax
je 0x100824ea
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x100824ea
test byte [ebp - 8], 1
jne 0x100824f5
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x10082525
mov eax, dword [0x14b2bd5c]
cmp eax, edi
je 0x10082522
push eax
call ebx
test eax, eax
je 0x10082522
call eax
mov esi, eax
test esi, esi
je 0x10082522
mov eax, dword [0x14b2bd60]
cmp eax, edi
je 0x10082522
push eax
call ebx
test eax, eax
je 0x10082522
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x14b2bd58]
call ebx
test eax, eax
je 0x1008253d
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x1008253f
invalid