joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10032013
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x74c
mov eax, 0x1005f975
call fcn.10045525
mov edi, ecx
cmp dword [edi + 0x24], 0
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x758], eax
jne 0x10032068
push 0x10004bf0
push 0x3a
lea ecx, [ebp - 0x73c]
call fcn.100469e0
mov esi, eax
push 0x100629b4
lea eax, [ebp - 0x3b4]
mov ecx, 0xe2
lea edi, [ebp - 0x3b4]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.100469e0
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x744], 7
mov dword [ebp - 0x740], 1
jb 0x10032086
mov eax, dword [esi]
jmp 0x10032088
mov eax, esi
lea ecx, [ebp - 0x740]
push ecx
xor ebx, ebx
push ebx
lea ecx, [ebp - 0x744]
push ecx
push ebx
push eax
push dword [edi + 0x24]
call dword [sym.imp.advapi32.dll_RegQueryValueExW]
mov ecx, eax
cmp ecx, 2
je 0x100321de
cmp dword [ebp - 0x744], 7
jne 0x100321de
test ecx, ecx
je 0x100320dd
push esi
lea eax, [edi + 8]
push eax
push 0x10004ac0
push ecx
push 0xf
lea ecx, [ebp - 0x73c]
call fcn.100469e0
jmp 0x10032048
mov eax, dword [ebp - 0x740]
add eax, 2
mov dword [ebp - 0x740], eax
mov dword [ebp - 0x754], ebx
mov dword [ebp - 0x750], ebx
mov dword [ebp - 0x74c], ebx
push eax
lea ecx, [ebp - 0x754]
mov dword [ebp - 4], ebx
call fcn.100469e0
mov ebx, dword [ebp - 0x750]
sub ebx, dword [ebp - 0x754]
mov dword [ebp - 4], 1
mov eax, ebx
neg eax
sbb eax, eax
and eax, dword [ebp - 0x754]
cmp dword [esi + 0x14], 8
jb 0x10032136
mov ecx, dword [esi]
jmp 0x10032138
mov ecx, esi
lea edx, [ebp - 0x740]
push edx
push eax
lea eax, [ebp - 0x744]
push eax
push 0
push ecx
push dword [edi + 0x24]
call dword [sym.imp.advapi32.dll_RegQueryValueExW]
test eax, eax
je 0x10032167
push esi
lea ecx, [edi + 8]
push ecx
push 0x10004ac0
push eax
jmp 0x100320cb
mov edi, dword [ebp - 0x758]
xor esi, esi
mov eax, ebx
neg eax
sbb eax, eax
and eax, dword [ebp - 0x754]
and dword [ebp - 0x1c], 0
xor ecx, ecx
lea eax, [eax + esi*2]
mov word [ebp - 0x2c], cx
push eax
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
call fcn.100469e0
lea eax, [ebp - 0x2c]
push eax
mov ecx, edi
mov byte [ebp - 4], 2
call fcn.100469e0
mov eax, dword [ebp - 0x1c]
push 0
inc eax
push 1
lea ecx, [ebp - 0x2c]
add esi, eax
mov byte [ebp - 4], 1
call fcn.100469e0
mov ecx, ebx
neg ecx
sbb ecx, ecx
and ecx, dword [ebp - 0x754]
cmp byte [ecx + esi*2], 0
jne 0x1003216f
lea ecx, [ebp - 0x754]
call fcn.1005ec72
mov al, 1
jmp 0x100321e0
xor al, al
call fcn.100455a8
ret 8
Function at 0x1003d123
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x14
mov eax, 0x100611af
call fcn.100454bc
mov ebx, dword [ebp + 8]
xor edi, edi
or esi, 0xffffffff
test edi, edi
jne 0x1003d14c
cmp dword [0x1009b850], edi
je 0x1003d236
push 2
pop ebx
jmp 0x1003d166
cmp edi, 1
jne 0x1003d236
mov eax, ebx
call fcn.1003e014
test al, al
je 0x1003d236
xor ebx, ebx
lea ecx, [ebp - 0xd]
mov dword [ebp - 0x1c], ebx
call fcn.1003e036
mov ecx, dword [ebp + 8]
xor eax, eax
push eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], eax
movzx eax, word [ecx + 0xc]
shr eax, 1
and eax, 0x10
or eax, ebx
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push dword [ecx + 8]
jmp 0x1003d218
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
mov ebx, dword [ebp - 0x14]
mov dword [ecx], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x1003d1ad
mov eax, dword [ebx]
push ecx
push dword [ebp + 0xc]
lea ecx, [ebp - 0x20]
push ecx
push 0
push dword [ebp + 0x18]
push eax
call dword [sym.imp.advapi32.dll_RegQueryValueExW]
mov esi, eax
call fcn.1003d80d
test eax, eax
je 0x1003d24a
push 0x1c049f
push 0
call fcn.100469e0
mov esi, dword [ebp + 8]
mov eax, dword [esi + 8]
movzx eax, word [eax + 6]
and eax, 0xf
imul eax, eax, 0xc
and dword [eax + 0x10069528], 0
push ebx
mov ecx, 0x1009b860
call fcn.100469e0
movzx eax, word [esi + 0xc]
and dword [ebp - 0x14], 0
shr eax, 1
and eax, 0x10
or eax, dword [ebp - 0x1c]
push 0
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push dword [esi + 8]
call fcn.1003d924
mov esi, eax
test esi, esi
je 0x1003d199
mov ebx, dword [ebp + 8]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xd]
call fcn.1003e057
inc edi
cmp edi, 2
jl 0x1003d134
mov eax, esi
call fcn.10045594
ret 0x18
push ebx
mov ecx, 0x1009b860
call fcn.100469e0
mov ebx, dword [ebp + 8]
test esi, esi
jne 0x1003d22a
movzx ecx, word [ebx + 0xc]
mov eax, ecx
and eax, 0xf
cmp dword [ebp - 0x20], eax
je 0x1003d285
cmp dword [ebp - 0x20], 3
jne 0x1003d280
mov eax, dword [ebp + 0x14]
cmp dword [eax], 4
jne 0x1003d280
and cl, 0xf
cmp cl, 4
je 0x1003d285
push 2
pop esi
jmp 0x1003d22a
mov eax, dword [ebp + 0x1c]
lea ecx, [ebp - 0xd]
mov dword [eax], 1
call fcn.1003e057
xor eax, eax
jmp 0x1003d242
Function at 0x1003d70e
Capabilities:
Query or enumerate registry value

