joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1004c974
Capabilities:
Terminate process

Disassembly:
jmp 0x100e1110
jmp fcn.100e2500
cmp ecx, dword [0x10107b60]
jne 0x100e111a
repz ret
jmp 0x1004cac8

Function at 0x10094870
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
pushal
call 0x1009487f
pop dword [ebp - 0x44]
mov eax, 0x1009487f
sub dword [ebp - 0x44], eax
mov dword [ebp - 0x54], 0xdc04368f
add dword [ebp - 0x54], 0x724e0ebc
mov dword [ebp - 0x50], 0x2e690aa1
add dword [ebp - 0x50], 0x3ca41a4
mov dword [ebp - 0x4c], 0x9866b57
sub dword [ebp - 0x4c], 0xbd3a2729
mov dword [ebp - 0x48], 0x50bd9b0a
add dword [ebp - 0x48], 0xaf4264f6
lea eax, [ebp - 0x54]
push eax
mov eax, 0x34399641
add eax, 0xdbd7111b
add eax, dword [ebp - 0x44]
call dword [eax]
mov dword [ebp - 0x54], 0xbf81b220
add dword [ebp - 0x54], 0xb4f0b736
mov dword [ebp - 0x50], 0x64c92909
add dword [ebp - 0x50], 0xdca3386c
mov dword [ebp - 0x4c], 0x2744ab2c
add dword [ebp - 0x4c], 0x3c2ac140
mov dword [ebp - 0x48], 0xfeac2e7e
sub dword [ebp - 0x48], 0xfeac2e7e
lea ebx, [ebp - 0x54]
push ebx
push eax
mov eax, 0x9f17b489
sub eax, 0x8f070d29
add eax, dword [ebp - 0x44]
call dword [eax]
push 0x40
push 0x1000
push 0x3da48
push 0
call eax
mov ecx, 0x4da2
mov esi, eax
mov edx, 0x751dd2cc
sub edx, 0x650c8ccc
add edx, dword [ebp - 0x44]
mov ebx, 0xec94a48f
add ebx, 0x5bed9203
sub dword [ebp - 0x20], 0x5e07ce39
mov edi, dword [edx]
xor dword [ebp - 0x30], esi
add edi, ebx
xor dword [ebp - 0x24], eax
mov dword [esi], edi
xor dword [ebp - 0x1c], edx
add esi, 0xa9682f57
sub esi, 0xa9682f53
add edx, 4
loop 0x10094996
add eax, 0x24fe5e49
add eax, 0xdb02cb12
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x10000000
add ecx, dword [ebp - 0x44]
call ebx
leave
ret
Function at 0x409f72
Capabilities:
Move file

