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

Disassembly:
sub esp, 0x18
push ebp
mov ebp, dword [0x1961b90]
push esi
push edi
mov edi, dword [0x19610e4]
push 0
push ebp
call fcn.00420d50
push 0x9c4
lea eax, [esp + 0x1c]
push eax
push edi
call fcn.0041fe40
add esp, 0x14
test eax, eax
jle 0x415fc2
mov eax, dword [esp + 0x10]
sub eax, 2
je 0x415fcf
dec eax
jne 0x415fab
mov esi, dword [esp + 0x20]
mov eax, dword [esi + 0x10]
test eax, eax
je 0x415f8e
push esi
call eax
add esp, 4
test byte [esi + 4], 4
jne 0x415fa1
mov ecx, dword [esi + 8]
push ecx
call dword [0x42d368]
add esp, 4
push esi
call dword [0x42d368]
add esp, 4
push 0x9c4
lea edx, [esp + 0x14]
push edx
push edi
call fcn.0041fe40
add esp, 0xc
test eax, eax
jg 0x415f71
mov eax, ebp
pop edi
pop esi
pop ebp
add esp, 0x18
jmp fcn.00420c60
pop edi
pop esi
pop ebp
add esp, 0x18
ret
Function at 0x41b590
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ecx
mov eax, dword [esp + 0xc]
push ebx
push esi
push edi
test eax, eax
je 0x41b760
mov ecx, dword [eax + 0x168]
cmp ecx, dword [0x1961f94]
je 0x41b5b9
pop edi
pop esi
pop ebx
add esp, 4
jmp fcn.00420c60
xor esi, esi
cmp dword [0x42f62c], esi
je 0x41b5dc
mov ecx, 0x42f62c
jmp 0x41b5d0
add ecx, 0x3a0
inc esi
cmp dword [ecx], 0
jne 0x41b5d0
mov edx, dword [0x1961190]
cmp esi, dword [edx + 0x28]
jae 0x41b760
mov eax, dword [eax + 0x18]
cmp eax, dword [0x19611e0]
je 0x41b760
push 0x4292ac
push str.banlist.txt
call fcn.004011e0
mov edi, dword [sym.imp.WS2_32.dll_inet_ntoa]
mov ebx, eax
add esp, 8
mov dword [esp + 0xc], ebx
test ebx, ebx
je 0x41b6e4
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx + 0x18]
push edx
call edi
mov edx, 0x1961ce0
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x41b631
mov eax, dword [0x1961b8c]
push eax
push 0x40
push 0x1961ba0
call fcn.00401f46
add esp, 0xc
test eax, eax
je 0x41b6db
mov bl, 0x23
lea ebx, [ebx]
push 0x1961ba0
push 0x4295a0
push 0x1961ba0
call fcn.0040163d
add esp, 0xc
cmp eax, 1
jne 0x41b6bd
cmp byte [0x1961ba0], bl
je 0x41b6bd
mov ecx, 0x1961ce0
mov eax, 0x1961ba0
mov edi, edi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x41b6b0
test dl, dl
je 0x41b6ac
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x41b6b0
add eax, 2
add ecx, 2
test dl, dl
jne 0x41b690
xor eax, eax
jmp 0x41b6b5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x41b765
mov ecx, dword [0x1961b8c]
push ecx
push 0x40
push 0x1961ba0
call fcn.00401f46
add esp, 0xc
test eax, eax
jne 0x41b660
mov ebx, dword [esp + 0xc]
push ebx
call fcn.004020eb
add esp, 4
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x18]
push ecx
call edi
push eax
push esi
push 0x36
call fcn.0041cc50
add esp, 0xc
push eax
call fcn.004023b0
mov edx, dword [esp + 0x1c]
inc dword [0x1961ee4]
mov eax, esi
imul eax, eax, 0x3a0
lea ecx, [eax + 0x42f68c]
mov dword [ecx], esi
mov dword [eax + 0x42f62c], 1
mov dword [eax + 0x42f5f8], 0xffffffff
mov dword [edx + 0x20], ecx
mov ecx, dword [esp + 0x1c]
lea edx, [eax + 0x42f310]
add esp, 4
push edx
mov dword [0x196118c], 1
mov dword [eax + 0x42f69c], ecx
call fcn.0041b190
add esp, 4
push esi
call fcn.004190b0
add esp, 4
pop edi
pop esi
pop ebx
pop ecx
ret
mov edx, dword [esp + 0xc]
push edx
call fcn.004020eb
mov eax, dword [esp + 0x1c]
add esp, 4
pop edi
pop esi
pop ebx
add esp, 4
jmp fcn.00420c60
Function at 0x41cda0
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [0x42d2e4]
sub esp, 0x110
push esi
push edi
push eax
push str.AoSLang
lea ecx, [esp + 0x18]
push str.languages_s__s.bin
push ecx
mov byte [str.YyNn], 0x59
mov byte [0x42d325], 0x79
mov byte [0x42d326], 0x4e
mov byte [0x42d327], 0x6e
call fcn.0040154b
lea edx, [esp + 0x20]
push 0x429394
push edx
mov dword [0x436cb8], 0
call fcn.004011e0
mov esi, eax
add esp, 0x18
test esi, esi
jne 0x41ce16
push str.File_not_found._n
call fcn.004023b0
add esp, 4
pop edi
pop esi
add esp, 0x110
ret
push 2
push 0
push esi
call fcn.00402957
push esi
call fcn.00402868
push esi
mov edi, eax
call fcn.004022f2
lea eax, [edi + 3]
shr eax, 2
add eax, eax
add eax, eax
push eax
call fcn.00401271
add esp, 0x18
mov dword [0x436cbc], eax
test eax, eax
jne 0x41ce69
push str.Memory_allocation_error__n
call fcn.004023b0
add esp, 4
push esi
call fcn.004020eb
add esp, 4
pop edi
pop esi
add esp, 0x110
ret
push esi
push edi
push 1
push eax
call fcn.004026b7
mov eax, dword [0x436cbc]
mov edx, dword [eax + 4]
add esp, 0x10
cmp dword [eax], 0x30525453
mov dword [esp + 0xc], edx
jne 0x41cecd
push 0x61
mov dword [0x436cb8], 1
call fcn.0041cc50
movzx ecx, byte [eax]
movzx edx, byte [eax + 1]
mov byte [str.YyNn], cl
movzx ecx, byte [eax + 2]
mov byte [0x42d325], dl
movzx edx, byte [eax + 3]
add esp, 4
add eax, 4
mov byte [0x42d326], cl
mov byte [0x42d327], dl
mov dword [0x436dc4], eax
push esi
call fcn.004020eb
add esp, 4
pop edi
pop esi
add esp, 0x110
ret

