joyce8/EMBER2024-capa huggingface dataset:
Function at 0x502b10
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5806a8
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov ebx, ecx
push edi
mov esi, dword [ebp]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
dec ecx
cmp eax, ecx
jge 0x502b49
inc eax
mov dword [esi + 0x10], eax
jmp 0x502c5c
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x502b5d
mov eax, 0xffffffc7
jmp 0x502c5e
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x502b6e
cmp dword [esi + 8], eax
jne 0x502b5d
cmp dword [esi + 8], eax
jne 0x502b87
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x502b87
mov eax, 0xffffffc7
jmp 0x502c5e
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x502b9b
push eax
mov ecx, ebx
call fcn.00502340
mov dword [esi + 4], edi
mov dword [ebp], esi
mov ecx, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x10], ecx
lea ecx, [esp + 0x10]
call fcn.004d1050
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x502bcc
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.004d1070
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.00501ab0
test eax, eax
mov dword [esp + 0x38], eax
je 0x502bff
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0xbbaa30
call fcn.004d1250
mov eax, dword [esp + 0x38]
jmp 0x502c5e
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.00502970
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x502c43
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.00502990
mov esi, eax
test esi, esi
jne 0x502c73
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.00502970
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x502c15
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0xbbaa30
call fcn.004d1250
xor eax, eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0xbbaa30
call fcn.004d1250
mov eax, esi
jmp 0x502c5e
Function at 0x513180
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x580f98
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [0x584680]
push 0
lea ecx, [esp + 0x20]
call fcn.0057916a
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.00512ae0
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.00579098
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.00575961
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.00575961
push 1
push 0
push 0
mov ecx, esi
call fcn.00575909
push 1
push 0
push 1
mov ecx, esi
call fcn.00575909
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.005791dc
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x513300
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x580fb8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.0057916a
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.00512ae0
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.00579098
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [0x584680]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x5133c4
cmp dword [esp + 0x40], 1
jne 0x5133c2
cmp ecx, eax
jge 0x5133c4
mov eax, ecx
cmp eax, 0xc8
jge 0x5133d0
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.00513180
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [0x58467c]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.005791dc
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x513bc0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x581063
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.00573d79
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], 0xbbc4d0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], 0xbbc418
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [0x584180]
push eax
mov ecx, edi
call fcn.00579412
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.0057aa94
test eax, eax
je 0x513cdc
mov ecx, dword [esp + 0x3c]
call fcn.0057943f
mov ecx, dword [esi + 0x1c]
mov ebp, dword [0x5846a0]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x513ca0
push edi
mov ecx, esi
call fcn.00576aa8
mov ecx, esi
call fcn.00513e80
cmp dword [esp + 0x38], 1
jne 0x513cd5
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.00576be3
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28

