joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100623b3
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x24
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x1019a254], 0
mov byte [0x1019a258], 0
mov dword [0x1019a24c], 0xdd8
mov dword [0x1019a248], 0x1867
mov dword [0x1019a250], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x10062419
mov eax, dword [ebp - 0x20]
add eax, 0xffffef7b
mov dword [0x1019a248], eax
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x1019a250]
add eax, 1
mov dword [0x1019a250], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x10062419
mov eax, 0x1c52
xor ecx, ecx
mov dword [0x1019a248], 0x1c52
mov dword [0x1019a250], 0
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
mov edx, 0x100
add ecx, 0xfffff22e
mov dword [ebp - 0x2c], eax
xor esi, esi
mov dword [ebp - 0x30], edx
mov edx, esi
mov esi, dword [ebp - 0x10]
div esi
mov dword [0x1019a25c], 0
mov edi, dword [0x1019a254]
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x2c]
movzx esi, byte [ebx + esi]
add esi, edi
mov edi, dword [ebp - 0x14]
movzx edx, byte [edi + edx]
add esi, edx
mov dword [0x1019a25c], esi
mov dword [0x1019a248], ecx
mov eax, esi
cdq
mov ecx, dword [ebp - 0x30]
idiv ecx
mov dword [0x1019a254], edx
mov esi, dword [ebp - 0x2c]
mov cl, byte [ebx + esi]
mov byte [0x1019a258], cl
mov dword [0x1019a248], 0x1300
mov cl, byte [ebx + edx]
mov byte [ebx + esi], cl
mov cl, byte [0x1019a258]
mov edx, dword [0x1019a254]
mov byte [ebx + edx], cl
mov edx, dword [0x1019a24c]
mov ecx, edx
add ecx, 0xfffff3f9
mov dword [0x1019a248], ecx
mov esi, dword [0x1019a250]
add esi, 1
mov dword [0x1019a250], esi
cmp esi, 0x100
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x28], esi
jl 0x10062460
jmp 0x10062404
Function at 0x100627da
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
xor edx, edx
mov dword [0x1019a24c], 0xbaf
mov dword [0x1019a248], 0x77a
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], edx
jmp 0x1006286c
mov eax, dword [ebp - 0x30]
add eax, 0x15a8
mov ecx, dword [0x1019a24c]
add ecx, 0xfffff237
mov dword [0x1019a248], ecx
mov dword [ebp - 0x34], eax
jmp 0x10062931
lea eax, [ebp - 0x20]
mov dword [0x1019a24c], 0x8c2
mov dword [0x1019a248], 0x2310
mov dword [ebp - 0x38], eax
call fcn.10062939
mov dword [esp], eax
mov eax, dword [ebp - 0x38]
mov dword [esp + 4], eax
call fcn.10061959
xor ecx, ecx
cmp eax, 0
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x34], ecx
je 0x10062931
jmp 0x10062898
mov eax, dword [ebp - 0x2c]
mov ecx, eax
add ecx, 1
mov dl, byte [eax + 0x1010d6e8]
mov dh, byte [eax + 0x1010d6b9]
sub dh, dl
mov byte [ebp + eax - 0x20], dh
cmp ecx, 0xe
mov dword [ebp - 0x2c], ecx
je 0x10062829
jmp 0x1006286c
mov eax, dword [ebp - 0x3c]
mov ecx, esp
mov dword [ecx + 0xc], 0x40
mov dword [ecx + 8], 0x1000
mov dword [ecx + 4], 0x6000
mov dword [ecx], 0
call eax
sub esp, 0x10
mov ecx, dword [0x1019a248]
add ecx, 0xffffee8b
mov dword [0x1019a248], ecx
mov dword [esp], eax
mov ecx, dword [ebp - 0x24]
mov dword [esp + 4], ecx
mov dword [ebp - 0x30], eax
call fcn.1006252a
xor eax, eax
mov ecx, dword [ebp - 0x30]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xd0
mov dword [0x1019a24c], 0x322
mov dword [ecx + 0xd0], 0x4550
mov dword [0x1019a248], 0xfb1
add ecx, 0xffc00000
mov edx, dword [ebp - 0x28]
mov dword [edx + 0x48], ecx
mov ecx, dword [ebp - 0x30]
mov dword [edx + 0x2c], ecx
cmp ecx, 0
mov dword [ebp - 0x34], eax
jne 0x10062807
mov eax, dword [ebp - 0x34]
add esp, 0x4c
pop ebp
ret
Function at 0x10062a0e
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x38
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
call fcn.10062bec
xor ecx, ecx
mov edx, eax
mov esi, dword [eax + 0x3c]
mov esi, dword [eax + esi + 0x78]
mov dword [0x1019a248], 0xda3
mov edi, edx
add edi, dword [eax + esi + 0x20]
mov dword [0x1019a24c], 0xffffecc6
mov eax, dword [eax + esi + 0x18]
cmp eax, 0
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], ecx
je 0x10062b53
jmp 0x10062ad7
xor eax, eax
mov ecx, dword [ebp - 0x28]
add ecx, 1
mov edx, dword [ebp - 0x2c]
add edx, 2
mov esi, dword [ebp - 0x18]
cmp ecx, esi
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x24], eax
jb 0x10062abb
jmp 0x10062b53
mov eax, dword [ebp - 0x38]
mov ecx, eax
mov edx, dword [ebp - 0x3c]
add ecx, edx
mov esi, dword [ebp - 0x1c]
mov bl, byte [esi + ecx]
mov ecx, dword [ebp - 0x10]
mov bh, byte [ecx + eax]
cmp bl, bh
sete cl
cmp bl, 0
mov dword [ebp - 0x40], eax
mov byte [ebp - 0x41], bh
mov byte [ebp - 0x42], cl
je 0x10062b18
jmp 0x10062aeb
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x34]
xor edx, edx
mov esi, dword [ebp - 0x14]
mov edi, dword [esi + eax*4]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x38], edx
jmp 0x10062a90
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
add ecx, dword [ecx + edx + 0x24]
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], eax
jmp 0x10062abb
mov al, byte [ebp - 0x41]
cmp al, 0
setne cl
mov edx, dword [ebp - 0x40]
add edx, 1
mov ah, byte [ebp - 0x42]
and ah, cl
cmp edx, 0x20
setb cl
and ah, cl
test ah, 1
mov dword [ebp - 0x38], edx
jne 0x10062a90
mov al, byte [ebp - 0x42]
test al, 1
jne 0x10062b24
jmp 0x10062a67
mov eax, dword [ebp - 0x2c]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x20]
add edx, dword [edx + esi + 0x1c]
mov ecx, dword [edx + ecx*4]
mov dword [0x1019a248], 0x47ea
mov edx, dword [ebp - 0x1c]
add edx, ecx
mov dword [0x1019a24c], 0x114b
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x24]
add esp, 0x38
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10062d88
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor edi, edi
mov dword [0x1019a250], 0
mov dword [0x1019a254], 0
mov dword [0x1019a260], 0
mov dword [0x1019a248], 0x2bc
cmp eax, 0
mov ebx, edi
mov dword [ebp - 0x10], eax
mov eax, edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], edi
jne 0x10062e06
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [0x1019a254]
mov ecx, dword [0x1019a250]
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
mov edi, eax
add edi, 1
add ecx, 1
mov dword [ebp - 0x30], eax
mov eax, ecx
mov dword [ebp - 0x34], edx
cdq
idiv esi
mov dword [0x1019a250], edx
mov dword [0x1019a248], 0x97e
mov ecx, dword [ebp - 0x20]
movzx ebx, byte [ecx + edx]
mov ecx, dword [ebp - 0x34]
add ebx, ecx
mov eax, ebx
mov dword [ebp - 0x38], edx
cdq
idiv esi
mov dword [0x1019a254], edx
mov ecx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x38]
mov cl, byte [ecx + esi]
mov byte [0x1019a258], cl
mov ebx, dword [0x1019a24c]
add ebx, 0xfffff27d
mov dword [0x1019a248], ebx
mov ebx, dword [ebp - 0x20]
mov cl, byte [ebx + edx]
mov byte [ebx + esi], cl
mov cl, byte [0x1019a258]
mov edx, dword [0x1019a254]
mov byte [ebx + edx], cl
mov edx, dword [0x1019a250]
movzx edx, byte [ebx + edx]
mov ecx, dword [0x1019a254]
movzx ecx, byte [ebx + ecx]
add ecx, edx
and ecx, 0xff
mov dword [0x1019a260], ecx
mov dword [0x1019a248], 0x2e2
mov cl, byte [ebx + ecx]
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x30]
xor cl, byte [edx + esi]
mov edx, dword [ebp - 0x1c]
mov byte [edx + esi], cl
mov dword [0x1019a248], 0x130b
mov ecx, dword [ebp - 0x10]
cmp edi, ecx
mov dword [ebp - 0x2c], edi
je 0x10062de7
jmp 0x10062def
Function at 0x10062eeb
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x90
lea eax, [esp + 0x20]
lea ecx, [esp + 0x30]
mov dword [0x1019a248], 0x1b4a
mov dword [esp], eax
mov dword [esp + 0x1c], ecx
call fcn.10061ac3
lea ecx, [0x10062352]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x34], edx
mov dword [esp + 0x68], 0x13f600
mov dword [0x1019a24c], 0x894
mov edx, dword [0x1019a234]
mov dword [esp + 0x80], edx
mov edx, dword [0x1019a238]
mov dword [esp + 0x4c], edx
mov edx, dword [0x1019a23c]
mov dword [esp + 0x58], edx
mov edx, dword [0x1019a240]
mov dword [esp + 0x74], edx
mov edx, dword [0x1019a244]
mov dword [esp + 0x54], edx
mov dword [0x1019a248], 0x1e0a
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
jmp 0x10062fc8
mov eax, dword [esp + 0x10]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x14], eax
jmp 0x10062fc8
lea eax, [esp + 0x30]
mov ecx, dword [esp + 0x28]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.100627da
mov ecx, esp
lea edx, [esp + 0x30]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 2
mov dword [0x1019a24c], 0x5b1
mov dword [esp + 0xc], eax
jmp 0x10063029
mov eax, dword [esp + 0x14]
cmp word [eax], 0x5a4d
mov dword [esp + 0x10], eax
jne 0x10062f7e
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 8], ecx
jne 0x10062f7e
mov eax, dword [esp + 0x10]
mov dword [esp + 0x3c], eax
mov dword [0x1019a24c], 0xe2d
mov dword [0x1019a248], 0xf67
mov ecx, dword [esp + 8]
mov edx, dword [eax + ecx + 0x50]
mov dword [esp + 0x40], edx
call fcn.10062121
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0xc], ecx
je 0x10062f92
mov eax, dword [esp + 0xc]
mov esp, ebp
pop ebp
ret
Function at 0xadd2d0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x4db000]
push edi
or ebp, 0xffffffff
jmp 0xadd2f2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0xadd2f9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xadd2e8
mov eax, 1
add ebx, ebx
jne 0xadd30b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0xadd31c
jne 0xadd33b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xadd33b
dec eax
add ebx, ebx
jne 0xadd328
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0xadd300
add ebx, ebx
jne 0xadd337
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0xadd38d
xor ecx, ecx
sub eax, 3
jb 0xadd353
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0xadd3c2
sar eax, 1
mov ebp, eax
jmp 0xadd35e
add ebx, ebx
jne 0xadd35e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xadd32c
inc ecx
add ebx, ebx
jne 0xadd36c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xadd32c
add ebx, ebx
jne 0xadd379
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0xadd36e
jne 0xadd38a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0xadd36e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0xadd3ac
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0xadd39e
jmp 0xadd2ee
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0xadd3ac
add edi, ecx
jmp 0xadd2ee
pop esi
mov edi, esi
mov ecx, 0x11f9f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0xadd3ca
cmp byte [edi], 0x2e
jne 0xadd3ca
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0xadd3cf
lea edi, [esi + 0x6d9000]
mov eax, dword [edi]
or eax, eax
je 0xadd447
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x6decb0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x6dee8c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0xadd3fc
mov ecx, edi
jns 0xadd42b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x6dee94]
or eax, eax
je 0xadd441
mov dword [ebx], eax
add ebx, 4
jmp 0xadd419
call dword [esi + 0x6dee90]
mov ebp, dword [esi + 0x6dee98]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0xadd47b
sub esp, 0xffffff80
jmp 0x708422
Function at 0x4031a2
Capabilities:
Shutdown system