Function at 0x41d5e0
Capabilities:
Get socket status

Disassembly:
sub esp, 0x220
mov eax, 0x10624dd3
mul ecx
mov eax, dword [esi]
shr edx, 6
mov dword [esp + 4], edx
imul edx, edx, 0x3e8
sub ecx, edx
imul ecx, ecx, 0x3e8
push ebp
xor ebp, ebp
mov dword [esp + 0xc], ecx
mov dword [esp + 0x118], ebp
mov dword [esp + 0x10], ebp
test al, 1
je 0x41d626
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], 1
test al, 2
je 0x41d63c
mov dword [esp + 0x11c], edi
mov dword [esp + 0x118], 1
lea eax, [esp + 8]
push eax
push ebp
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x124]
push edx
lea eax, [edi + 1]
push eax
call dword [sym.imp.WS2_32.dll_select]
cmp eax, ebp
jge 0x41d668
or eax, 0xffffffff
pop ebp
add esp, 0x220
ret
mov dword [esi], ebp
cmp eax, ebp
je 0x41d695
mov ebp, dword [sym.imp.WS2_32.dll___WSAFDIsSet]
lea ecx, [esp + 0x10]
push ecx
push edi
call ebp
test eax, eax
je 0x41d683
or dword [esi], 1
lea edx, [esp + 0x118]
push edx
push edi
call ebp
test eax, eax
je 0x41d695
or dword [esi], 2
xor eax, eax
pop ebp
add esp, 0x220
ret
Function at 0x41d6a0
Capabilities:
Receive data
Receive data on socket