Function at 0x515ed0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x515f03
push esi
call fcn.00524280
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x515efc
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x515f89
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x515f72
mov eax, dword [esi + 8]
test eax, eax
je 0x515f27
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x515f6e
cmp eax, 2
je 0x515f72
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x515f1a
cmp eax, 3
je 0x515f4d
cmp eax, 1
jne 0x515f1a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x515f1a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x515f1a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00515fb0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x515f98
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00515fb0
add esp, 4
pop esi
ret
Function at 0x5333ad
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5816a8
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov eax, dword [esp + 0x28]
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov edx, dword [esi + 0x40]
test edx, edx
setne bl
inc ebx
test eax, eax
je 0x5333c3
or bh, 0x80
lea ecx, [esp + 0xc]
call fcn.005387d0
mov edx, dword [esp + 0x30]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x28], 0
push ecx
push edx
lea ecx, [esp + 0x14]
call fcn.00538b80
lea eax, [esp + 0xc]
push ebx
push eax
mov ecx, esi
call fcn.00533430
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
mov dword [esp + 0xc], 0xbbe7c0
call fcn.005389d0
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 8
Function at 0x554b70
Capabilities:
Get number of processors

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x582ff0
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
push edi
mov edi, dword [esp + 0x30]
mov esi, ecx
mov eax, dword [edi]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x554d17
mov ecx, dword [0xbe8648]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], ecx
mov dword [esp + 0x28], 0
mov dword [esp + 0x30], ecx
mov ecx, dword [eax - 8]
mov bl, 1
test ecx, ecx
mov byte [esp + 0x28], bl
jle 0x554c6c
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
push edi
push ecx
mov ecx, esi
call fcn.00553890
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 2
call fcn.00572851
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], bl
call fcn.00572764
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 0xbe56a0
call fcn.005727d2
lea edx, [esp + 0x14]
push 0x3d
push edx
lea eax, [esp + 0x24]
push edi
push eax
mov ecx, esi
call fcn.00553c50
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x2c], 3
call fcn.00572851
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], bl
call fcn.00572764
lea ecx, [esp + 0xc]
call fcn.00572c2c
mov ecx, dword [esp + 0xc]
push 0xbe60dc
push ecx
call fcn.005618e4
add esp, 8
test eax, eax
je 0x554c94
mov edx, dword [edi]
mov ecx, dword [esp + 0x10]
mov eax, dword [edx - 8]
cmp ecx, eax
jl 0x554bcd
mov esi, dword [esp + 0x34]
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], 0
call fcn.00572764
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
call fcn.00572764
jmp 0x554d1b
lea eax, [esp + 0x30]
mov ecx, esi
push eax
call fcn.00554910
test eax, eax
push 0
je 0x554cff
lea ecx, [esp + 0x34]
push 0x64
push ecx
mov ecx, esi
call fcn.00552fb0
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x554ce5
cmp eax, 0x64
jg 0x554cd3
mov edx, dword [esp + 0x38]
push eax
push 0x64
push edx
call dword [0x5843dc]
mov esi, eax
jmp 0x554c70
push 0x64
push eax
mov eax, dword [esp + 0x40]
push eax
call dword [0x5843dc]
mov esi, eax
jmp 0x554c70
cmp eax, 0x64
jge 0x554c6c
mov ecx, dword [esp + 0x34]
push 0x64
push eax
push ecx
call dword [0x5843dc]
mov esi, eax
jmp 0x554c70
mov edx, dword [esp + 0x3c]
lea eax, [esp + 0x34]
push edx
push eax
mov ecx, esi
call fcn.00552fb0
mov esi, eax
jmp 0x554c70
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
cmp esi, eax
jl 0x554d25
mov eax, esi
mov ecx, dword [esp + 0x20]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x20
ret 0x10
Function at 0x40211c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov byte [ebp - 0xc], 0
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
push 0x419118
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x402196
push str.GetColorDirectoryA
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x40218c
mov edx, dword [ebp + 0x10]
sub edx, 2
mov dword [ebp - 0x14], edx
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 4]
push ecx
push 0
call dword [ebp - 0x10]
test eax, eax
je 0x40218c
push 0x419138
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov byte [ebp - 0xc], 1
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp - 0xc]
and ecx, 0xff
test ecx, ecx
jne 0x402237
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov edx, dword [ebp + 0x10]
sub edx, 0x15
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x4021dd
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x18], eax
or eax, 0xffffffff
jmp 0x402239
mov ecx, dword [ebp - 4]
add ecx, dword [ebp - 0x1c]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
movsx eax, byte [edx - 1]
cmp eax, 0x5c
jne 0x4021fb
mov ecx, dword [ebp - 4]
sub ecx, 1
mov dword [ebp - 4], ecx
push 0x32
lea edx, [ebp - 0x50]
push edx
push 0xcab
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_LoadStringA]
test eax, eax
jne 0x402223
push str.Color_
lea ecx, [ebp - 0x50]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [ebp - 4]
mov byte [edx], 0
lea eax, [ebp - 0x50]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x407090
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x416598
push 0x40a4a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
add esp, 0xffffffa8
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
call dword [sym.imp.KERNEL32.dll_GetVersion]
xor edx, edx
mov dl, ah
mov dword [0x41cf58], edx
mov ecx, eax
and ecx, 0xff
mov dword [0x41cf54], ecx
shl ecx, 8
add ecx, edx
mov dword [0x41cf50], ecx
shr eax, 0x10
mov dword [0x41cf4c], eax
call fcn.0040a460
test eax, eax
jne 0x4070fa
push 0x1c
call fcn.00407270
add esp, 4
call fcn.0040a360
test eax, eax
jne 0x40710d
push 0x10
call fcn.00407270
add esp, 4
mov dword [ebp - 4], 0
call fcn.0040a150
call fcn.0040a140
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [0x41e5f0], eax
call fcn.00409ae0
mov dword [0x41ceb8], eax
test eax, eax
je 0x407140
mov eax, dword [0x41e5f0]
test eax, eax
jne 0x40714a
push 0xffffffffffffffff
call fcn.00409350
add esp, 4
call fcn.00409830
call fcn.00409740
call fcn.00409320
mov esi, dword [0x41e5f0]
mov dword [ebp - 0x64], esi
cmp byte [esi], 0x22
jne 0x407229
inc esi
mov dword [ebp - 0x64], esi
mov al, byte [esi]
cmp al, 0x22
je 0x407191
test al, al
je 0x407191
and eax, 0xff
push eax
call fcn.004096e0
add esp, 4
test eax, eax
je 0x40716b
inc esi
mov dword [ebp - 0x64], esi
jmp 0x40716b
cmp byte [esi], 0x22
jne 0x40719a
inc esi
mov dword [ebp - 0x64], esi
mov al, byte [esi]
test al, al
je 0x4071aa
cmp al, 0x20
ja 0x4071aa
inc esi
mov dword [ebp - 0x64], esi
jmp 0x40719a
mov dword [ebp - 0x30], 0
lea eax, [ebp - 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
test byte [ebp - 0x30], 1
je 0x4071cb
mov eax, dword [ebp - 0x2c]
and eax, 0xffff
jmp 0x4071d0
mov eax, 0xa
push eax
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call main
mov dword [ebp - 0x60], eax
push eax
call fcn.00409350
jmp 0x40720e
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [esi], 0x20
jbe 0x40719a
inc esi
mov dword [ebp - 0x64], esi
jmp 0x407229

Function at 0x407270
Capabilities:
Terminate process

Disassembly:
cmp dword [0x41cec0], 1
jne 0x40727e
call fcn.0040a580
mov eax, dword [esp + 4]
push eax
call fcn.0040a5c0
add esp, 4
push 0xff
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x4091e0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov dword [ebp - 0x24], 0x60
mov dword [ebp - 0x28], 0x4b
mov dword [ebp - 0x10], 3
mov dword [ebp - 0xc], 0x53
mov dword [ebp - 0x2c], 0x5e
mov dword [ebp - 0x30], 0x58
mov dword [ebp - 0x1c], 0x39
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x38], 0x4d
mov dword [ebp - 0x3c], 0x21
mov dword [ebp - 0x40], 0x39
mov dword [ebp - 0x44], 0x22
mov dword [ebp - 0x48], 0x32
mov dword [ebp - 0x4c], 9
mov dword [ebp - 0x50], 0x22
mov dword [ebp - 0x20], 0x45
mov dword [ebp - 0x54], 0x4b
mov dword [ebp - 0x58], 0x5d
mov dword [ebp - 8], 0xa
mov dword [ebp - 0x5c], 0x51
mov dword [ebp - 0x60], 0x31
mov dword [ebp - 0x14], 0x62
mov dword [ebp - 0x18], 0xb
mov eax, dword [ebp - 0xc]
sub eax, 0x2a
push eax
mov ecx, dword [ebp + 0xc]
add ecx, 0x4f
push ecx
mov edx, dword [ebp - 8]
add edx, 3
push edx
mov eax, dword [ebp + 8]
sub eax, 0x4d
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x20
push ecx
mov edx, dword [ebp - 0x14]
add edx, 1
push edx
call fcn.0040b460
add esp, 0x18
mov dword [ebp - 4], 0
jmp 0x4092cb
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 8]
sub ecx, 0x186aa
cmp dword [ebp - 4], ecx
jge 0x40931a
mov edx, dword [ebp + 8]
add edx, 1
mov dword [ebp + 8], edx
push 0x38f6
push 0x2649
push 0x13275
push 0x5d66
push 0x14bcc
push 0x7cf
push 0x46be
push 0x7c35
push 0x3783
call dword [sym.imp.KERNEL32.dll_ReadFile]
add esp, 0x24
jmp 0x4092c2
mov eax, dword [ebp - 0x18]
add eax, 0x31
push eax
mov ecx, dword [ebp + 0x28]
add ecx, 8
push ecx
mov edx, dword [ebp + 0x20]
sub edx, 0x5f
push edx
mov eax, dword [ebp - 0x1c]
add eax, 0x14
push eax
mov ecx, dword [ebp - 0x20]
sub ecx, 0x12
push ecx
mov edx, dword [ebp - 8]
add edx, 0x25
push edx
call fcn.00411aa0
add esp, 0x18
mov esp, ebp
pop ebp
ret
Function at 0x40fe00
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov dword [ebp - 0x28], 0x4c
mov dword [ebp - 0x2c], 1
mov dword [ebp - 0x30], 0x5b
mov dword [ebp - 0x34], 0x37
mov dword [ebp - 0x38], 0x32
mov dword [ebp - 0x3c], 0x53
mov dword [ebp - 0x20], 0x16
mov dword [ebp - 0x40], 0x52
mov dword [ebp - 0x44], 0x5c
mov dword [ebp - 0x48], 8
mov dword [ebp - 0x1c], 0x60
mov dword [ebp - 0x4c], 0x14
mov dword [ebp - 0xc], 0x4c
mov dword [ebp - 0x50], 0xb
mov dword [ebp - 0x54], 0x1f
mov dword [ebp - 0x10], 0xd
mov dword [ebp - 0x18], 0x21
mov dword [ebp - 0x58], 0x4a
mov dword [ebp - 0x14], 0x3b
mov dword [ebp - 0x24], 0x39
mov dword [ebp - 8], 0xd
mov dword [ebp - 0x5c], 0x57
mov dword [ebp - 0x60], 0x1f
mov dword [ebp - 4], 0
jmp 0x40feb9
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0xc]
sub ecx, 0x186ec
cmp dword [ebp - 4], ecx
jge 0x40fef9
push 0x4810
push 0x122b6
push 0x7dfb
push 0x18113
push 0x661d
push 0x30cd
call dword [sym.imp.WS2_32.dll_getaddrinfo]
add esp, 0x18
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
jmp 0x40feb0
mov eax, dword [ebp - 0x10]
add eax, 0x54
push eax
mov ecx, dword [ebp - 0x14]
sub ecx, 0x38
push ecx
mov edx, dword [ebp - 0x18]
add edx, 0x35
push edx
mov eax, dword [ebp - 0x1c]
sub eax, 0x22
push eax
mov ecx, dword [ebp - 8]
add ecx, 0xd
push ecx
mov edx, dword [ebp - 0xc]
sub edx, 0x3b
push edx
mov eax, dword [ebp + 0x14]
add eax, 0x48
push eax
mov ecx, dword [ebp - 0x20]
add ecx, 0x47
push ecx
mov edx, dword [ebp - 0x24]
sub edx, 0xa
push edx
mov eax, dword [ebp - 0x10]
add eax, 0x43
push eax
call fcn.004231f0
add esp, 0x28
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov esp, ebp
pop ebp
ret
Function at 0x4109e0
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
mov dword [ebp - 0x3c], 0x50
mov dword [ebp - 0x40], 0x15
mov dword [ebp - 0x48], 0xf
mov dword [ebp - 0x38], 0x29
mov dword [ebp - 0x4c], 0x1d
mov dword [ebp - 0x50], 0x2b
mov dword [ebp - 0x54], 0x62
mov dword [ebp - 0x58], 0xc
mov dword [ebp - 0x10], 0x53
mov dword [ebp - 0x14], 0x14
mov dword [ebp - 0x44], 0x4d
mov dword [ebp - 0x34], 0x2c
mov dword [ebp - 4], 0x61
mov dword [ebp - 0x5c], 0x55
mov dword [ebp - 0x24], 0x52
mov dword [ebp - 0x30], 0x43
mov dword [ebp - 0x60], 0x2c
mov dword [ebp - 0x28], 0x1f
mov dword [ebp - 0x18], 0x4c
mov dword [ebp - 0x64], 0x33
mov dword [ebp - 0x68], 0x33
mov dword [ebp - 0x6c], 0x52
mov eax, dword [ebp - 4]
sub eax, 0x42
push eax
mov ecx, dword [ebp - 0x30]
add ecx, 4
push ecx
mov edx, dword [ebp - 0x28]
sub edx, 0x13
push edx
mov eax, dword [ebp + 8]
add eax, 2
push eax
call fcn.004110c0
add esp, 0x10
mov dword [ebp - 8], 0
jmp 0x410ab6
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0x34]
sub edx, 0x186cc
cmp dword [ebp - 8], edx
jge 0x410b8d
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x14]
jge 0x410ad9
mov dword [ebp - 0xc], 1
jmp 0x410ae0
mov dword [ebp - 0xc], 0
mov ecx, dword [ebp - 0x10]
xor ecx, dword [ebp - 0x38]
mov edx, dword [ebp - 0x24]
and edx, dword [ebp - 0xc]
or ecx, edx
je 0x410b88
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0x10]
jge 0x410b05
mov dword [ebp - 0x1c], 1
jmp 0x410b0c
mov dword [ebp - 0x1c], 0
mov ecx, dword [ebp - 0x3c]
imul ecx, dword [ebp - 0x14]
cmp ecx, dword [ebp - 0x18]
jge 0x410b21
mov dword [ebp - 0x20], 1
jmp 0x410b28
mov dword [ebp - 0x20], 0
mov edx, dword [ebp - 0x1c]
or edx, dword [ebp - 0x20]
je 0x410b61
mov eax, dword [ebp - 4]
xor eax, dword [ebp - 0x24]
je 0x410b61
mov ecx, dword [ebp - 0x40]
cmp ecx, dword [ebp - 0x28]
jge 0x410b49
mov dword [ebp - 0x2c], 1
jmp 0x410b50
mov dword [ebp - 0x2c], 0
mov edx, dword [ebp - 0x44]
and edx, dword [ebp - 0x2c]
je 0x410b61
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
push 0x1664
push 0xf8f3
push 0x12309
push 0xb7b
push 0xda96
push 0x1a3c
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
add esp, 0x18
jmp 0x410aad
mov esp, ebp
pop ebp
ret