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

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x100330f7
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x1003309e
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x100330ad
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x10438d50
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x100330fe
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.10019f74
cmp eax, dword [ebp + 0xc]
pop eax
je 0x1003319d
add edi, 4
add eax, 2
dec ecx
jne 0x100330e3
call 0x1003314a
loope 0x10033140
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x1003319a
mov dh, pe_nt_image_headers32
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x100331ab
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x1003315e
cmp eax, ecx
ja 0x1003315e
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x100331e8
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x100331de
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.1001a453
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x100330ad
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x100330f7
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x1003309e
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x100330ad
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x10438d50
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x100330fe
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.10019f74
cmp eax, dword [ebp + 0xc]
pop eax
je 0x1003319d
add edi, 4
add eax, 2
dec ecx
jne 0x100330e3
call 0x1003314a
loope 0x10033140
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x1003319a
mov dh, pe_nt_image_headers32
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x100331ab
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x1003315e
cmp eax, ecx
ja 0x1003315e
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x100331e8
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x100331de
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.1001a453
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x402c7e
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x528775
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
mov eax, dword [0x597790]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push str.StubInit
call fcn.00401769
and dword [esp + 0x34], 0
or dword [esp + 0x34], 0xffffffff
call fcn.00401a28
mov ecx, dword [edi + 0xc]
mov eax, dword [ecx]
lea edx, [esp + 0xc]
push edx
call dword [eax + 0x80]
mov dword [esp + 0x30], 1
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x53e4d0
call fcn.00401769
mov byte [esp + 0x34], 2
push ecx
lea eax, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
call fcn.0040184e
mov byte [esp + 0x38], 3
mov byte [esp + 0x38], 1
lea esi, [esp + 0x18]
call fcn.004139f3
mov byte [esp + 0x38], 4
add esp, 4
mov eax, esi
mov ecx, esp
mov dword [esp + 0x1c], esp
push eax
call fcn.0040184e
mov byte [esp + 0x34], 5
lea eax, [esp + 0x20]
push eax
mov byte [esp + 0x38], 4
call fcn.00475c30
mov byte [esp + 0x30], 6
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x53e4dc
call fcn.00401769
mov byte [esp + 0x34], 7
lea ebx, [edi + 0x78]
mov byte [esp + 0x34], 6
call fcn.00401c56
test eax, eax
jne 0x402d78
mov ecx, edi
call fcn.004023f6
mov ecx, edi
call fcn.00402e9c
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x53e5ec
call fcn.00401769
mov byte [esp + 0x34], 8
mov byte [esp + 0x34], 6
call fcn.00401c56
test eax, eax
je 0x402dc5
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.Dev_mode_started.
call fcn.00401769
mov byte [esp + 0x34], 9
push 2
mov byte [esp + 0x38], 6
call fcn.0041485d
push ecx
lea eax, [esp + 0x10]
mov ecx, esp
mov dword [esp + 0x1c], esp
push eax
call fcn.0040184e
mov byte [esp + 0x34], 0xa
push ebx
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x53e9ff
call fcn.00401769
mov byte [esp + 0x3c], 0xb
lea eax, [esp + 0x28]
push eax
mov byte [esp + 0x40], 6
mov ebx, dword [edi + 4]
call fcn.0042eb7e
test eax, eax
jne 0x402e6a
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.Engine_configuration_failed_
call fcn.00401769
mov byte [esp + 0x34], 0xc
push 1
mov byte [esp + 0x38], 6
call fcn.0041485d
xor esi, esi
mov byte [esp + 0x30], 4
lea ecx, [esp + 0x1c]
call fcn.00475c94
mov byte [esp + 0x30], 1
lea ecx, [esp + 0x10]
call fcn.00401898
or dword [esp + 0x30], 0xffffffff
lea ecx, [esp + 0xc]
call fcn.00401898
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 4]
lea ecx, [esp + 0x14]
add eax, 4
push ecx
push eax
call fcn.00401e6e
mov byte [esp + 0x30], 0xd
lea ecx, [edi + 0x74]
push eax
call fcn.004044ef
mov byte [esp + 0x30], 6
lea ecx, [esp + 0x14]
call fcn.00401898
xor esi, esi
inc esi
jmp 0x402e2c
Function at 0x408d23
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x204
mov eax, dword [0x597790]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, ecx
push dword [edi + 0x20]
mov dword [ebp - 0x204], edi
mov esi, edx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x408d60
mov ecx, dword [edi + 0x198]
test ecx, ecx
je 0x408d60
push 0
call fcn.004da088
mov eax, 0x1e8
test esi, esi
jne 0x408dda
lea esi, [ebp - 0x200]
mov dword [esi], eax
mov eax, dword [edi + 0x20]
or dword [esi + 0xc], 3
push ebx
mov dword [esi + 4], eax
mov dword [esi + 8], 0x63
call fcn.004deacf
mov eax, dword [eax + 8]
push 0x66
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
mov ebx, dword [sym.imp.SHELL32.dll_Shell_NotifyIconA]
push esi
lea edi, [esi + 0x1a0]
push 0
mov dword [esi + 0x14], eax
mov dword [esi + 0x10], 0x496
mov dword [edi], 0xa
call ebx
test eax, eax
je 0x408de2
push esi
push 4
mov dword [edi], 3
call ebx
test eax, eax
je 0x408de2
mov ecx, dword [ebp - 0x204]
push 0
call fcn.004da088
xor eax, eax
inc eax
jmp 0x408de4
cmp dword [esi], eax
je 0x408d6f
xor eax, eax
jmp 0x408de5
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004f4e9c
leave
ret
Function at 0x40dcf7
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x14
mov eax, 0x521bd5
call fcn.004fa4d4
mov esi, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0x10], edi
xor ebx, ebx
inc ebx
mov dword [ebp - 4], ebx
mov eax, dword [ebp + 0xc]
push dword [ebp + 0x10]
shr eax, 4
inc eax
movzx eax, ax
push eax
push 6
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceExA]
cmp eax, edi
jne 0x40dd54
push ecx
lea eax, [ebp + 0x14]
mov ecx, esp
mov dword [ebp - 0x14], esp
push eax
call fcn.0040184e
mov byte [ebp - 4], 2
push dword [ebp + 0xc]
mov byte [ebp - 4], bl
call fcn.0040dee4
pop ecx
pop ecx
mov dword [ebp - 0x10], ebx
jmp 0x40ded0
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x40ddbd
push ecx
mov ecx, esp
mov dword [ebp + 0xc], esp
push str.CCoreResource::LoadStringEx
call fcn.00401769
mov byte [ebp - 4], 3
push 0x1c8
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push str..CoreResource.cpp
call fcn.00401769
mov byte [ebp - 4], 4
push ecx
mov ecx, esp
mov dword [ebp - 0x18], esp
push str.LoadResource_failed_
call fcn.00401769
mov byte [ebp - 4], 5
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov byte [ebp - 4], bl
call fcn.00411585
lea eax, [ebp + 0x14]
push eax
mov ecx, esi
call fcn.0040184e
jmp 0x40dd4c
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x40de0d
push ecx
mov ecx, esp
mov dword [ebp + 0xc], esp
push str.CCoreResource::LoadStringEx
call fcn.00401769
mov byte [ebp - 4], 6
push 0x1d1
push ecx
mov ecx, esp
mov dword [ebp - 0x18], esp
push str..CoreResource.cpp
call fcn.00401769
mov byte [ebp - 4], 7
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push str.LockResource_failed_
call fcn.00401769
mov byte [ebp - 4], 8
jmp 0x40dda1
mov eax, dword [ebp + 0xc]
and eax, 0xf
jle 0x40de1f
dec eax
movzx ecx, word [edi]
lea edi, [edi + ecx*2 + 2]
jne 0x40de15
lea ecx, [ebp + 0xc]
call fcn.0040e079
mov byte [ebp - 4], 9
movzx eax, word [edi]
push eax
lea ecx, [ebp + 0xc]
call fcn.0040e287
test eax, eax
jne 0x40de99
push ecx
mov ecx, esp
mov dword [ebp - 0x18], esp
push str.CCoreResource::LoadStringEx
call fcn.00401769
mov byte [ebp - 4], 0xa
push 0x1e2
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push str..CoreResource.cpp
call fcn.00401769
mov byte [ebp - 4], 0xb
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push str.CStringW.GetBuffer_failed_
call fcn.00401769
mov byte [ebp - 4], 0xc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov byte [ebp - 4], 9
call fcn.00411585
lea eax, [ebp + 0x14]
push eax
mov ecx, esi
call fcn.0040184e
jmp 0x40dec2
movzx ecx, word [edi]
add ecx, ecx
push ecx
lea ecx, [edi + 2]
push ecx
push eax
call fcn.004f6750
movzx eax, word [edi]
add esp, 0xc
push eax
lea ecx, [ebp + 0xc]
call fcn.0040e04f
push dword [ebp + 0xc]
mov ecx, esi
call fcn.0040e151
mov dword [ebp - 0x10], ebx
mov byte [ebp - 4], bl
lea ecx, [ebp + 0xc]
call fcn.0040e2bb
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x14]
call fcn.00401898
mov eax, esi
call fcn.004fa5ac
ret
Function at 0x40e33f
Capabilities:
Identify system language via api