Disassembly:
sub esp, 0x24
push 0
push 0
mov eax, esi
neg eax
sbb eax, eax
lea ecx, [esp + 0x10]
and eax, ecx
push eax
mov edx, esi
neg edx
sbb edx, edx
lea eax, [esp + 0x1c]
and edx, eax
mov eax, dword [esp + 0x38]
push edx
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x3c]
lea edx, [esp + 0x20]
push edx
push 1
push eax
push ecx
mov dword [esp + 0x2c], 0x10
mov dword [esp + 0x28], 0
call dword [sym.imp.WS2_32.dll_WSARecvFrom]
cmp eax, 0xffffffff
jne 0x41d711
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
sub eax, 0x2733
je 0x41d70b
sub eax, 0x13
je 0x41d70b
or eax, 0xffffffff
add esp, 0x24
ret
xor eax, eax
add esp, 0x24
ret
test dword [esp + 4], 0x8000
jne 0x41d704
test esi, esi
je 0x41d734
mov eax, dword [esp + 0x12]
mov edx, dword [esp + 0x14]
push eax
mov dword [esi], edx
call dword [sym.imp.WS2_32.dll_ntohs]
mov word [esi + 4], ax
mov eax, dword [esp + 0xc]
add esp, 0x24
ret

Function at 0x41d740
Capabilities:
Send data
Send data on socket

Disassembly:
sub esp, 0x14
push esi
mov esi, eax
test esi, esi
je 0x41d77c
movzx ecx, word [esi + 4]
xor eax, eax
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov eax, 2
push ecx
mov word [esp + 0xc], ax
call dword [sym.imp.WS2_32.dll_htons]
mov edx, dword [esi]
mov word [esp + 0xa], ax
mov dword [esp + 0xc], edx
mov eax, esi
neg eax
push 0
sbb eax, eax
push 0
and eax, 0x10
push eax
mov eax, dword [esp + 0x30]
neg esi
sbb esi, esi
lea ecx, [esp + 0x14]
and esi, ecx
mov ecx, dword [esp + 0x2c]
push esi
push 0
lea edx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x34]
push eax
push ecx
push edx
call dword [sym.imp.WS2_32.dll_WSASendTo]
cmp eax, 0xffffffff
jne 0x41d7ca
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
sub eax, 0x2733
neg eax
sbb eax, eax
pop esi
add esp, 0x14
ret
mov eax, dword [esp + 4]
pop esi
add esp, 0x14
ret

Function at 0x41d7f0
Capabilities:
Set socket configuration

Disassembly:
push ecx
or eax, 0xffffffff
jmp dword [edx*4 + 0x41d86c]

Function at 0x41d8f0
Capabilities:
Resolve dns

Disassembly:
push str.ace_spades.com
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x41d912
cmp word [eax + 8], 2
jne 0x41d912
mov eax, dword [eax + 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx]
mov dword [esi], edx
xor eax, eax
ret
push str.ace_spades.com
call dword [sym.imp.WS2_32.dll_inet_addr]
cmp eax, 0xffffffff
jne 0x41d925
or eax, eax
ret
mov dword [esi], eax
xor eax, eax
ret
Function at 0x41e420
Capabilities:
Enumerate pe sections