Disassembly:
jmp fcn.00420a20
jmp 0x4553b0
push esi
push 0
push 0x35f
mov esi, ecx
call fcn.00401a23
add esp, 8
test eax, eax
jne 0x4553dd
cmp dword [0x4ac680], eax
je 0x4553d4
pop esi
jmp 0x40149c
push 1
mov ecx, esi
call sub.mfc100.dll_Ordinal_3977
pop esi
ret
Function at 0x419e40
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x483d5b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4a4b34]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
lea ecx, [esi + 4]
mov dword [esi], vtable.CCsvFile.0
call dword [sym.imp.mfc100.dll_Ordinal_316]
xor ebx, ebx
lea ecx, [esi + 8]
mov dword [ebp - 4], ebx
call dword [sym.imp.mfc100.dll_Ordinal_316]
lea ecx, [esi + 0xc]
call dword [sym.imp.mfc100.dll_Ordinal_316]
lea ecx, [esi + 0x14]
call dword [sym.imp.mfc100.dll_Ordinal_316]
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
push 0x104
mov byte [ebp - 4], 4
call sub.mfc100.dll_Ordinal_265
add esp, 4
push 0x104
mov ebx, eax
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push ebx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
push ebx
lea ecx, [esi + 8]
call dword [sym.imp.mfc100.dll_Ordinal_1316]
push str.Csv_
lea ecx, [esi + 8]
call dword [sym.imp.mfc100.dll_Ordinal_1482]
push 0
lea ecx, [esi + 8]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push str.NoName
lea ecx, [esi + 4]
call dword [sym.imp.mfc100.dll_Ordinal_1315]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x420a20
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x4a4b34]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x18]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
lea ecx, [ebp - 0x10]
push ecx
push str.SeShutdownPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
mov eax, dword [ebp - 0x18]
push 0
push 0
push 0
lea edx, [ebp - 0x14]
push edx
push 0
push eax
mov dword [ebp - 0x14], 1
mov dword [ebp - 8], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
push 0
push 5
call dword [sym.imp.USER32.dll_ExitWindowsEx]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047e7ac
mov esp, ebp
pop ebp
ret
Function at 0x425bf0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4844cb
mov eax, dword fs:[0]
push eax
mov eax, 0x1008
call fcn.0047e920
mov eax, dword [0x4a4b34]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov dword [ebp - 0x1014], 0
add ecx, 4
mov dword [ebp - 4], 2
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
push 0x1000
lea eax, [ebp - 0x1010]
push eax
lea ecx, [ebp + 0x14]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
lea ecx, [ebp + 0x10]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
lea ecx, [ebp + 0xc]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [ebp - 0x1010]
push ecx
mov ecx, esi
call dword [sym.imp.mfc100.dll_Ordinal_310]
lea ecx, [ebp + 0xc]
call dword [sym.imp.mfc100.dll_Ordinal_901]
lea ecx, [ebp + 0x10]
call dword [sym.imp.mfc100.dll_Ordinal_901]
lea ecx, [ebp + 0x14]
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0047e7ac
mov esp, ebp
pop ebp
ret 0x10