Disassembly:
push 8
mov eax, 0x52c133
call fcn.004fa4d4
and dword [ebp - 4], 0
and dword [ebp - 0x10], 0
xor esi, esi
inc esi
mov dword [ebp - 0x14], esi
call fcn.0041fa30
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
mov ecx, dword [ebp + 8]
movzx edi, ax
call fcn.00404433
movzx eax, di
push eax
push str.0x_04x
push dword [ebp + 8]
mov dword [ebp - 0x10], esi
call fcn.00404420
add esp, 0xc
mov byte [ebp - 4], 0
call fcn.0040e2de
mov eax, dword [ebp + 8]
call fcn.004fa5ac
ret
Function at 0x412294
Capabilities:
Check if file exists

Disassembly:
push 8
mov eax, 0x51d435
call fcn.004fa4d4
mov esi, ecx
and dword [ebp - 0x10], 0
xor ebx, ebx
inc ebx
mov dword [ebp - 4], ebx
cmp dword [esi + 0x164], 0xffffffff
je 0x41230f
push ebx
push 0x25
push ecx
mov ecx, esp
mov dword [ebp + 0x14], esp
push str.CCoreFile::FindFirst
call fcn.00401769
mov byte [ebp - 4], 2
push ecx
mov ecx, esp
mov dword [ebp + 0x10], esp
push str.Called_FindFirst_while_previous_call_still_open_
call fcn.00401769
mov byte [ebp - 4], 3
mov eax, dword [esi]
push ebx
mov byte [ebp - 4], bl
mov ecx, esi
call dword [eax + 0x10]
mov ecx, dword [ebp + 8]
push 0x53e9ff
call fcn.00401769
mov dword [ebp - 0x10], ebx
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.00401898
mov eax, dword [ebp + 8]
jmp 0x412446
mov eax, dword [ebp + 0x10]
push ecx
mov dword [esi + 0x16c], eax
lea eax, [ebp + 0xc]
mov ecx, esp
mov dword [ebp - 0x14], esp
push eax
call fcn.0040184e
mov byte [ebp - 4], 4
mov byte [ebp - 4], bl
lea edi, [ebp + 0x10]
call fcn.00413855
pop ecx
mov byte [ebp - 4], 5
lea edi, [esi + 0x168]
push eax
mov ecx, edi
call fcn.004044ef
mov byte [ebp - 4], bl
lea ecx, [ebp + 0x10]
call fcn.00401898
lea eax, [esi + 0x24]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [esi + 0x164], eax
cmp eax, 0xffffffff
jne 0x4123ce
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp edi, 2
je 0x4123bc
cmp edi, 3
je 0x4123bc
push ebx
push 0x34
push ecx
mov ecx, esp
mov dword [ebp + 0x14], esp
push str.CCoreFile::FindFirst
call fcn.00401769
mov byte [ebp - 4], 6
push ecx
mov eax, esp
mov dword [ebp + 0x10], esp
lea ecx, [ebp + 0xc]
push ecx
push str.FindFirstFile_returned_an_error_
push eax
call fcn.00404236
add esp, 0xc
mov byte [ebp - 4], 7
mov eax, dword [esi]
push edi
mov byte [ebp - 4], bl
mov ecx, esi
call dword [eax + 0x10]
mov ecx, dword [ebp + 8]
push 0x53e9ff
call fcn.00401769
jmp 0x4122f8
mov ecx, esi
call fcn.00412564
test eax, eax
jne 0x4123eb
push dword [ebp + 0x14]
mov ecx, esi
push dword [ebp + 8]
call fcn.0041244e
jmp 0x4122f8
cmp dword [ebp + 0x14], 0
je 0x412405
push 0x140
lea eax, [esi + 0x24]
push eax
push dword [ebp + 0x14]
call fcn.004f6750
add esp, 0xc
push ecx
add esi, 0x50
mov ecx, esp
mov dword [ebp + 0x14], esp
push esi
call fcn.00401769
mov byte [ebp - 4], 8
push ecx
mov ecx, esp
mov dword [ebp + 0x10], esp
push edi
call fcn.0040184e
mov byte [ebp - 4], 9
mov byte [ebp - 4], bl
mov esi, dword [ebp + 8]
call fcn.004139f3
pop ecx
pop ecx
mov dword [ebp - 0x10], ebx
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.00401898
mov eax, esi
call fcn.004fa5ac
ret 0x10
Function at 0x4127c5
Capabilities:
Create directory

