joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45e0dc
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x486128]
cmp byte [eax + 0xc], 0
je 0x45e249
push 0x8000
call sub.KERNEL32.DLL_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x45e242
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x486f30], 0
jne 0x45e130
push 0x45e250
call sub.KERNEL32.DLL_GetModuleHandleA
mov ebx, eax
push 0x45e258
push ebx
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x486f30], eax
cmp dword [0x482278], 0
jne 0x45e22b
push 0x45e268
call sub.KERNEL32.DLL_LoadLibraryA
mov dword [0x482278], eax
cmp dword [0x482278], 0
je 0x45e22b
push 0x45e274
mov eax, dword [0x482278]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x486f34], eax
push 0x45e284
mov eax, dword [0x482278]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x486f38], eax
push 0x45e298
mov eax, dword [0x482278]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x486f3c], eax
push 0x45e2b0
mov eax, dword [0x482278]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x486f40], eax
push 0x45e2c8
mov eax, dword [0x482278]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x486f44], eax
push 0x45e2dc
mov eax, dword [0x482278]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x486f48], eax
push 0x45e2f4
mov eax, dword [0x482278]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x486f4c], eax
push 0x45e30c
mov eax, dword [0x482278]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x486f50], eax
push 0x45e328
mov eax, dword [0x482278]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x486f54], eax
push 0x45e334
mov eax, dword [0x482278]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x486f58], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45e249
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.DLL_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push ebx
mov eax, dword [ebp + 8]
push eax
call sub.KERNEL32.DLL_GetFileAttributesA
mov ebx, eax
cmp eax, 0xffffffff
jne 0x462d6c
call fcn.00463dc4
pop ebx
pop ebp
ret
test byte [ebp + 0xc], 2
je 0x462d88
test bl, 1
je 0x462d88
call fcn.00467590
mov dword [eax], 5
or eax, 0xffffffff
pop ebx
pop ebp
ret
xor eax, eax
pop ebx
pop ebp
ret
Function at 0x462ed4
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
call fcn.00463960
test byte [ebp + 0xd], 0xc0
jne 0x462ef8
mov eax, dword [0x483090]
mov edx, dword [eax]
and edx, 0xc000
or dword [ebp + 0xc], edx
test byte [ebp + 0xd], 0x80
jne 0x462f05
or dword [ebp + 0xc], 0x4000
mov ecx, dword [ebp + 0xc]
and ecx, 0x700
cmp ecx, 0x500
jg 0x462f32
je 0x462f44
sub ecx, 0x100
je 0x462f52
sub ecx, 0x100
je 0x462f59
sub ecx, 0x100
je 0x462f4b
jmp 0x462f60
sub ecx, 0x600
je 0x462f59
sub ecx, 0x100
je 0x462f44
jmp 0x462f60
mov edi, 1
jmp 0x462f65
mov edi, 2
jmp 0x462f65
mov edi, 4
jmp 0x462f65
mov edi, 5
jmp 0x462f65
mov edi, 3
test byte [ebp + 0xd], 1
je 0x462f8c
lea eax, [ebp + 0x10]
add eax, 4
mov eax, dword [eax - 4]
and eax, dword [0x482b08]
test al, 0x80
je 0x462f85
mov ebx, 0x80
jmp 0x462f9e
mov ebx, 1
jmp 0x462f9e
mov eax, dword [ebp + 8]
push eax
call sub.KERNEL32.DLL_GetFileAttributesA
mov ebx, eax
cmp eax, 0xffffffff
jne 0x462f9e
xor ebx, ebx
mov eax, dword [ebp + 0xc]
and eax, 3
sub eax, 1
jb 0x462fb0
je 0x462fb9
dec eax
je 0x462fc2
jmp 0x462fcb
mov dword [ebp - 4], SysStringLen
jmp 0x462fda
mov dword [ebp - 4], 0x40000000
jmp 0x462fda
mov dword [ebp - 4], 0xc0000000
jmp 0x462fda
push 1
call fcn.00463d58
pop ecx
mov ebx, eax
jmp 0x4630ca
mov eax, dword [ebp + 0xc]
and eax, 0x70
sub eax, 0x10
je 0x462ff6
sub eax, 0x10
je 0x462ffd
sub eax, 0x10
je 0x463006
sub eax, 0x10
je 0x46300f
jmp 0x46300f
xor edx, edx
mov dword [ebp - 8], edx
jmp 0x463016
mov dword [ebp - 8], 1
jmp 0x463016
mov dword [ebp - 8], 2
jmp 0x463016
mov dword [ebp - 8], 3
mov dword [ebp - 0x14], 0xc
xor ecx, ecx
mov dword [ebp - 0x10], ecx
lea ecx, [ebp - 0x14]
mov eax, dword [ebp + 0xc]
and eax, 0x80
cmp eax, 1
sbb edx, edx
neg edx
mov dword [ebp - 0xc], edx
push 0
push ebx
push edi
push ecx
mov eax, dword [ebp - 8]
push eax
mov edx, dword [ebp - 4]
push edx
mov ecx, dword [ebp + 8]
push ecx
call sub.KERNEL32.DLL_CreateFileA
mov esi, eax
cmp eax, 0xffffffff
jne 0x463083
call sub.KERNEL32.DLL_GetLastError
mov ebx, eax
and ebx, 0xffff
cmp ebx, 0x6e
jne 0x463078
test byte [ebp + 0xd], 1
je 0x463073
mov ebx, 0x50
jmp 0x463078
mov ebx, 2
push ebx
call fcn.00463d58
pop ecx
mov ebx, eax
jmp 0x4630ca
mov edi, esi
push edi
call fcn.00462e38
pop ecx
test eax, eax
je 0x463097
or dword [ebp + 0xc], 0x2000
test bl, 1
jne 0x4630a3
or dword [ebp + 0xc], 0x100
and dword [ebp + 0xc], 0xfffff8ff
mov eax, dword [ebp + 0xc]
push eax
push edi
call fcn.00463a80
add esp, 8
mov ebx, eax
inc eax
jne 0x4630ca
push 4
call fcn.00463d58
pop ecx
push esi
call sub.KERNEL32.DLL_CloseHandle
call fcn.00463994
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x467528
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
mov eax, dword [ebp + 8]
push eax
call sub.KERNEL32.DLL_CreateFileA
mov ebx, eax
test eax, eax
je 0x46758a
call fcn.004674d8
mov esi, eax
lea eax, [ebp - 4]
push 0
push eax
push esi
call fcn.00461b74
pop ecx
push eax
push esi
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea edx, [ebp - 4]
push edx
push edi
call fcn.00461b74
pop ecx
push eax
push edi
push ebx
call sub.KERNEL32.DLL_WriteFile
push ebx
call sub.KERNEL32.DLL_CloseHandle
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x467608
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff7c
cmp dword [0x483f30], 0
push ebx
push esi
mov esi, dword [ebp + 8]
jne 0x4676e2
cmp dword [0x483f2c], 0
jne 0x4676e2
cmp dword [0x484110], 0
je 0x46769c
push 0x80
lea eax, [ebp - 0x84]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA
push 0x5c
lea edx, [ebp - 0x84]
push edx
call fcn.004673d8
add esp, 8
mov ebx, eax
test eax, eax
jne 0x467682
push 0x3a
lea edx, [ebp - 0x84]
push edx
call fcn.004673d8
add esp, 8
mov ebx, eax
test eax, eax
jne 0x467682
lea ebx, [ebp - 0x84]
jmp 0x467683
inc ebx
call fcn.004675c4
or eax, 0x10010
push eax
push ebx
push esi
push 0
call sub.USER32.DLL_MessageBoxA
jmp 0x46771d
push 0xfffffffffffffff4
call sub.KERNEL32.DLL_GetStdHandle
mov ebx, eax
lea eax, [ebp - 4]
push 0
push eax
push 2
push 0x483f34
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea edx, [ebp - 4]
push edx
push esi
call fcn.00461b74
pop ecx
push eax
push esi
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea ecx, [ebp - 4]
push ecx
push 2
push 0x483f37
push ebx
call sub.KERNEL32.DLL_WriteFile
jmp 0x46771d
cmp dword [0x483f2c], 0
je 0x4676fc
cmp dword [0x483f2c], 0xffffffff
je 0x46771d
push esi
call dword [0x483f2c]
pop ecx
mov eax, dword [0x483f30]
test eax, eax
je 0x46771d
cmp dword [0x483f30], 0xffffffff
je 0x46771d
cmp byte [eax], 0
je 0x46771d
push esi
push eax
call fcn.00467528
add esp, 8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x467eb4
Capabilities:
Query environment variable

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
cmp dword [0x4877ec], 0
jne 0x467f35
cmp dword [0x48780c], 0
jne 0x467ee4
call sub.KERNEL32.DLL_GetEnvironmentStrings
mov dword [0x48780c], eax
test eax, eax
jne 0x467ee4
push str.GetEnvironmentStrings_failed
call fcn.00467734
pop ecx
xor ebp, ebp
xor esi, esi
mov ebx, dword [0x48780c]
jmp 0x467ef8
lea eax, [edi + 1]
inc esi
add ebp, eax
add ebx, eax
push ebx
call fcn.00461b74
pop ecx
mov edi, eax
test eax, eax
jne 0x467ef0
lea edi, [ebp + 1]
push edi
call fcn.00461478
pop ecx
mov ebx, eax
mov dword [0x4877f0], ebx
test ebx, ebx
jne 0x467f22
xor eax, eax
jmp 0x467ff8
push edi
mov edx, dword [0x48780c]
push edx
push ebx
call fcn.00461a24
add esp, 0xc
jmp 0x467f55
xor esi, esi
mov ebx, dword [0x4877ec]
jmp 0x467f4f
push eax
call fcn.00461b74
pop ecx
test eax, eax
jne 0x467f4b
dec esi
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x467f3f
lea ebx, [esi + 4]
push 4
mov dword [0x4877f4], ebx
inc ebx
push ebx
call fcn.00460f50
add esp, 8
test eax, eax
mov dword [esp], eax
jne 0x467f78
xor eax, eax
jmp 0x467ff8
cmp dword [0x4877ec], 0
jne 0x467fa9
xor esi, esi
mov ebx, dword [0x4877f0]
mov eax, dword [esp]
mov ebp, eax
jmp 0x467f9a
mov dword [ebp], ebx
add ebp, 4
inc esi
inc edi
add ebx, edi
push ebx
call fcn.00461b74
pop ecx
mov edi, eax
test eax, eax
jne 0x467f90
jmp 0x467fda
xor esi, esi
mov ebx, dword [0x4877ec]
mov eax, dword [esp]
mov edi, eax
jmp 0x467fd4
push eax
call fcn.00461b74
pop ecx
test eax, eax
je 0x467fc9
mov eax, dword [ebx]
mov dword [edi], eax
jmp 0x467fcd
dec esi
add edi, 0xfffffffc
add edi, 4
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x467fb8
mov eax, dword [0x4877ec]
test eax, eax
je 0x467fea
push eax
call fcn.00461488
pop ecx
mov edx, dword [esp]
mov eax, 1
mov dword [0x4877ec], edx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x46e1d8
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x10], 0xca
jne 0x46e206
mov eax, ebx
call fcn.0046ec90
cmp dword [ebx + 0x3c], 0
je 0x46e1ff
mov dword [ebx + 0x10], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x10], 0xcb
cmp dword [ebx + 0x10], 0xcb
jne 0x46e277
mov edx, dword [ebx + 0x1ac]
cmp dword [edx + 0x10], 0
je 0x46e269
cmp dword [ebx + 8], 0
je 0x46e228
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1ac]
call dword [edx]
test eax, eax
jne 0x46e23a
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x46e269
cmp dword [ebx + 8], 0
je 0x46e21b
cmp eax, 3
je 0x46e24d
dec eax
jne 0x46e21b
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x46e21b
mov edx, dword [ebx + 0x138]
add dword [eax + 8], edx
jmp 0x46e21b
mov ecx, dword [ebx + 0x8c]
mov dword [ebx + 0x94], ecx
jmp 0x46e295
cmp dword [ebx + 0x10], 0xcc
je 0x46e295
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x12
mov edx, dword [ebx + 0x10]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.0046e2a0
pop ebx
ret
Function at 0x401c70
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46b5ef
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x110
push ebx
push esi
push edi
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x10], esp
mov ebx, 1
push 0x49186c
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], ebx
call fcn.00460856
mov eax, dword [ebp + 0x1c]
mov byte [ebp - 4], 3
push eax
push 0
push 0x400
call dword [0x472358]
mov esi, eax
test esi, esi
jne 0x401d1e
mov esi, dword [ebp + 8]
push 0x49186c
mov ecx, esi
call fcn.00460856
mov dword [ebp - 0x18], ebx
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call fcn.004607e8
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x401ded
mov al, byte [ecx - 1]
test al, al
je 0x401de3
cmp al, 0xff
je 0x401de3
dec al
mov byte [ecx - 1], al
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, 0x41
xor eax, eax
lea edi, [ebp - 0x11c]
push 0x104
rep stosd dword es:[edi], eax
lea ecx, [ebp - 0x11c]
push ecx
push esi
call fcn.0045aab6
lea edi, [ebp - 0x11c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x401d7d
lea edx, [ebp - 0x11c]
lea eax, [ebp + 0x1c]
push edx
push eax
call fcn.00401a20
add esp, 8
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 4
call fcn.00460921
lea ecx, [ebp + 0x1c]
mov byte [ebp - 4], 3
call fcn.004607e8
push esi
call dword [0x47235c]
jmp 0x401d91
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x14]
push ecx
mov ecx, esi
mov dword [ebp - 4], 2
call fcn.0046055d
mov ecx, dword [ebp - 0x18]
mov byte [ebp - 4], bl
or ecx, ebx
mov dword [ebp - 0x18], ecx
lea ecx, [ebp - 0x14]
call fcn.004607e8
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x401ded
mov al, byte [ecx - 1]
test al, al
je 0x401de3
cmp al, 0xff
je 0x401de3
dec al
mov byte [ecx - 1], al
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
dec ecx
push ecx
call fcn.00460552
add esp, 4
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x402860
Capabilities:
Get file version info