Disassembly:
cmp dword [esi + 0x24], 1
je 0x41e429
xor eax, eax
ret
mov eax, dword [edi + 0x10]
push ebx
mov ebx, dword [sym.imp.WS2_32.dll_ntohl]
push ebp
push eax
call ebx
mov ebp, eax
lea ecx, [ebp - 1]
cmp ecx, 0xfe
ja 0x41e53c
mov edx, dword [edi + 0x1c]
push edx
call ebx
cmp eax, dword [esi + 0x84]
jne 0x41e53c
mov eax, dword [edi + 0x20]
push eax
call ebx
cmp eax, dword [esi + 0x7c]
jne 0x41e53c
mov ecx, dword [edi + 0x24]
push ecx
call ebx
cmp eax, dword [esi + 0x80]
jne 0x41e53c
mov edx, dword [edi + 0x28]
cmp edx, dword [esi + 0x10]
jne 0x41e53c
push esi
or al, 0xff
mov ecx, 1
call fcn.0041e1f0
add esp, 4
cmp ebp, dword [esi + 0x2c]
jae 0x41e49f
mov dword [esi + 0x2c], ebp
movzx eax, word [edi + 4]
push eax
call dword [sym.imp.WS2_32.dll_ntohs]
mov word [esi + 0xc], ax
mov cl, byte [edi + 6]
mov byte [esi + 0x15], cl
mov dl, byte [edi + 7]
mov byte [esi + 0x14], dl
mov eax, dword [edi + 8]
push eax
call ebx
cmp eax, 0x240
jae 0x41e4ce
mov eax, 0x240
jmp 0x41e4da
cmp eax, 0x1000
jbe 0x41e4da
mov eax, 0x1000
cmp eax, dword [esi + 0xa0]
jae 0x41e4e8
mov dword [esi + 0xa0], eax
mov ecx, dword [edi + 0xc]
push ecx
call ebx
cmp eax, 0x1000
jae 0x41e4fc
mov eax, 0x1000
jmp 0x41e508
cmp eax, 0x8000
jbe 0x41e508
mov eax, 0x8000
cmp eax, dword [esi + 0xa4]
jae 0x41e516
mov dword [esi + 0xa4], eax
mov edx, dword [edi + 0x14]
push edx
call ebx
mov dword [esi + 0x30], eax
mov eax, dword [edi + 0x18]
push eax
call ebx
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
mov dword [esi + 0x34], eax
mov eax, esi
call fcn.0041e3c0
pop ebp
xor eax, eax
pop ebx
ret
cmp dword [esi + 0xe0], 0
mov dword [esi + 0x168], 0
mov dword [esi + 0x24], 9
jne 0x41e576
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 0x38]
add eax, 0x34
mov dword [esi + 4], ecx
mov dword [esi], eax
mov edx, ecx
mov dword [edx], esi
mov dword [eax + 4], esi
mov dword [esi + 0xe0], 1
pop ebp
or eax, 0xffffffff
pop ebx
ret
Function at 0x420e60
Capabilities:
Hash data using crc32b

Disassembly:
push ebx
push esi
xor ebx, ebx
xor eax, eax
test bl, 1
je 0x420e70
mov eax, 0x80
mov ecx, ebx
sar ecx, 1
test cl, 1
je 0x420e7c
or eax, 0x40
sar ecx, 1
test cl, 1
je 0x420e86
or eax, 0x20
sar ecx, 1
test cl, 1
je 0x420e90
or eax, 0x10
sar ecx, 1
test cl, 1
je 0x420e9a
or eax, 8
sar ecx, 1
test cl, 1
je 0x420ea4
or eax, 4
sar ecx, 1
test cl, 1
je 0x420eae
or eax, 2
test cl, 2
je 0x420eb6
or eax, 1
shl eax, 0x18
test eax, eax
jns 0x420ec6
add eax, eax
xor eax, 0x4c11db7
jmp 0x420ec8
add eax, eax
test eax, eax
jns 0x420ed5
add eax, eax
xor eax, 0x4c11db7
jmp 0x420ed7
add eax, eax
test eax, eax
jns 0x420ee4
add eax, eax
xor eax, 0x4c11db7
jmp 0x420ee6
add eax, eax
test eax, eax
jns 0x420ef3
add eax, eax
xor eax, 0x4c11db7
jmp 0x420ef5
add eax, eax
test eax, eax
jns 0x420f02
add eax, eax
xor eax, 0x4c11db7
jmp 0x420f04
add eax, eax
test eax, eax
jns 0x420f11
add eax, eax
xor eax, 0x4c11db7
jmp 0x420f13
add eax, eax
test eax, eax
jns 0x420f20
add eax, eax
xor eax, 0x4c11db7
jmp 0x420f22
add eax, eax
test eax, eax
jns 0x420f2f
add eax, eax
xor eax, 0x4c11db7
jmp 0x420f31
add eax, eax
xor edx, edx
lea ecx, [edx + 0x1f]
test al, 1
je 0x420f43
mov esi, 1
shl esi, cl
or edx, esi
dec ecx
sar eax, 1
cmp ecx, 0xffffffff
jg 0x420f36
mov dword [ebx*4 + 0x42e288], edx
inc ebx
cmp ebx, 0x100
jl 0x420e64
pop esi
mov dword [0x436710], 1
pop ebx
ret