Disassembly:
push 4
mov eax, 0x10061220
call fcn.100454bc
mov esi, dword [ebp + 8]
cmp esi, dword [0x1009b858]
jne 0x1003d72c
xor al, al
jmp 0x1003d805
mov bl, byte [ebp + 0xc]
test bl, bl
je 0x1003d73d
xor ecx, ecx
cmp dword [0x1009b850], ecx
jmp 0x1003d748
mov eax, esi
call fcn.1003e014
xor ecx, ecx
test al, al
sete cl
test ecx, ecx
jne 0x1003d725
xor edi, edi
lea ecx, [ebp + 0xf]
mov dword [ebp + 8], edi
mov dword [ebp - 0x10], edi
call fcn.1003e036
mov dword [ebp - 4], edi
movzx edi, bl
neg edi
sbb edi, edi
and edi, 2
xor ebx, ebx
jmp 0x1003d7c6
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x1003d77c
mov eax, dword [ebp + 8]
mov eax, dword [eax]
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push dword [esi]
push eax
call dword [sym.imp.advapi32.dll_RegQueryValueExW]
mov ebx, eax
call fcn.1003d80d
test eax, eax
je 0x1003d7eb
push 0x1c04c2
xor ebx, ebx
push ebx
call fcn.100469e0
mov eax, dword [esi + 8]
movzx eax, word [eax + 6]
push dword [ebp + 8]
and eax, 0xf
imul eax, eax, 0xc
mov ecx, 0x1009b860
mov dword [eax + 0x10069528], ebx
call fcn.100469e0
mov dword [ebp + 8], ebx
movzx eax, word [esi + 0xc]
shr eax, 1
and eax, 0x10
push ebx
or eax, edi
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp + 8]
push eax
push dword [esi + 8]
call fcn.1003d924
mov ebx, eax
test ebx, ebx
je 0x1003d770
jmp 0x1003d7f8
push dword [ebp + 8]
mov ecx, 0x1009b860
call fcn.100469e0
lea ecx, [ebp + 0xf]
call fcn.1003e057
test ebx, ebx
sete al
call fcn.10045594
ret 8
Function at 0x1003e078
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x14
mov eax, 0x10061276
call fcn.100454bc
mov esi, dword [ebp + 8]
cmp esi, dword [0x1009b858]
jne 0x1003e096
xor eax, eax
jmp 0x1003e1fb
and dword [ebp - 0x1c], 0
xor ecx, ecx
mov dword [ebp - 0x18], ecx
xor ebx, ebx
or edi, 0xffffffff
test ebx, ebx
jne 0x1003e0b9
cmp dword [0x1009b850], ebx
je 0x1003e1bb
push 2
pop edi
jmp 0x1003e0d3
cmp ebx, 1
jne 0x1003e1bb
mov eax, esi
call fcn.1003e014
test al, al
je 0x1003e1bb
xor edi, edi
and dword [ebp - 0x10], 0
lea ecx, [ebp + 0xb]
mov dword [ebp - 0x20], edi
call fcn.1003e036
xor eax, eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x14], eax
push eax
movzx eax, word [esi + 0xc]
shr eax, 1
and eax, 0x10
or eax, edi
jmp 0x1003e17e
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x1003e107
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
lea ecx, [ebp - 0x18]
push ecx
push 0
lea ecx, [ebp - 0x1c]
push ecx
push 0
push dword [esi]
push eax
call dword [sym.imp.advapi32.dll_RegQueryValueExW]
cmp dword [ebp - 0x18], 2
mov edi, eax
jae 0x1003e133
cmp dword [ebp - 0x1c], 1
je 0x1003e130
cmp dword [ebp - 0x1c], 2
jne 0x1003e133
push 2
pop edi
mov eax, edi
call fcn.1003d80d
test eax, eax
je 0x1003e19b
push 0x1c0496
xor edi, edi
push edi
call fcn.100469e0
mov eax, dword [esi + 8]
movzx eax, word [eax + 6]
push dword [ebp - 0x10]
and eax, 0xf
imul eax, eax, 0xc
mov ecx, 0x1009b860
mov dword [eax + 0x10069528], edi
call fcn.100469e0
movzx eax, word [esi + 0xc]
shr eax, 1
and eax, 0x10
or eax, dword [ebp - 0x20]
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], edi
push edi
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push dword [esi + 8]
call fcn.1003d924
mov edi, eax
test edi, edi
je 0x1003e0fb
jmp 0x1003e1ac
push dword [ebp - 0x10]
mov ecx, 0x1009b860
call fcn.100469e0
test edi, edi
je 0x1003e1c7
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xb]
call fcn.1003e057
mov ecx, dword [ebp - 0x18]
inc ebx
cmp ebx, 2
jl 0x1003e0a1
jmp 0x1003e1d6
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xb]
call fcn.1003e057
mov ecx, dword [ebp - 0x18]
test edi, edi
jne 0x1003e1f1
cmp dword [ebp - 0x1c], 2
je 0x1003e1e9
mov al, byte [esi + 0xc]
and al, 0xf
cmp al, 2
jne 0x1003e1f9
push ecx
call fcn.100469e0
jmp 0x1003e1f7
push esi
call fcn.100469e0
mov ecx, eax
mov eax, ecx
call fcn.10045594
ret 4
Function at 0x10044aee
Capabilities:
Accept command line arguments