Disassembly:
sub esp, 0x118
lea eax, [esp + 0x10]
push ebx
mov ebx, dword [esp + 0x120]
push esi
push edi
push eax
push ebx
call fcn.0045aac8
mov edi, eax
test edi, edi
jbe 0x402986
push edi
call fcn.00460529
add esp, 4
mov esi, eax
push esi
push edi
push 0
push ebx
call fcn.0045aac2
lea ecx, [esp + 0x14]
lea edx, [esp + 0x10]
push ecx
push edx
push str.VarFileInfoTranslation
push esi
call fcn.0045aabc
test eax, eax
je 0x40297d
mov eax, dword [esp + 0x10]
mov edi, dword [0x4724cc]
xor ecx, ecx
xor edx, edx
mov cx, word [eax + 2]
mov dx, word [eax]
push ecx
push edx
lea eax, [esp + 0x28]
push str.StringFileInfo_04x_04xCompanyName
push eax
call edi
add esp, 0x10
lea ecx, [esp + 0x18]
lea edx, [esp + 0xc]
lea eax, [esp + 0x20]
push ecx
push edx
push eax
push esi
mov dword [esp + 0x1c], 0
mov dword [esp + 0x28], 0
call fcn.0045aabc
mov eax, dword [esp + 0x18]
test eax, eax
je 0x40291f
mov eax, dword [esp + 0xc]
test eax, eax
je 0x40291f
mov ecx, dword [esp + 0x12c]
push eax
call fcn.00460971
mov eax, dword [esp + 0x10]
xor ecx, ecx
mov dword [esp + 0xc], 0
xor edx, edx
mov cx, word [eax + 2]
mov dx, word [eax]
push ecx
push edx
lea eax, [esp + 0x28]
push str.StringFileInfo_04x_04xProductVersion
push eax
call edi
add esp, 0x10
lea ecx, [esp + 0x14]
lea edx, [esp + 0xc]
lea eax, [esp + 0x20]
push ecx
push edx
push eax
push esi
call fcn.0045aabc
mov eax, dword [esp + 0x14]
test eax, eax
je 0x402979
mov eax, dword [esp + 0xc]
test eax, eax
je 0x402979
mov ecx, dword [esp + 0x130]
push eax
call fcn.00460971
test esi, esi
je 0x402986
push esi
call fcn.00460552
add esp, 4
pop edi
pop esi
pop ebx
add esp, 0x118
ret
Function at 0x403a40
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x46b890
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov eax, dword [esp + 0x28]
push ebx
push esi
push edi
push eax
lea ecx, [esp + 0x38]
call fcn.00460856
xor ebx, ebx
lea ecx, [esp + 0x34]
mov dword [esp + 0x2c], ebx
call fcn.00460cc1
mov cl, byte [esp + 0x34]
mov edx, dword [esp + 0x34]
mov byte [esp + 0x14], cl
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
lea ecx, [esp + 0x1c]
call fcn.004049b0
lea edx, [esp + 0x14]
mov ecx, 0x491810
push edx
mov byte [esp + 0x30], 1
call fcn.00407f80
mov ecx, dword [0x491814]
mov dword [esp + 0xc], eax
cmp eax, ecx
je 0x403ae0
add eax, 0xc
lea ecx, [esp + 0x14]
push eax
call fcn.00408710
test eax, eax
jl 0x403ae0
lea eax, [esp + 0xc]
jmp 0x403aed
mov eax, dword [0x491814]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
mov esi, dword [eax]
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x403b14
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x403b0b
cmp al, 0xff
je 0x403b0b
dec al
mov byte [ecx], al
jmp 0x403b14
push ecx
call fcn.00460552
add esp, 4
mov eax, dword [0x491814]
pop edi
cmp esi, eax
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
pop esi
pop ebx
mov dword [esp + 0x20], 0xffffffff
lea ecx, [esp + 0x28]
je 0x403b51
call fcn.004607e8
mov eax, 1
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret
call fcn.004607e8
mov ecx, dword [esp + 0x18]
xor eax, eax
mov dword fs:[0], ecx
add esp, 0x24
ret