Function at 0x421030
Capabilities:
Encode data using xor

Disassembly:
push esi
or esi, 0xffffffff
cmp dword [0x436710], 0
push edi
mov edi, eax
jne 0x421045
call fcn.00420e60
mov eax, dword [edi + 4]
mov ecx, dword [edi]
add ecx, eax
cmp eax, ecx
jae 0x42106c
movzx edi, byte [eax]
mov edx, esi
and edx, 0xff
xor edx, edi
shr esi, 8
xor esi, dword [edx*4 + 0x42e288]
inc eax
cmp eax, ecx
jb 0x421050
not esi
push esi
call dword [sym.imp.WS2_32.dll_htonl]
pop edi
pop esi
ret

Function at 0x422c80
Capabilities:
Encode data using xor

Disassembly:
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x422c85
sub eax, edx
mov edx, eax
xor eax, eax
xor ecx, ecx
test edx, edx
jle 0x422cb9
push edi
lea esp, [esp]
movzx edi, byte [ecx + esi]
add eax, edi
imul eax, eax, 0x401
mov edi, eax
shr edi, 6
inc ecx
xor eax, edi
cmp ecx, edx
jl 0x422ca0
pop edi
lea ecx, [eax + eax*8]
mov eax, ecx
shr eax, 0xb
xor eax, ecx
imul eax, eax, 0x8001
ret
Function at 0x78af2713
Capabilities:
Get thread local storage value

Disassembly:
push 0
mov eax, 0x78b4fd3c
call fcn.78abb69a
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0xc]
push dword [eax + 0x70]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x78af27d9
mov ecx, eax
and ecx, 3
jne 0x78af2743
mov esi, eax
mov ebx, eax
jmp 0x78af2760
cmp ecx, 1
jne 0x78af2767
and eax, 0xfffffffe
mov esi, dword [eax + 0x10]
mov eax, dword [esi + 0x20]
add esi, 4
test eax, eax
je 0x78af275e
cmp byte [eax + 0x40], 0
jne 0x78af27d9
mov ebx, esi
call fcn.78ae87e8
jmp 0x78af279e
and eax, 0xfffffffd
mov esi, eax
lea edi, [esi + 4]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x10]
mov esi, dword [esi + 0x20]
mov eax, dword [esi + 0x28]
add esi, 0xc
test eax, eax
je 0x78af278d
cmp byte [eax + 0x40], 0
je 0x78af278d
xor esi, esi
jmp 0x78af2794
mov ebx, esi
call fcn.78ae87e8
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x14]
mov edi, dword [ebp + 8]
test esi, esi
je 0x78af27d9
cmp dword [esi + 0x14], edi
je 0x78af27d5
push 0x3c
call sym.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov dword [ebp + 8], eax
and dword [ebp - 4], 0
test eax, eax
je 0x78af27c6
push edi
mov ebx, esi
mov edi, eax
call fcn.78ae86da
jmp 0x78af27c8
xor eax, eax
or dword [ebp - 4], 0xffffffff
mov ebx, eax
mov esi, eax
call fcn.78ae87e8
mov eax, esi
jmp 0x78af27db
xor eax, eax
call fcn.78abbf60
ret 4
Function at 0x78af76a3
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov eax, dword [ebp - 0x700]
inc eax
mov dword [ebp - 0x700], eax
mov eax, dword [ebp - 0x700]
cmp eax, dword [ebp - 0x38c]
jae 0x78af76ad
mov eax, dword [ebp - 0x748]
add eax, dword [ebp - 0x700]
movsx eax, byte [eax]
movsx ecx, byte [ebp - 8]
xor eax, ecx
mov ecx, dword [ebp - 0x748]
add ecx, dword [ebp - 0x700]
mov byte [ecx], al
mov eax, dword [ebp - 0x748]
add eax, dword [ebp - 0x700]
movsx eax, byte [eax]
not eax
mov ecx, dword [ebp - 0x748]
add ecx, dword [ebp - 0x700]
mov byte [ecx], al
jmp 0x78af764e
and dword [ebp - 0x700], 0
jmp 0x78af76c3
mov eax, dword [ebp - 0x700]
inc eax
mov dword [ebp - 0x700], eax
mov eax, dword [ebp - 0x700]
cmp eax, dword [ebp - 0x688]
jae 0x78af7715
mov eax, dword [ebp - 0x6f8]
add eax, dword [ebp - 0x700]
movsx eax, byte [eax]
movsx ecx, byte [ebp - 8]
xor eax, ecx
mov ecx, dword [ebp - 0x6f8]
add ecx, dword [ebp - 0x700]
mov byte [ecx], al
mov eax, dword [ebp - 0x6f8]
add eax, dword [ebp - 0x700]
movsx eax, byte [eax]
not eax
mov ecx, dword [ebp - 0x6f8]
add ecx, dword [ebp - 0x700]
mov byte [ecx], al
jmp 0x78af76b6
and byte [ebp - 0x714], 0
and byte [ebp - 0x713], 0
invalid
test esi, ebp