Disassembly:
push 8
push 0x10066040
call fcn.100498d0
mov eax, dword [ebp + 0xc]
cmp eax, 1
jne 0x10044b7c
call fcn.1004989e
test eax, eax
jne 0x10044b12
xor eax, eax
jmp 0x10044c48
call fcn.10048c80
test eax, eax
jne 0x10044b22
call fcn.100498bc
jmp 0x10044b0b
call fcn.10049852
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x100a4834], eax
call fcn.100469e0
mov dword [0x1009c15c], eax
call fcn.100469e0
test eax, eax
jns 0x10044b4c
call fcn.10048959
jmp 0x10044b1b
call fcn.100469e0
test eax, eax
js 0x10044b75
call fcn.1004948a
test eax, eax
js 0x10044b75
push 0
call fcn.100469e0
pop ecx
test eax, eax
jne 0x10044b75
inc dword [0x1009c158]
jmp 0x10044c45
call fcn.10049437
jmp 0x10044b45
xor edi, edi
cmp eax, edi
jne 0x10044bdb
cmp dword [0x1009c158], edi
jle 0x10044b0b
dec dword [0x1009c158]
mov dword [ebp - 4], edi
cmp dword [0x1009c4d4], edi
jne 0x10044ba0
call fcn.100491c5
cmp dword [ebp + 0x10], edi
jne 0x10044bb4
call fcn.10049437
call fcn.10048959
call fcn.100498bc
mov dword [ebp - 4], 0xfffffffe
call fcn.10044bc7
jmp 0x10044c45
cmp eax, 2
jne 0x10044c39
call fcn.10048925
push 0x214
push 1
call fcn.100469e0
pop ecx
pop ecx
mov esi, eax
cmp esi, edi
je 0x10044b0b
push esi
push dword [0x10099c10]
push dword [0x1009c4b4]
call dword [sym.imp.kernel32.dll_DecodePointer]
call eax
test eax, eax
je 0x10044c2d
push edi
push esi
call fcn.1004899a
pop ecx
pop ecx
call dword [sym.imp.kernel32.dll_GetCurrentThreadId]
mov dword [esi], eax
or dword [esi + 4], 0xffffffff
jmp 0x10044c45
push esi
call fcn.100469e0
pop ecx
jmp 0x10044b0b
cmp eax, 3
jne 0x10044c45
push edi
call fcn.100469e0
pop ecx
xor eax, eax
inc eax
call fcn.10049915
ret 0xc