Disassembly:
mov eax, 0x40bca7
call fcn.0040a890
sub esp, 0x14
push ebx
push esi
push edi
push ecx
mov eax, esp
xor ebx, ebx
mov dword [ebp - 0x20], esp
push eax
mov dword [ebp - 0x10], ebx
call fcn.0040129d
lea eax, [ebp - 0x1c]
mov dword [ebp - 4], ebx
push eax
call fcn.00401db0
mov dword [ebp - 4], 2
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
push 1
lea eax, [ebp - 0x1c]
pop edi
push edi
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push eax
call fcn.0040659c
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 2
push eax
call fcn.0040a684
mov byte [ebp - 4], 4
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
lea eax, [ebp - 0x14]
mov esi, 0x40faa4
push eax
push esi
call fcn.00408c13
test al, al
je 0x40a019
mov ecx, dword [ebp + 8]
push esi
call fcn.00406638
mov dword [ebp - 0x10], edi
jmp 0x40a0d2
push ecx
lea eax, [ebp - 0x14]
mov ecx, esp
mov dword [ebp - 0x20], esp
push eax
call fcn.0040659c
mov byte [ebp - 4], 4
call fcn.00401228
cmp eax, ebx
jne 0x40a046
mov ecx, dword [ebp + 8]
push esi
call fcn.00406638
mov dword [ebp - 0x10], edi
jmp 0x40a0d2
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x18]
push eax
call fcn.0040659c
mov byte [ebp - 4], 6
nop
nop
nop
nop
nop
nop
push 0x40f964
push 0x40f960
lea ecx, [ebp - 0x18]
call fcn.00406da0
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
lea ecx, [ebp - 0x18]
call fcn.004062b4
push eax
lea ecx, [ebp - 0x14]
call fcn.004062b4
push eax
call dword [sym.imp.MSVCRT.dll_rename]
pop ecx
test eax, eax
pop ecx
jne 0x40a0b7
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x18]
push eax
call fcn.0040659c
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x10], edi
mov byte [ebp - 4], 4
call fcn.00406565
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.00406565
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], bl
call fcn.00406565
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4

Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x403ac5
sub eax, 0x403a6b
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x42e030
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
nop
jne 0x42e01e
nop
popal
nop
nop
nop
nop
jmp loc.00401219
Function at 0x401c57
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
pushal
call 0x401c66
pop dword [ebp - 0x24]
mov eax, 0x773ad2a
sub eax, 0x73390c4
sub dword [ebp - 0x24], eax
mov dword [ebp - 0x34], 0xd9b72699
add dword [ebp - 0x34], 0x749b1eb2
mov dword [ebp - 0x30], 0xf423738c
add dword [ebp - 0x30], 0x3e0fd8b9
mov dword [ebp - 0x2c], 0x5f2f3d76
add dword [ebp - 0x2c], 0xed1d06b8
mov dword [ebp - 0x28], 0x6c0466d9
sub dword [ebp - 0x28], 0x6c0466d9
lea eax, [ebp - 0x34]
push eax
mov eax, 0xadabecef
sub eax, 0xad6bbc9b
add eax, dword [ebp - 0x24]
call dword [eax]
mov dword [ebp - 0x34], 0x6e3bcf5c
add dword [ebp - 0x34], 0x63699fa
mov dword [ebp - 0x30], 0x45762768
sub dword [ebp - 0x30], 0x409c5f3
mov dword [ebp - 0x2c], 0xd16c851b
add dword [ebp - 0x2c], 0x9202e751
mov dword [ebp - 0x28], 0x71275de0
sub dword [ebp - 0x28], 0x71275de0
lea ebx, [ebp - 0x34]
push ebx
push eax
mov eax, 0x749bb633
sub eax, 0x745b8607
add eax, dword [ebp - 0x24]
call dword [eax]
push 0x40
push 0x1000
push 0x31d76
push 0
call eax
mov ecx, 0x3571
mov edi, eax
mov ebx, 0x407000
add ebx, dword [ebp - 0x24]
mov edx, 0xc1c25951
add edx, 0x71ad7b10
xor dword [ebp - 4], 0xd687382c
mov esi, dword [ebx]
mov dword [ebp - 0x14], 0xbe45ae8e
sub esi, edx
add dword [ebp - 0x20], 0xa7972950
mov dword [edi], esi
add edi, 0x67841880
sub edi, 0x6784187c
add ebx, 0xe70479ca
sub ebx, 0xe70479c6
loop 0x401d7c
add eax, 0xbfc685a1
sub eax, 0xbfc5bd0a
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x41f207f1
add ecx, 0xbe4df80f
add ecx, dword [ebp - 0x24]
call ebx
leave
ret

Function at 0x401fb2
Capabilities:
Delete file
Move file

Disassembly:
mov ecx, 0x404f28
jmp fcn.0040170c

Function at 0x401ff6
Capabilities:
Check if file exists
Delete directory
Get file attributes

Disassembly:
push esi
mov esi, 0x404f28
push esi
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x402013
push esi
call dword [sym.imp.kernel32.dll_RemoveDirectoryW]
test eax, eax
je 0x402018
push 1
pop eax
pop esi
ret
call fcn.00401fb2
pop esi
ret

Function at 0x433004
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
mov eax, 0xbb401000
cmp dh, bl
inc eax
add byte [eax - 0x4f92fe47], dl
inc esp
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x433024
nop
nop
mov eax, section..rsrc
nop
mov ebx, 0x4304d8
mov ecx, 0x191f5e29
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x433084
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x40d50b
Capabilities:
Hash data using sha1