Function at 0x78afa728
Capabilities:
Get thread local storage value
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x80c
mov eax, dword [0x78b54610]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x80c], edi
call fcn.78af035a
push dword [0x78b58954]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x78afa778
call dword [sym.imp.KERNEL32.dll_DebugBreak]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.78ab0807
leave
ret
test esi, esi
je 0x78afa7d5
cmp dword [esi + 0x1c], 0
je 0x78afa7d5
mov eax, dword [esi + 0x18]
test eax, eax
je 0x78afa78e
mov edi, dword [eax + 0x6c]
jmp 0x78afa791
or edi, 0xffffffff
push dword [ebp + 0x10]
push dword [ebp - 0x80c]
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
mov eax, dword [esi]
push edi
mov ecx, esi
call dword [eax + 8]
push eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
push eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
push eax
push 0x78afa840
lea eax, [ebp - 0x808]
push 0x400
push eax
call sym.MSVCR100.dll_swprintf_s
add esp, 0x2c
jmp 0x78afa7fa
push dword [ebp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push 0x78afa8a8
lea eax, [ebp - 0x808]
push 0x400
push eax
call sym.MSVCR100.dll_swprintf_s
add esp, 0x1c
xor eax, eax
mov word [ebp - 8], ax
lea eax, [ebp - 0x808]
push eax
push dword [0x78b555ec]
call sym.MSVCR100.dll_fwprintf
push dword [0x78b555ec]
call sym.MSVCR100.dll_fflush
add esp, 0xc
lea eax, [ebp - 0x808]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
call dword [sym.imp.KERNEL32.dll_DebugBreak]
push 0xfffffffffffffff8
call sym.MSVCR100.dll_exit
int3
Function at 0x78afa8fc
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x808
mov eax, dword [0x78b54610]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 8]
lea ebx, [ebp - 0x808]
call fcn.78afab7a
xor eax, eax
pop ecx
mov word [ebp - 8], ax
pop ecx
mov eax, ebx
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, ebx
push eax
call sym.MSVCR100.dll___iob_func
add eax, 0x40
push eax
call sym.MSVCR100.dll_fwprintf
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.78ab0807
leave
ret

Function at 0x78afa955
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x808
mov eax, dword [0x78b54610]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x78b589ec]
test dword [ebp + 8], eax
je 0x78afa9ea
push ebx
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0xc]
lea ebx, [ebp - 0x808]
call fcn.78afab7a
xor eax, eax
pop ecx
mov word [ebp - 8], ax
mov eax, dword [0x78b555ec]
pop ecx
pop ebx
test eax, eax
je 0x78afa9dd
lea ecx, [ebp - 0x808]
push ecx
push eax
call sym.MSVCR100.dll_fwprintf
pop ecx
pop ecx
push 0
push 0x32
push dword [0x78b589f4]
push dword [0x78b589f0]
call fcn.78ac8210
add dword [0x78b589f0], 1
adc dword [0x78b589f4], 0
or eax, edx
jne 0x78afa9ea
push dword [0x78b555ec]
call sym.MSVCR100.dll_fflush
pop ecx
jmp 0x78afa9ea
lea eax, [ebp - 0x808]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.78ab0807
leave
ret