Function at 0x10045462
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10099c08]
jne 0x10046509
repz ret
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x328
mov dword [0x1009c280], eax
mov dword [0x1009c27c], ecx
mov dword [0x1009c278], edx
mov dword [0x1009c274], ebx
mov dword [0x1009c270], esi
mov dword [0x1009c26c], edi
mov word [0x1009c298], ss
mov word [0x1009c28c], cs
mov word [0x1009c268], ds
mov word [0x1009c264], es
mov word [0x1009c260], fs
mov word [0x1009c25c], gs
pushfd
pop dword [0x1009c290]
mov eax, dword [ebp]
mov dword [0x1009c284], eax
mov eax, dword [ebp + 4]
mov dword [0x1009c288], eax
lea eax, [ebp + 8]
mov dword [0x1009c294], eax
mov eax, dword [ebp - 0x320]
mov dword [0x1009c1d0], 0x10001
mov eax, dword [0x1009c288]
mov dword [0x1009c184], eax
mov dword [0x1009c178], 0xc0000409
mov dword [0x1009c17c], 1
mov eax, dword [0x10099c08]
mov dword [ebp - 0x328], eax
mov eax, dword [0x10099c0c]
mov dword [ebp - 0x324], eax
call dword [sym.imp.kernel32.dll_IsDebuggerPresent]
mov dword [0x1009c1c8], eax
push 1
call fcn.1004d289
pop ecx
push 0
call dword [sym.imp.kernel32.dll_SetUnhandledExceptionFilter]
push 0x10010f4c
call dword [sym.imp.kernel32.dll_UnhandledExceptionFilter]
cmp dword [0x1009c1c8], 0
jne 0x100465f5
push 1
call fcn.1004d289
pop ecx
push 0xc0000409
call dword [sym.imp.kernel32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.kernel32.dll_TerminateProcess]
leave
ret
Function at 0x100469e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
pushal
call 0x100469ef
pop dword [ebp - 0x20]
mov eax, 0x100469ef
sub dword [ebp - 0x20], eax
mov dword [ebp - 0x30], 0x904520d8
add dword [ebp - 0x30], 0xbe0d2473
mov dword [ebp - 0x2c], 0x77504d70
sub dword [ebp - 0x2c], 0x451d012b
mov dword [ebp - 0x28], 0x9cdcadbe
add dword [ebp - 0x28], 0xaf6f9670
mov dword [ebp - 0x24], 0xfb2fcc91
add dword [ebp - 0x24], 0x4d0336f
lea eax, [ebp - 0x30]
push eax
mov eax, 0xa566c9f8
sub eax, 0x9566b770
add eax, dword [ebp - 0x20]
call dword [eax]
mov dword [ebp - 0x30], 0xa6caf59a
add dword [ebp - 0x30], 0xcda773bc
mov dword [ebp - 0x2c], 0x24bb9fe1
sub dword [ebp - 0x2c], 0xe34f3e6c
mov dword [ebp - 0x28], 0x865f3e12
sub dword [ebp - 0x28], 0x22efd1a6
mov dword [ebp - 0x24], 0x8629e07a
sub dword [ebp - 0x24], 0x8629e07a
lea ebx, [ebp - 0x30]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x20]
call dword [eax]
push 0x40
push 0x1000
push 0x4e361
push 0
call eax
mov ecx, 0xdd134d0d
add ecx, 0x22ed081f
xor ebx, ebx
add ebx, eax
mov esi, 0x31d0ce84
sub esi, 0x21c3aa84
add esi, dword [ebp - 0x20]
mov edx, 0xaed1bc12
add edx, 0x7ffb593
mov edi, dword [esi]
xor dword [ebp - 0x10], eax
add edi, edx
mov dword [ebx], edi
add dword [ebp - 0x10], 0xef61ea64
add ebx, 4
add esi, 0xd3bdfebd
add esi, 0x2c420147
loop 0x10046b09
add eax, 0x14783
xor ebx, ebx
add ebx, eax
add eax, 0x104fd729
sub eax, 0x104fd724
mov ecx, 0xb84a209f
add ecx, 0x57b5df61
add ecx, dword [ebp - 0x20]
call ebx
leave
ret
Function at 0x1000261d
Capabilities:
Resume thread