Function at 0x408850
Capabilities:
Create thread

Disassembly:
mov edx, dword [ecx + 0xc]
lea eax, [ecx + 0xc]
test edx, edx
jne 0x40886f
push eax
push 0
push ecx
push 0x408870
push 0
push 0
call fcn.0043cea5
add esp, 0x18
ret

Function at 0x409160
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x46ba5b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push 0x491888
call dword [0x47231c]
mov eax, dword [esi + 4]
test eax, eax
jne 0x4091c2
push 0x50
call fcn.00460529
add esp, 4
mov dword [esp + 4], eax
test eax, eax
mov dword [esp + 0x10], 0
je 0x4091ae
mov ecx, eax
call fcn.004153e0
jmp 0x4091b0
xor eax, eax
mov ecx, eax
mov dword [esp + 0x10], 0xffffffff
mov dword [esi + 4], eax
call fcn.00415760
push 0
push 0
push esi
push 0x409330
push 0
push 0
call fcn.0043cea5
mov ecx, dword [esp + 0x20]
add esp, 0x18
mov dword fs:[0], ecx
pop esi
add esp, 0x10
ret
Function at 0x409be0
Capabilities:
Access peb ldr_data
Get file version info

Disassembly:
push 0xffffffffffffffff
push 0x46bc77
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push esi
push edi
mov dword [esp + 0x14], 0
push 0x49186c
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 1
call fcn.00460856
mov esi, dword [esp + 0x30]
mov byte [esp + 0x20], 2
test esi, esi
mov dword [esp + 0xc], 0x34
mov eax, 0x4727b4
je 0x409c34
mov eax, esi
push 0
push eax
call fcn.0045aac8
mov edi, eax
test edi, edi
je 0x409cbc
push ebp
push edi
call fcn.00460529
add esp, 4
mov ebp, eax
test esi, esi
mov eax, 0x4727b4
je 0x409c59
mov eax, esi
push ebp
push edi
push 0
push eax
call fcn.0045aac2
test eax, eax
je 0x409cb2
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
push ecx
push 0x48a384
push ebp
call fcn.0045aabc
test eax, eax
je 0x409cb2
mov eax, dword [esp + 0x14]
xor edx, edx
mov dx, word [eax + 0xc]
mov ecx, dword [eax + 0xc]
push edx
xor edx, edx
mov dx, word [eax + 8]
mov eax, dword [eax + 8]
shr ecx, 0x10
push ecx
push edx
shr eax, 0x10
push eax
lea ecx, [esp + 0x1c]
push str._d._d._d._d
push ecx
call fcn.0045eedf
add esp, 0x18
push ebp
call fcn.00460552
add esp, 4
pop ebp
mov edi, dword [esp + 0x28]
lea edx, [esp + 8]
push edx
mov ecx, edi
call fcn.0046055d
mov dword [esp + 0x14], 1
lea ecx, [esp + 8]
mov byte [esp + 0x20], 1
call fcn.004607e8
test esi, esi
je 0x409d13
mov al, byte [esi - 1]
test al, al
je 0x409d09
cmp al, 0xff
je 0x409d09
dec al
mov byte [esi - 1], al
mov eax, edi
pop edi
pop esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret
dec esi
push esi
call fcn.00460552
add esp, 4
mov ecx, dword [esp + 0x18]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x1c
ret
Function at 0x40da90
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
sub esp, 0x400
xor ecx, ecx
lea edx, [esp]
push esi
mov eax, ecx
mov esi, 8
test al, 1
je 0x40dab1
shr eax, 1
xor eax, 0xedb88320
jmp 0x40dab3
shr eax, 1
dec esi
jne 0x40daa4
mov dword [edx], eax
inc ecx
add edx, 4
cmp ecx, 0x100
jl 0x40da9d
mov edx, dword [esp + 0x40c]
or eax, 0xffffffff
xor ecx, ecx
test edx, edx
jbe 0x40dafb
mov esi, dword [esp + 0x408]
push ebx
push edi
movsx edi, byte [ecx + esi]
mov ebx, eax
and ebx, 0xff
xor edi, ebx
shr eax, 8
mov edi, dword [esp + edi*4 + 0xc]
xor eax, edi
inc ecx
cmp ecx, edx
jb 0x40dadd
pop edi
pop ebx
not eax
pop esi
add esp, 0x400
ret
Function at 0x40eb00
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x46c577
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push esi
mov dword [esp + 0x18], 0
push 0x49186c
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], 3
call fcn.00460856
lea eax, [esp + 0x30]
lea ecx, [esp + 4]
push eax
mov byte [esp + 0x28], 4
call fcn.0046055d
lea ecx, [esp + 4]
mov byte [esp + 0x24], 5
call fcn.00460caf
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0x10]
call fcn.0046055d
lea ecx, [esp + 0xc]
mov byte [esp + 0x24], 6
call fcn.00460caf
lea edx, [esp + 0x38]
lea ecx, [esp + 8]
push edx
call fcn.0046055d
lea ecx, [esp + 8]
mov byte [esp + 0x24], 7
call fcn.00460caf
mov eax, dword [esp + 0xc]
lea ecx, [esp + 4]
push eax
call fcn.0045eb59
mov esi, eax
test esi, esi
jl 0x40ec09
mov ecx, dword [esp + 0x34]
mov edx, dword [ecx - 8]
lea ecx, [esp + 4]
add esi, edx
mov edx, dword [esp + 8]
push esi
push edx
call fcn.0045eb67
cmp eax, 0xffffffff
jne 0x40ebc8
mov eax, dword [esp + 4]
mov eax, dword [eax - 8]
mov ecx, dword [esp + 0x30]
sub eax, esi
mov ecx, dword [ecx - 8]
cmp esi, ecx
jg 0x40ec09
lea edx, [eax + esi]
cmp edx, ecx
jg 0x40ec09
push eax
lea eax, [esp + 0x18]
push esi
push eax
lea ecx, [esp + 0x3c]
call fcn.0045e9ad
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 8
call fcn.00460921
lea ecx, [esp + 0x14]
mov byte [esp + 0x24], 7
call fcn.004607e8
mov esi, dword [esp + 0x2c]
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
call fcn.0046055d
mov dword [esp + 0x18], 1
lea ecx, [esp + 8]
mov byte [esp + 0x24], 6
call fcn.004607e8
lea ecx, [esp + 0xc]
mov byte [esp + 0x24], 5
call fcn.004607e8
lea ecx, [esp + 4]
mov byte [esp + 0x24], 4
call fcn.004607e8
lea ecx, [esp + 0x10]
mov byte [esp + 0x24], 3
call fcn.004607e8
lea ecx, [esp + 0x30]
mov byte [esp + 0x24], 2
call fcn.004607e8
lea ecx, [esp + 0x34]
mov byte [esp + 0x24], 1
call fcn.004607e8
lea ecx, [esp + 0x38]
mov byte [esp + 0x24], 0
call fcn.004607e8
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x24
ret
Function at 0x4109b0
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push 0xffffffffffffffff
push 0x46c985
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x39c
push edi
push 0x49186c
lea ecx, [esp + 8]
mov dword [esp + 0xc], 0
call fcn.00460856
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0xc]
mov dword [esp + 0x3a8], 1
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x210]
push eax
push 0x101
call dword [0x472688]
test eax, eax
pop edi
jne 0x410a69
lea ecx, [esp + 0x108]
push 0x104
push ecx
call dword [0x47268c]
lea edx, [esp + 0x108]
push edx
call dword [0x472670]
test eax, eax
je 0x410a69
mov eax, dword [eax + 0xc]
xor ecx, ecx
xor edx, edx
mov eax, dword [eax]
mov cl, byte [eax + 3]
mov dl, byte [eax + 2]
push ecx
push edx
xor ecx, ecx
xor edx, edx
mov cl, byte [eax + 1]
mov dl, byte [eax]
push ecx
push edx
lea eax, [esp + 0x18]
push str._d._d._d._d
push eax
call dword [0x4724cc]
add esp, 0x18
lea ecx, [esp + 8]
push esi
push ecx
lea ecx, [esp + 8]
call fcn.00460971
mov esi, dword [esp + 0x3b0]
lea edx, [esp + 4]
push edx
mov ecx, esi
call fcn.0046055d
mov dword [esp + 8], 1
lea ecx, [esp + 4]
mov byte [esp + 0x3a8], 0
call fcn.004607e8
mov ecx, dword [esp + 0x3a0]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x3a8
ret