Function at 0x426310
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x484625
mov eax, dword fs:[0]
push eax
mov eax, 0x1008
call fcn.0047e920
mov eax, dword [0x4a4b34]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 0xc]
mov esi, ecx
push 0x1000
lea eax, [ebp - 0x1010]
push 0
push eax
mov dword [ebp - 4], 0
call sub.MSVCR100.dll_memset
add esp, 0xc
lea ecx, [esi + 4]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
push 0x1000
lea ecx, [ebp - 0x1010]
push ecx
lea ecx, [ebp + 8]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionA]
push 0xffffffffffffffff
push 0
mov ecx, ebx
call sub.mfc100.dll_Ordinal_12720
lea ecx, [ebp - 0x1014]
call dword [sym.imp.mfc100.dll_Ordinal_316]
cmp byte [ebp - 0x1010], 0
mov byte [ebp - 4], 1
lea esi, [ebp - 0x1010]
je 0x426423
push esi
lea ecx, [ebp - 0x1014]
call dword [sym.imp.mfc100.dll_Ordinal_1316]
push 0
push 0x4940b8
lea ecx, [ebp - 0x1014]
call dword [sym.imp.mfc100.dll_Ordinal_4144]
lea ecx, [ebp - 0x1014]
mov edi, eax
call dword [sym.imp.mfc100.dll_Ordinal_5207]
sub eax, edi
push eax
push edi
lea ecx, [ebp - 0x1014]
call dword [sym.imp.mfc100.dll_Ordinal_3404]
mov eax, dword [ebx + 8]
lea edx, [ebp - 0x1014]
push edx
push eax
mov ecx, ebx
call sub.mfc100.dll_Ordinal_12095
mov eax, esi
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x426410
sub eax, edx
cmp byte [esi + eax + 1], cl
lea esi, [esi + eax + 1]
jne 0x4263b4
mov ebx, dword [ebx + 8]
lea ecx, [ebp - 0x1014]
call dword [sym.imp.mfc100.dll_Ordinal_901]
lea ecx, [ebp + 8]
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0047e7ac
mov esp, ebp
pop ebp
ret 8
Function at 0x42de40
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40c
mov eax, dword [0x4a4b34]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov ebx, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
push 0
lea eax, [ebp - 0x408]
push eax
push 0
push 0xf003f
push 0
push str.REG_SZ
push 0
push str.SoftwareAurotek_r168twinSettings
push reloc.UNLHA32.dll_Ordinal_1
or esi, 0xffffffff
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x42dedd
lea ecx, [ebp - 0x40c]
push ecx
lea edx, [ebp - 0x404]
push edx
push eax
push eax
mov eax, dword [ebp - 0x408]
push edi
push eax
mov dword [ebp - 0x40c], 0x3ff
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x42ded0
lea eax, [ebp - 0x404]
mov edx, ebx
mov ecx, eax
sub edx, ecx
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x42dec4
xor esi, esi
mov edx, dword [ebp - 0x408]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.0047e7ac
mov esp, ebp
pop ebp
ret
Function at 0x42e620
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48566b
mov eax, dword fs:[0]
push eax
sub esp, 0x614
mov eax, dword [0x4a4b34]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
push 1
push 0
push 0
push str..dat.dat
push 6
push 0
push 0x494b7c
push 0
lea ecx, [ebp - 0x614]
call sub.mfc100.dll_Ordinal_422
push 0
lea eax, [ebp - 0x61c]
push 0
push eax
mov dword [ebp - 4], 0
call fcn.00401645
add esp, 0xc
lea ecx, [ebp - 0x614]
call sub.mfc100.dll_Ordinal_3621
cmp eax, 1
jne 0x42e814
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call dword [sym.imp.MSVCR100.dll_srand]
mov ecx, dword [ebp - 0x61c]
push 5
push 0x4a453c
push ecx
call fcn.00402450
add esp, 0x10
push 5
push 0x4a453c
mov dword [ebp - 0x61c], eax
call dword [sym.imp.MSVCR100.dll_rand]
push eax
call fcn.00402450
add esp, 0xc
mov dword [ebp - 0x618], eax
call sub.mfc100.dll_Ordinal_1929
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x44]
push 0x3ff
lea edx, [ebp - 0x410]
push edx
push 0x245
push eax
call dword [sym.imp.USER32.dll_LoadStringA]
lea ecx, [ebp - 0x410]
push ecx
call fcn.00401a8c
mov edx, dword [ebp - 0x618]
push edx
lea eax, [ebp - 0x410]
push str.F002
push eax
call fcn.004020cc
add esp, 0x10
lea ecx, [ebp - 0x620]
push ecx
lea ecx, [ebp - 0x614]
call sub.mfc100.dll_Ordinal_5627
push 0x492a54
mov ecx, eax
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
call dword [sym.imp.MSVCR100.dll_fopen]
add esp, 8
lea ecx, [ebp - 0x620]
mov esi, eax
call dword [sym.imp.mfc100.dll_Ordinal_901]
test esi, esi
je 0x42e814
mov ebx, dword [sym.imp.MSVCR100.dll_fwrite]
push esi
push 2
lea edx, [ebp - 0x61c]
push 4
push edx
call ebx
mov eax, 0x20202020
add esp, 0x10
mov ecx, edi
mov dword [ebp - 0x410], eax
mov dword [ebp - 0x40c], eax
mov dword [ebp - 0x408], eax
mov dword [ebp - 0x404], eax
mov dword [ebp - 0x400], eax
mov dword [ebp - 0x3fc], eax
mov dword [ebp - 0x3f8], eax
mov word [ebp - 0x3f4], ax
mov byte [ebp - 0x3f2], al
call dword [sym.imp.mfc100.dll_Ordinal_5207]
cmp eax, 0x1f
jge 0x42e7d8
mov ecx, edi
call dword [sym.imp.mfc100.dll_Ordinal_5207]
jmp 0x42e7dd
mov eax, 0x1f
push eax
mov ecx, edi
call dword [sym.imp.mfc100.dll_Ordinal_5207]
push eax
mov ecx, edi
call dword [sym.imp.mfc100.dll_Ordinal_4498]
push eax
lea eax, [ebp - 0x410]
push eax
call sub.MSVCR100.dll_memcpy
push esi
push 0x1f
lea ecx, [ebp - 0x410]
push 1
push ecx
call ebx
push esi
call dword [sym.imp.MSVCR100.dll_fclose]
add esp, 0x20
lea ecx, [ebp - 0x614]
mov dword [ebp - 4], 0xffffffff
call sub.mfc100.dll_Ordinal_978
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0047e7ac
mov esp, ebp
pop ebp
ret
Function at 0x42f370
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48572c
mov eax, dword fs:[0]
push eax
sub esp, 0x108
mov eax, dword [0x4a4b34]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esi + 4]
mov dword [ebp - 0x114], esi
mov dword [esi], vtable.CLogFile.0
call dword [sym.imp.mfc100.dll_Ordinal_316]
lea ecx, [esi + 8]
mov dword [ebp - 4], 0
call dword [sym.imp.mfc100.dll_Ordinal_316]
lea ecx, [esi + 0xc]
call dword [sym.imp.mfc100.dll_Ordinal_316]
lea ecx, [esi + 0x14]
call dword [sym.imp.mfc100.dll_Ordinal_316]
push 0x100
lea eax, [ebp - 0x110]
push eax
push 0
mov byte [ebp - 4], 3
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [ebp - 0x110]
push 0x5c
push ecx
call dword [sym.imp.MSVCR100.dll_strrchr]
add esp, 8
lea edx, [ebp - 0x110]
push edx
lea ecx, [esi + 8]
mov byte [eax + 1], 0
call dword [sym.imp.mfc100.dll_Ordinal_1316]
push str.Log_
lea ecx, [esi + 8]
call dword [sym.imp.mfc100.dll_Ordinal_1483]
push 0
lea ecx, [esi + 8]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push 0x494bd8
lea ecx, [esi + 4]
call dword [sym.imp.mfc100.dll_Ordinal_1316]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0047e7ac
mov esp, ebp
pop ebp
ret