Disassembly:
mov eax, dword [esp + 4]
and dword [eax + 0x18], 0
and dword [eax + 0x14], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
ret 4

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408ecc
nop
nop
mov ecx, 0x677b0cfc
nop
nop
test eax, eax
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x430024
nop
nop
nop
mov eax, section..rdata
nop
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0xd246565
nop
nop
test eax, eax
nop
nop
je 0x430084
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x406830
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x480de8
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x4b666c]
xor eax, ebp
mov dword [ebp - 0x28], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x23c], ecx
lea ecx, [ebp - 0x20]
call fcn.004065f0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x23c]
mov ecx, dword [eax + 4]
or ecx, 0x2001f
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x23c]
mov ecx, dword [eax]
push ecx
lea ecx, [ebp - 0x20]
call fcn.004067d0
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x4068c1
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x230], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.00406620
mov eax, dword [ebp - 0x230]
jmp 0x406960
mov dword [ebp - 0x10], 0x100
lea eax, [ebp - 0x18]
push eax
push 0
push 0
push 0
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x22c]
push edx
push 0
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x40692e
lea ecx, [ebp - 0x22c]
push ecx
lea ecx, [ebp - 0x20]
call fcn.00406830
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x406925
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x234], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.00406620
mov eax, dword [ebp - 0x234]
jmp 0x406960
mov dword [ebp - 0x10], 0x100
jmp 0x4068c8
lea ecx, [ebp - 0x20]
call fcn.00406710
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x23c]
call fcn.004066b0
mov dword [ebp - 0x238], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.00406620
mov eax, dword [ebp - 0x238]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x28]
xor ecx, ebp
call fcn.0047f406
mov esp, ebp
pop ebp
ret 4
Function at 0x406f60
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
xor eax, eax
jne 0x406f69
xor ecx, ecx
jne 0x406f69
xor edx, edx
cmp dword [ebp + 0xc], 0
setne dl
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], 0
jne 0x406f8a
mov eax, 0xd
jmp 0x406fe5
xor eax, eax
jne 0x406f71
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
lea edx, [ecx + eax*2]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
lea edx, [ecx + eax*2]
mov dword [ebp - 4], edx
cmp dword [ebp - 0xc], 1
jne 0x406f9b
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push 7
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esp, ebp
pop ebp
ret 8
Function at 0x410310
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4820bb
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x4b666c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 0x10
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x10]
add ecx, 0x44
call fcn.00411360
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0x10]
add ecx, 0x40
call fcn.00411360
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x10]
add ecx, 0x3c
call fcn.00411360
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x10]
add ecx, 0x38
call fcn.00411360
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x10]
add ecx, 0x34
call fcn.00411360
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
call fcn.00411360
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x10]
add ecx, 0x2c
call fcn.00411360
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x10]
add ecx, 0x28
call fcn.00411360
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x10]
add ecx, 0x24
call fcn.00411360
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x10]
add ecx, 0x20
call fcn.00411360
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x10]
add ecx, 0x1c
call fcn.00411360
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x10]
add ecx, 0x18
call fcn.00411360
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x10]
add ecx, 0x14
call fcn.00411360
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x10]
add ecx, 0x10
call fcn.00411360
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
add ecx, 0xc
call fcn.00411360
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
add ecx, 8
call fcn.00411360
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
add ecx, 4
call fcn.00411360
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x410860
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag
Get kernel32 base address
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4822bb
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x4b666c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
mov dl, byte [ecx]
mov byte [eax], dl
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
mov dl, byte [ecx + 1]
mov byte [eax + 1], dl
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
mov dl, byte [ecx + 2]
mov byte [eax + 2], dl
mov eax, dword [ebp + 8]
add eax, 4
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 4
call fcn.00411a80
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
add ecx, 8
push ecx
mov ecx, dword [ebp - 0x10]
add ecx, 8
call fcn.00411a80
mov byte [ebp - 4], 1
mov edx, dword [ebp + 8]
add edx, 0xc
push edx
mov ecx, dword [ebp - 0x10]
add ecx, 0xc
call fcn.00411a80
mov byte [ebp - 4], 2
mov eax, dword [ebp + 8]
add eax, 0x10
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x10
call fcn.00411a80
mov byte [ebp - 4], 3
mov ecx, dword [ebp + 8]
add ecx, 0x14
push ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0x14
call fcn.00411a80
mov byte [ebp - 4], 4
mov edx, dword [ebp + 8]
add edx, 0x18
push edx
mov ecx, dword [ebp - 0x10]
add ecx, 0x18
call fcn.00411a80
mov byte [ebp - 4], 5
mov eax, dword [ebp + 8]
add eax, 0x1c
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x1c
call fcn.00411a80
mov byte [ebp - 4], 6
mov ecx, dword [ebp + 8]
add ecx, 0x20
push ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0x20
call fcn.00411a80
mov byte [ebp - 4], 7
mov edx, dword [ebp + 8]
add edx, 0x24
push edx
mov ecx, dword [ebp - 0x10]
add ecx, 0x24
call fcn.00411a80
mov byte [ebp - 4], 8
mov eax, dword [ebp + 8]
add eax, 0x28
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x28
call fcn.00411a80
mov byte [ebp - 4], 9
mov ecx, dword [ebp + 8]
add ecx, 0x2c
push ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0x2c
call fcn.00411a80
mov byte [ebp - 4], 0xa
mov edx, dword [ebp + 8]
add edx, 0x30
push edx
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
call fcn.00411a80
mov byte [ebp - 4], 0xb
mov eax, dword [ebp + 8]
add eax, 0x34
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x34
call fcn.00411a80
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp + 8]
add ecx, 0x38
push ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0x38
call fcn.00411a80
mov byte [ebp - 4], 0xd
mov edx, dword [ebp + 8]
add edx, 0x3c
push edx
mov ecx, dword [ebp - 0x10]
add ecx, 0x3c
call fcn.00411a80
mov byte [ebp - 4], 0xe
mov eax, dword [ebp + 8]
add eax, 0x40
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x40
call fcn.00411a80
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp + 8]
add ecx, 0x44
push ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0x44
call fcn.00411a80
mov byte [ebp - 4], 0x10
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x410a40
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x482317
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x4b666c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
mov edx, dword [eax]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov eax, dword [eax + 0xc]
mov dword [ecx + 0xc], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 8]
mov al, byte [edx + 0x10]
mov byte [ecx + 0x10], al
mov ecx, dword [ebp + 8]
add ecx, 0x14
push ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0x14
call fcn.00411a80
mov dword [ebp - 4], 0
mov edx, dword [ebp + 8]
add edx, 0x18
push edx
mov ecx, dword [ebp - 0x10]
add ecx, 0x18
call fcn.00411a80
mov byte [ebp - 4], 1
mov eax, dword [ebp + 8]
add eax, 0x1c
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x1c
call fcn.00411a80
mov byte [ebp - 4], 2
mov ecx, dword [ebp + 8]
add ecx, 0x20
push ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0x20
call fcn.00411a80
mov byte [ebp - 4], 3
mov edx, dword [ebp + 8]
add edx, 0x24
push edx
mov ecx, dword [ebp - 0x10]
add ecx, 0x24
call fcn.00411a80
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
mov dl, byte [ecx + 0x28]
mov byte [eax + 0x28], dl
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
mov dl, byte [ecx + 0x29]
mov byte [eax + 0x29], dl
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x2c]
mov dword [eax + 0x2c], edx
mov eax, dword [ebp + 8]
add eax, 0x30
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
mov edx, dword [eax]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov eax, dword [eax + 0xc]
mov dword [ecx + 0xc], eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x416f40
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 0x24], ecx
mov ecx, 0x4b66e4
call fcn.00419e80
mov dword [ebp - 0x1c], eax
push 0x4906e0
movzx eax, word [ebp + 8]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x416f97
push 0x4906e8
movzx edx, word [ebp + 8]
push edx
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x416f97
xor eax, eax
jmp 0x417066
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x416fb5
xor eax, eax
jmp 0x417066
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x416fd3
xor eax, eax
jmp 0x417066
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x416ff4
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
xor eax, eax
jmp 0x417066
mov ecx, dword [ebp - 0x14]
push ecx
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x417017
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_FreeResource]
xor eax, eax
jmp 0x417066
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x10]
push eax
call sub.MSVCR90.dll_memcpy
add esp, 0xc
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov dword [ebp - 0xc], 0
lea edx, [ebp - 0xc]
push edx
push 1
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 4