Disassembly:
push 8
mov eax, 0x521a4a
call fcn.004fa4d4
and dword [ebp - 4], 0
push 0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x41283f
push 1
push 0xb3
push ecx
mov ecx, esp
mov dword [ebp - 0x10], esp
push str.CCoreFile::CreateFolder
call fcn.00401769
mov byte [ebp - 4], 1
push ecx
mov eax, esp
mov dword [ebp - 0x14], esp
lea ecx, [ebp + 8]
push ecx
push str.CreateDirectory_failed_
push eax
call fcn.00404236
add esp, 0xc
mov byte [ebp - 4], 2
mov byte [ebp - 4], 0
mov ecx, 0x5a03e4
call fcn.00411a00
xor esi, esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00401898
mov eax, esi
call fcn.004fa5ac
ret
xor esi, esi
inc esi
jmp 0x41282b

Function at 0x412aee
Capabilities:
Get common file path

Disassembly:
push 0x118
mov eax, 0x521a0a
call fcn.004fa53d
and dword [ebp - 0x11c], 0
mov dword [ebp - 0x120], edi
mov dword [ebp - 4], 2
mov eax, dword [ebp + 8]
cmp dword [eax - 0xc], 0
jne 0x412b3d
lea esi, [ebp - 0x118]
call fcn.00412172
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp + 8]
call fcn.004044ef
mov byte [ebp - 4], 2
mov ecx, esi
call fcn.00401898
lea eax, [ebp - 0x114]
push eax
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
test eax, eax
je 0x412b66
lea eax, [ebp - 0x114]
push eax
mov ecx, edi
call fcn.00401769
jmp 0x412bb5
push 1
push pe_nt_image_headers32
push ecx
mov ecx, esp
mov dword [ebp - 0x118], esp
push str.CCoreFile::CreateTempFile
call fcn.00401769
mov byte [ebp - 4], 4
push ecx
mov ecx, esp
mov dword [ebp - 0x124], esp
push str.GetTempFileName_failed_
call fcn.00401769
mov byte [ebp - 4], 5
mov byte [ebp - 4], 2
mov ecx, 0x5a03e4
call fcn.00411a00
push 0x53e9ff
mov ecx, edi
call fcn.00401769
mov dword [ebp - 0x11c], 1
mov byte [ebp - 4], 1
lea ecx, [ebp + 8]
call fcn.00401898
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.00401898
mov eax, edi
call fcn.004fa5c0
ret
Function at 0x412c66
Capabilities:
Set file attributes