Function at 0x78afaae1
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
xor ecx, ecx
sub esp, 0x14
mov eax, 0x78b589f8
inc ecx
lock xadd dword [eax], ecx
inc ecx
cmp ecx, 1
jne 0x78afab0c
call fcn.78afaa54
xor ecx, ecx
mov eax, 0x78b5735c
inc ecx
lock xadd dword [eax], ecx
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
jne 0x78afab52
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x78afab3b
and eax, 0xffff
or eax, 0x80070000
push eax
lea ecx, [ebp - 0x14]
call sym.MSVCR100.dll_public:_void___thiscall_Concurrency::scheduler_resource_allocation_error::constructor_long_int_
push 0x78b50c48
lea eax, [ebp - 0x14]
push eax
call sym.MSVCR100.dll__CxxThrowException
leave
ret
Function at 0x78afe8af
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x78afe8d6
call sym.MSVCR100.dll___doserrno
mov dword [eax], esi
call sym.MSVCR100.dll__errno
push 0x16
pop esi
mov dword [eax], esi
call sym.MSVCR100.dll__invalid_parameter_noinfo
mov eax, esi
jmp 0x78afe92b
test dword [ebp + 0xc], 0xfffffff9
jne 0x78afe8bc
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x78afe903
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call sym.MSVCR100.dll__dosmaperr
pop ecx
call sym.MSVCR100.dll__errno
mov eax, dword [eax]
jmp 0x78afe92b
test al, 0x10
jne 0x78afe929
test al, 1
je 0x78afe929
test byte [ebp + 0xc], 2
je 0x78afe929
call sym.MSVCR100.dll___doserrno
mov dword [eax], 5
call sym.MSVCR100.dll__errno
mov dword [eax], 0xd
jmp 0x78afe8fa
xor eax, eax
pop esi
pop ebp
ret

Function at 0x78afe946
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
jne 0x78afe96e
call sym.MSVCR100.dll___doserrno
and dword [eax], 0
call sym.MSVCR100.dll__errno
mov dword [eax], 0x16
call sym.MSVCR100.dll__invalid_parameter_noinfo
or eax, 0xffffffff
pop ebp
ret
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x78afe98b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call sym.MSVCR100.dll__dosmaperr
pop ecx
jmp 0x78afe969
test byte [ebp + 0xc], 0x80
je 0x78afe996
and eax, 0xfffffffe
jmp 0x78afe999
or eax, 1
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
je 0x78afe97c
xor eax, eax
pop ebp
ret

Function at 0x78b00307
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
jne 0x78b0032f
call sym.MSVCR100.dll___doserrno
and dword [eax], 0
call sym.MSVCR100.dll__errno
mov dword [eax], 0x16
call sym.MSVCR100.dll__invalid_parameter_noinfo
or eax, 0xffffffff
pop ebp
ret
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x78b0034c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call sym.MSVCR100.dll__dosmaperr
pop ecx
jmp 0x78b0032a
test byte [ebp + 0xc], 0x80
je 0x78b00357
and eax, 0xfffffffe
jmp 0x78b0035a
or eax, 1
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x78b0033d
xor eax, eax
pop ebp
ret
Function at 0x1000c799
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x1000c7cf
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 8], eax
push 0x2414
push dword [ebp - 4]
push 0x6b99
push 1
push dword [ebp - 8]
call fcn.1000c825
add esp, 0x14
jmp 0x1000c821
lea eax, [ebp + 0x10]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
test eax, eax
je 0x1000c7f6
push 0x23e7
push 0
push 0
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
jmp 0x1000c821
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax]
test eax, eax
je 0x1000c821
push 0
push 0x942
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov esp, ebp
pop ebp
ret
Function at 0x10012ec4
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x10012f3c
mov eax, dword [ebp + 0x14]
mov dword [ebp - 8], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
test eax, eax
je 0x10012f13
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
test eax, eax
je 0x10012f11
push 0
push 0x1284
call dword [sym.imp.GDI32.dll_GetCurrentPositionEx]
jmp 0x10012f3a
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
movzx eax, byte [eax]
test eax, eax
je 0x10012f3a
push 0
push 0x17ba
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
jmp 0x10012f59
mov eax, dword [ebp + 8]
mov dword [ebp - 0x20], eax
push 0xcc1
push dword [ebp - 0x20]
push 0
push 0x717e
call fcn.1001290c
add esp, 0x10
mov esp, ebp
pop ebp
ret