Function at 0x41a030
Capabilities:
Create udp socket

Disassembly:
push ebp
mov ebp, esp
push 0
mov eax, dword [ebp + 0xc]
push eax
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov edx, dword [ebp + 8]
cmp dword [edx], 0xffffffff
jne 0x41a052
xor al, al
jmp 0x41a054
mov al, 1
pop ebp
ret
Function at 0x41a060
Capabilities:
Connect socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4830d9
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x4b666c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x10
push 0
lea eax, [ebp - 0x20]
push eax
call sub.MSVCR90.dll_memset
add esp, 0xc
mov ecx, 2
mov word [ebp - 0x20], cx
mov edx, dword [ebp + 0x10]
push edx
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [ebp - 0x1c], eax
movzx eax, word [ebp + 0xc]
push eax
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x1e], ax
push 0x10
lea ecx, [ebp - 0x20]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
call dword [sym.imp.WS2_32.dll_connect]
test eax, eax
je 0x41a17d
push 0x4b675c
call fcn.00402b50
add esp, 4
mov dword [ebp - 0x24], eax
push 0x4e20
mov ecx, dword [ebp - 0x24]
call sub.log4cplusU.dll_public:_bool___thiscall_log4cplus::Logger::isEnabledFor_int_const
movzx ecx, al
test ecx, ecx
je 0x41a171
call sub.log4cplusU.dll_class_std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______cdecl_log4cplus::detail::get_macro_body_oss_void_
mov dword [ebp - 0x28], eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.connect_error:
mov edx, dword [ebp - 0x28]
push edx
call fcn.00401ba0
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______thiscall_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___int_]
push str.bool___cdecl_ConnectToServer___w64_unsigned_int__short_const_char__
push 0x34
push str...CommonUtilMySocketUtil.cpp
lea eax, [ebp - 0x44]
push eax
mov ecx, dword [ebp - 0x28]
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____thiscall_std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::str_void_]
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x4c]
push edx
push 0x4e20
mov eax, dword [ebp - 0x24]
push eax
call sub.log4cplusU.dll_void___cdecl_log4cplus::detail::macro_forced_log_class_log4cplus::Logger_const___int__class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___char_const___int__char_const__
add esp, 0x18
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
xor ecx, ecx
jne 0x41a0d7
xor al, al
jmp 0x41a17f
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0047f406
mov esp, ebp
pop ebp
ret