Disassembly:
push ebp
sub esp, 0x170
lea ebp, [esp - 4]
mov eax, dword [0x597790]
xor eax, ebp
mov dword [ebp + 0x170], eax
push 0x10
mov eax, 0x52c0ea
call fcn.004fa4d4
xor ebx, ebx
mov dword [ebp - 4], ebx
push ecx
lea eax, [ebp + 0x17c]
mov ecx, esp
mov dword [ebp - 0x14], esp
push eax
call fcn.0040184e
mov byte [ebp - 4], 1
mov byte [ebp - 4], bl
call fcn.00412e93
pop ecx
cmp eax, ebx
jne 0x412ce8
xor esi, esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x17c]
call fcn.00401898
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 + 0x170]
xor ecx, ebp
call fcn.004f4e9c
add ebp, 0x174
leave
ret
lea eax, [ebp]
push eax
call fcn.004121e7
mov byte [ebp - 4], 2
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push 0x5439b0
call fcn.00401769
mov byte [ebp - 4], 3
push ecx
lea eax, [ebp + 0x17c]
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
call fcn.0040184e
mov byte [ebp - 4], 4
mov byte [ebp - 4], 2
lea esi, [ebp - 0x1c]
call fcn.004139f3
pop ecx
pop ecx
mov byte [ebp - 4], 5
push ebx
push 2
push ecx
mov eax, esi
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
call fcn.0040184e
mov byte [ebp - 4], 6
lea eax, [ebp - 0x10]
push eax
mov byte [ebp - 4], 5
lea ecx, [ebp]
call fcn.00412294
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax - 0xc]
cmp ecx, ebx
mov esi, dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov edi, 0x80
jle 0x412dbe
push edi
push eax
call esi
push ecx
lea eax, [ebp - 0x10]
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
call fcn.0040184e
mov byte [ebp - 4], 8
mov byte [ebp - 4], 7
call fcn.00412c66
pop ecx
push ebx
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp]
call fcn.0041244e
mov byte [ebp - 4], 9
push eax
lea ecx, [ebp - 0x10]
call fcn.004044ef
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x14]
call fcn.00401898
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], ebx
jg 0x412d6f
lea eax, [ebp]
call fcn.0041262a
push ebx
push 1
push ecx
lea eax, [ebp - 0x1c]
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
call fcn.0040184e
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 4], 7
lea ecx, [ebp]
call fcn.00412294
mov byte [ebp - 4], 0xb
jmp 0x412e24
push edi
push eax
call esi
push ecx
lea eax, [ebp - 0x10]
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
call fcn.0040184e
mov byte [ebp - 4], 0xc
mov byte [ebp - 4], 7
call fcn.00412bdf
pop ecx
push ebx
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp]
call fcn.0041244e
mov byte [ebp - 4], 0xd
push eax
lea ecx, [ebp - 0x10]
call fcn.004044ef
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x14]
call fcn.00401898
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], ebx
jg 0x412df2
lea eax, [ebp]
call fcn.0041262a
push ecx
lea eax, [ebp + 0x17c]
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
call fcn.0040184e
mov byte [ebp - 4], 0xe
mov byte [ebp - 4], 7
call fcn.00412c12
pop ecx
mov esi, eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x10]
call fcn.00401898
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1c]
call fcn.00401898
mov byte [ebp - 4], bl
lea ecx, [ebp]
call fcn.00412246
jmp 0x412cb4
Function at 0x41329e
Capabilities:
Copy file
Get file attributes
Set file attributes