Disassembly:
push 8
mov eax, 0x1000b431
call fcn.1000a6a6
mov esi, 0x10015024
push esi
mov dword [ebp - 0x14], esi
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov byte [ebp - 0x10], 1
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp byte [0x10014fed], bl
jne 0x1000269a
push str.starting_PDFL_thread..._n
call fcn.10008cc2
pop ecx
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.kernel32.dll_CreateEventW]
mov dword [0x10014ff0], eax
mov byte [0x10014fec], bl
cmp dword [0x10014fe4], ebx
jne 0x10002676
call fcn.100025f7
push dword [0x10014fe4]
call dword [sym.imp.kernel32.dll_ResumeThread]
push 0xea60
push dword [0x10014ff0]
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
mov byte [0x10014fed], 1
or dword [ebp - 4], 0xffffffff
push esi
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
call fcn.1000a77e
ret

Function at 0x10006800
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x10014704]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 4]
or ecx, 0x2001f
push ecx
push eax
push dword [edi]
xor esi, esi
lea ecx, [ebp - 0x214]
mov dword [ebp - 0x218], eax
mov dword [ebp - 0x214], esi
mov dword [ebp - 0x210], esi
mov dword [ebp - 0x20c], esi
call fcn.10008cc2
mov ebx, eax
cmp ebx, esi
je 0x10006871
lea ecx, [ebp - 0x214]
call fcn.100043c6
mov eax, ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1000a61a
leave
ret 4
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x1000688f
lea eax, [ebp - 0x204]
push eax
lea ecx, [ebp - 0x214]
call fcn.10008cc2
cmp eax, esi
jne 0x100068d6
lea eax, [ebp - 0x220]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x204]
push eax
push esi
push dword [ebp - 0x214]
mov dword [ebp - 0x208], 0x100
call ebx
test eax, eax
je 0x10006879
lea ecx, [ebp - 0x214]
call fcn.100043c6
push dword [ebp - 0x218]
mov ecx, edi
call fcn.10008cc2
lea ecx, [ebp - 0x214]
mov esi, eax
call fcn.100043c6
mov eax, esi
jmp 0x10006860
Function at 0x10008cc2
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
pushal
call 0x10008cd1
pop dword [ebp - 0x44]
mov eax, 0x10008cd1
sub dword [ebp - 0x44], eax
mov dword [ebp - 0x54], 0xa6566bf8
add dword [ebp - 0x54], 0xa7fbd953
mov dword [ebp - 0x50], 0x54c53118
sub dword [ebp - 0x50], 0x2291e4d3
mov dword [ebp - 0x4c], 0x6ee11c31
add dword [ebp - 0x4c], 0xdd6b27fd
mov dword [ebp - 0x48], 0x93e1a9eb
sub dword [ebp - 0x48], 0x93e1a9eb
lea eax, [ebp - 0x54]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x44]
call dword [eax]
mov dword [ebp - 0x54], 0xc51b1bb3
add dword [ebp - 0x54], 0xaf574da3
mov dword [ebp - 0x50], 0x62abc199
add dword [ebp - 0x50], 0xdec09fdc
mov dword [ebp - 0x4c], 0x4bd50173
add dword [ebp - 0x4c], 0x179a6af9
mov dword [ebp - 0x48], 0x487fb31f
sub dword [ebp - 0x48], 0x487fb31f
lea ebx, [ebp - 0x54]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x44]
call dword [eax]
push 0x40
push 0x1000
push 0x3885b
push 0
call eax
mov ecx, 0x4821
xor edi, edi
add edi, eax
mov ebx, 0x24048e6
sub ebx, 0xf23eace6
add ebx, dword [ebp - 0x44]
mov edx, 0xf66d37a1
add edx, 0x511e506b
sub dword [ebp - 0x24], 0x2e980a15
mov esi, dword [ebx]
add dword [ebp - 0x20], ebx
sub esi, edx
xor dword [ebp - 4], eax
mov dword [edi], esi
sub dword [ebp - 0x18], esi
add edi, 0x8b674c81
add edi, 0x7498b383
add ebx, 0xeca24929
sub ebx, 0xeca24925
loop 0x10008de0
add eax, 0x7debffc0
sub eax, 0x7deaec69
xor ebx, ebx
add ebx, eax
add eax, 0x693655fb
sub eax, 0x693655f6
mov ecx, 0xbf902eaa
sub ecx, 0xaf902eaa
add ecx, dword [ebp - 0x44]
call ebx
leave
ret
Function at 0x10009a58
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x424
mov eax, 0x1000b983
call fcn.1000a745
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
xor esi, esi
mov dword [ebp - 0x428], esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x42c], ecx
mov dword [ebp - 0x430], esi
mov dword [ebp - 0x418], esi
push 2
push esi
push eax
mov byte [ebp - 4], 1
call fcn.10006ab2
mov dword [ebp - 0x41c], eax
cmp eax, esi
jne 0x10009ab0
call fcn.10004252
mov esi, eax
jmp 0x10009b86
push ebx
push edi
push eax
call dword [sym.imp.kernel32.dll_FindResourceW]
mov edi, eax
cmp edi, esi
jne 0x10009ac9
call fcn.10004252
jmp 0x10009b78
push edi
push dword [ebp - 0x41c]
call dword [sym.imp.kernel32.dll_LoadResource]
mov dword [ebp - 0x420], eax
cmp eax, esi
je 0x10009abf
push edi
push dword [ebp - 0x41c]
call dword [sym.imp.kernel32.dll_SizeofResource]
mov edi, eax
lea eax, [edi + 1]
mov dword [ebp - 0x424], edi
cmp eax, edi
jae 0x10009b03
mov esi, 0x8007000e
jmp 0x10009b7a
push eax
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 2
call fcn.10008cc2
mov dword [ebp - 4], 1
jmp 0x10009b31
cmp dword [ebp - 0x418], esi
je 0x10009afc
push edi
push dword [ebp - 0x418]
push edi
push dword [ebp - 0x420]
push esi
push 3
call dword [sym.imp.kernel32.dll_MultiByteToWideChar]
cmp eax, esi
je 0x10009abf
mov edx, dword [ebp - 0x418]
push dword [ebp + 0x14]
xor ecx, ecx
mov word [edx + eax*2], cx
push dword [ebp - 0x418]
lea ecx, [ebp - 0x430]
call fcn.10008cc2
mov esi, eax
push dword [ebp - 0x41c]
call dword [sym.imp.kernel32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x10009b9f
lea ecx, [ebp - 0x418]
call fcn.100061ea
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x428]
call fcn.10004520
mov eax, esi
call fcn.1000a7a1
ret 0x10
Function at 0x402410
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x401c
call fcn.00415aa0
mov eax, dword [0x427050]
xor eax, ebp
mov dword [ebp - 8], eax
cmp byte [0x429f78], 0
push ebx
push esi
jne 0x40243f
cmp byte [0x429f79], 0
je 0x402589
mov ecx, dword [ebp + 8]
lea eax, [ebp + 0xc]
push eax
push ecx
lea edx, [ebp - 0x400c]
push 0x1000
push edx
call fcn.00408ec3
add esp, 0x10
lea eax, [ebp - 0x401c]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx edx, word [ebp - 0x400e]
movzx eax, word [ebp - 0x4010]
lea ecx, [ebp - 0x400c]
push ecx
movzx ecx, word [ebp - 0x4012]
push edx
movzx edx, word [ebp - 0x4014]
push eax
movzx eax, word [ebp - 0x401c]
push ecx
movzx ecx, word [ebp - 0x4016]
push edx
movzx edx, word [ebp - 0x401a]
push eax
push ecx
push edx
push str.__02i__02i__02i__02i:_02i:_02i:_03i___INFO___s
mov ecx, 0xffa
lea ebx, [ebp - 0x200c]
call fcn.004023b0
add esp, 0x24
cmp byte [0x429f78], 0
je 0x4024d1
mov eax, ebx
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp byte [0x429f79], 0
je 0x402589
cmp word [0x42a398], 0
je 0x402589
cmp word [0x42a7a8], 0
je 0x402507
mov eax, 0x42a7a8
call fcn.00402730
cmp eax, 0xa00000
jbe 0x402551
movzx ecx, word [ebp - 0x4012]
movzx edx, word [ebp - 0x4014]
movzx eax, word [ebp - 0x4016]
push ecx
movzx ecx, word [ebp - 0x401a]
push edx
movzx edx, word [ebp - 0x401c]
push eax
mov eax, dword [0x42a084]
push ecx
push edx
push eax
push 0x42a398
push str._sLOG._d._02i._02i._02i._02i._02i.txt
mov ecx, 0x208
mov ebx, 0x42a7a8
call fcn.004023b0
add esp, 0x20
cmp word [0x42a7a8], 0
je 0x402589
push 0x41fe18
push 0x42a7a8
call fcn.00408dac
mov esi, eax
add esp, 8
test esi, esi
je 0x402589
lea ecx, [ebp - 0x200c]
push esi
push ecx
call fcn.00408ee0
push esi
call fcn.0040906b
add esp, 0xc
mov ecx, dword [ebp - 8]
pop esi
xor ecx, ebp
pop ebx
call fcn.0040845c
mov esp, ebp
pop ebp
ret
Function at 0x4025a0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x401c
call fcn.00415aa0
mov eax, dword [0x427050]
xor eax, ebp
mov dword [ebp - 8], eax
cmp byte [0x429f78], 0
push ebx
push esi
jne 0x4025cf
cmp byte [0x429f79], 0
je 0x402719
mov ecx, dword [ebp + 8]
lea eax, [ebp + 0xc]
push eax
push ecx
lea edx, [ebp - 0x400c]
push 0x1000
push edx
call fcn.00408ec3
add esp, 0x10
lea eax, [ebp - 0x401c]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx edx, word [ebp - 0x400e]
movzx eax, word [ebp - 0x4010]
lea ecx, [ebp - 0x400c]
push ecx
movzx ecx, word [ebp - 0x4012]
push edx
movzx edx, word [ebp - 0x4014]
push eax
movzx eax, word [ebp - 0x401c]
push ecx
movzx ecx, word [ebp - 0x4016]
push edx
movzx edx, word [ebp - 0x401a]
push eax
push ecx
push edx
push str.__02i__02i__02i__02i:_02i:_02i:_03i___ERROR___s
mov ecx, 0xffa
lea ebx, [ebp - 0x200c]
call fcn.004023b0
add esp, 0x24
cmp byte [0x429f78], 0
je 0x402661
mov eax, ebx
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp byte [0x429f79], 0
je 0x402719
cmp word [0x42a398], 0
je 0x402719
cmp word [0x42a7a8], 0
je 0x402697
mov eax, 0x42a7a8
call fcn.00402730
cmp eax, 0xa00000
jbe 0x4026e1
movzx ecx, word [ebp - 0x4012]
movzx edx, word [ebp - 0x4014]
movzx eax, word [ebp - 0x4016]
push ecx
movzx ecx, word [ebp - 0x401a]
push edx
movzx edx, word [ebp - 0x401c]
push eax
mov eax, dword [0x42a084]
push ecx
push edx
push eax
push 0x42a398
push str._sLOG._d._02i._02i._02i._02i._02i.txt
mov ecx, 0x208
mov ebx, 0x42a7a8
call fcn.004023b0
add esp, 0x20
cmp word [0x42a7a8], 0
je 0x402719
push 0x41fe18
push 0x42a7a8
call fcn.00408dac
mov esi, eax
add esp, 8
test esi, esi
je 0x402719
lea ecx, [ebp - 0x200c]
push esi
push ecx
call fcn.00408ee0
push esi
call fcn.0040906b
add esp, 0xc
mov ecx, dword [ebp - 8]
pop esi
xor ecx, ebp
pop ebx
call fcn.0040845c
mov esp, ebp
pop ebp
ret

Function at 0x402730
Capabilities:
Get file size

Disassembly:
push esi
push edi
xor edi, edi
push edi
push 0x80
push 3
push edi
push edi
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x402762
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
ret