Disassembly:
push 0x14
mov eax, 0x52199c
call fcn.004fa4d4
xor ebx, ebx
inc ebx
mov dword [ebp - 4], ebx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
jne 0x41338a
push ebx
push 0x1b0
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push str.CCoreFile::Copy
call fcn.00401769
mov byte [ebp - 4], 2
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x18]
push str.CopyFile
push eax
call fcn.00404236
mov byte [ebp - 4], 3
push str._to
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.004041d2
mov byte [ebp - 4], 4
lea ecx, [ebp + 0xc]
push ecx
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0040417b
mov byte [ebp - 4], 5
add esp, 0x20
mov ecx, esp
mov dword [ebp - 0x20], esp
push 0x543a40
push eax
push ecx
call fcn.004041d2
add esp, 0xc
mov byte [ebp - 4], 6
mov byte [ebp - 4], 9
mov ecx, 0x5a03e4
call fcn.00411a00
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x10]
call fcn.00401898
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x14]
call fcn.00401898
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x18]
call fcn.00401898
xor ebx, ebx
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00401898
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00401898
mov eax, ebx
call fcn.004fa5ac
ret
cmp dword [ebp + 0x14], 0
je 0x41336a
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
test bl, al
je 0x41336a
and eax, 0xfffffffe
push eax
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
jmp 0x41336a
Function at 0x41575b
Capabilities:
Read .ini file

Disassembly:
push 4
mov eax, 0x516e6e
call fcn.004fa4d4
mov esi, dword [ebp + 0xc]
and dword [ebp - 4], 0
and dword [ebp - 0x10], 0
mov dword [ebp - 4], 3
mov ecx, esi
call fcn.00404433
mov eax, dword [ebp + 8]
push dword [ebp + 0x18]
mov edi, dword [eax]
mov ecx, esi
mov dword [ebp - 0x10], 1
call fcn.00401673
push edi
push dword [ebp + 0x18]
push eax
push dword [ebp + 0x1c]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0xffffffffffffffff
mov ecx, esi
call fcn.004043a7
mov byte [ebp - 4], 2
lea ecx, [ebp + 0x10]
call fcn.00401898
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x14]
call fcn.00401898
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x1c]
call fcn.00401898
mov eax, esi
call fcn.004fa5ac
ret 0x18

Function at 0x415c3b
Capabilities:
Parse url

Disassembly:
push ebp
lea ebp, [esp - 0x1218]
mov eax, 0x1298
call fcn.004fc430
mov eax, dword [0x597790]
xor eax, ebp
mov dword [ebp + 0x1214], eax
mov eax, dword [ebp + 0x1220]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x1224]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x1228]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x122c]
push ebx
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x1230]
xor ebx, ebx
push esi
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x1234]
push 0x3c
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x80]
push ebx
push eax
mov esi, ecx
mov byte [ebp + 0x11d4], bl
mov byte [ebp + 0x7d4], bl
mov byte [ebp + 0xbd4], bl
mov byte [ebp - 0x2c], bl
mov byte [ebp + 0x10d4], bl
mov byte [ebp + 0xfd4], bl
call fcn.004f5f50
mov esi, dword [esi + 4]
lea eax, [ebp + 0x11d4]
mov dword [ebp - 0x7c], eax
lea eax, [ebp + 0x7d4]
mov dword [ebp - 0x70], eax
mov eax, 0x400
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x50], eax
add esp, 0xc
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x80]
push eax
push ebx
push ebx
lea ecx, [ebp + 0xbd4]
push esi
mov dword [ebp - 0x80], 0x3c
mov dword [ebp - 0x78], 0x40
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x48], 0x800
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
test eax, eax
je 0x415d8d
mov ecx, dword [ebp - 0x44]
cmp ecx, ebx
je 0x415d2e
lea eax, [ebp + 0x11d4]
push eax
call fcn.00401732
mov ecx, dword [ebp - 0x3c]
cmp ecx, ebx
je 0x415d41
lea eax, [ebp + 0x7d4]
push eax
call fcn.00401732
mov ecx, dword [ebp - 0x38]
cmp ecx, ebx
je 0x415d54
lea eax, [ebp + 0xbd4]
push eax
call fcn.00401732
mov ecx, dword [ebp - 0x40]
cmp ecx, ebx
je 0x415d64
lea eax, [ebp - 0x2c]
push eax
call fcn.00401732
mov ecx, dword [ebp - 0x34]
cmp ecx, ebx
je 0x415d77
lea eax, [ebp + 0x10d4]
push eax
call fcn.00401732
mov ecx, dword [ebp - 0x30]
cmp ecx, ebx
je 0x415d8a
lea eax, [ebp + 0xfd4]
push eax
call fcn.00401732
xor eax, eax
inc eax
mov ecx, dword [ebp + 0x1214]
pop esi
xor ecx, ebp
pop ebx
call fcn.004f4e9c
add ebp, 0x1218
leave
ret 0x18