joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1311030
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push edi
push ebx
call dword [0x134712c]
test eax, eax
jne 0x131104b
pop edi
pop ebx
pop ebp
ret
push esi
push eax
call dword [0x1347130]
mov esi, eax
test esi, esi
je 0x1311082
push edi
push ebx
call dword [0x1347138]
mov ecx, dword [ebp + 0x10]
add eax, esi
and ecx, 0xf
jbe 0x131107e
jmp 0x1311070
cmp esi, eax
jae 0x1311082
dec ecx
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x1311070
cmp esi, eax
jb 0x1311089
pop esi
pop edi
xor eax, eax
pop ebx
pop ebp
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x13114f0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x133f3bb
mov eax, dword fs:[0]
push eax
sub esp, 0x210
mov eax, dword [0x1357854]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x21c]
mov esi, ecx
mov ecx, dword [ebp + 8]
push eax
xor bl, bl
call fcn.013129a0
mov eax, dword [esi + 4]
push 0x104
lea ecx, [ebp - 0x218]
push ecx
and eax, 0x3ff
push 0x59
push eax
call dword [0x134711c]
test eax, eax
je 0x131156c
mov eax, dword [ebp - 0x21c]
lea edx, [ebp - 0x218]
push edx
push eax
call fcn.013335aa
add esp, 8
test eax, eax
sete bl
mov eax, dword [ebp - 0x21c]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1311595
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01333a19
mov esp, ebp
pop ebp
ret 4
Function at 0x1318a30
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x133fc36
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x1357854]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
xor edx, edx
mov dword [ebp - 0x430], edx
mov dword [ebp - 4], edx
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], edx
mov dword [ebp - 0x418], edx
push 2
push edx
push eax
mov byte [ebp - 4], 1
call dword [0x13470e0]
mov esi, eax
mov dword [ebp - 0x420], esi
test esi, esi
jne 0x1318aad
call fcn.01312fd0
mov edi, eax
jmp 0x1318b92
push ebx
push edi
push esi
call dword [0x1347128]
mov edi, eax
test edi, edi
jne 0x1318ac6
call fcn.01312fd0
jmp 0x1318b89
push edi
push esi
call dword [0x134712c]
mov ebx, eax
mov dword [ebp - 0x424], ebx
test ebx, ebx
jne 0x1318ae4
call fcn.01312fd0
jmp 0x1318b89
push edi
push esi
call dword [0x1347138]
mov edi, eax
lea eax, [edi + 1]
mov dword [ebp - 0x41c], edi
cmp eax, edi
jae 0x1318b05
mov edi, 0x8007000e
jmp 0x1318b8b
push eax
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 2
call fcn.01315110
mov dword [ebp - 4], 1
jmp 0x1318b3d
mov eax, dword [ebp - 0x418]
test eax, eax
jne 0x1318b4e
mov edi, 0x8007000e
jmp 0x1318b8b
push edi
push eax
push edi
push ebx
push 0
push 3
call dword [0x1347120]
test eax, eax
jne 0x1318b67
call fcn.01312fd0
jmp 0x1318b89
mov edx, dword [ebp - 0x418]
xor ecx, ecx
mov word [edx + eax*2], cx
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 0x418]
push eax
push ecx
lea ecx, [ebp - 0x42c]
call fcn.01317280
mov edi, eax
push esi
call dword [0x13470e4]
lea edx, [ebp - 0x414]
cmp dword [ebp - 0x418], edx
je 0x1318bb0
lea ecx, [ebp - 0x418]
call fcn.01313bd0
jmp 0x1318bb0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.01333a19
mov esp, ebp
pop ebp
ret 0x10
Function at 0x131a560
Capabilities:
Access peb ldr_data
Get ntdll base address
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x133ff21
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x1357854]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [0x1357820]
mov edx, dword [eax + 0xc]
mov ecx, 0x1357820
call edx
add eax, 0x10
mov dword [esi], eax
mov eax, dword [0x1357820]
mov edx, dword [eax + 0xc]
xor ebx, ebx
mov ecx, 0x1357820
mov dword [ebp - 4], ebx
call edx
add eax, 0x10
mov dword [esi + 4], eax
mov eax, dword [0x1357820]
mov edx, dword [eax + 0xc]
mov ecx, 0x1357820
mov byte [ebp - 4], 1
call edx
add eax, 0x10
mov dword [esi + 8], eax
mov eax, dword [0x1357820]
mov edx, dword [eax + 0xc]
mov ecx, 0x1357820
mov byte [ebp - 4], 2
call edx
add eax, 0x10
mov dword [esi + 0x28], eax
mov eax, dword [0x1357820]
mov edx, dword [eax + 0xc]
mov ecx, 0x1357820
mov byte [ebp - 4], 3
call edx
add eax, 0x10
mov dword [esi + 0x2c], eax
mov eax, dword [0x1357820]
mov edx, dword [eax + 0xc]
mov ecx, 0x1357820
mov byte [ebp - 4], 4
call edx
add eax, 0x10
mov dword [esi + 0x34], eax
mov eax, dword [0x1357820]
mov edx, dword [eax + 0xc]
mov ecx, 0x1357820
mov byte [ebp - 4], 5
call edx
add eax, 0x10
mov dword [esi + 0x38], eax
lea ecx, [esi + 0x44]
mov byte [ebp - 4], 6
call fcn.01312200
mov eax, dword [0x1357820]
mov edx, dword [eax + 0xc]
mov ecx, 0x1357820
mov byte [ebp - 4], 7
call edx
add eax, 0x10
mov dword [esi + 0x48], eax
mov eax, dword [0x1357820]
mov edx, dword [eax + 0xc]
mov ecx, 0x1357820
mov byte [ebp - 4], 8
call edx
add eax, 0x10
mov dword [esi + 0x4c], eax
mov eax, dword [0x1357820]
mov edx, dword [eax + 0xc]
mov ecx, 0x1357820
mov byte [ebp - 4], 9
call edx
add eax, 0x10
mov dword [esi + 0x54], eax
mov eax, dword [0x1357820]
mov edx, dword [eax + 0xc]
mov ecx, 0x1357820
mov byte [ebp - 4], 0xa
call edx
add eax, 0x10
mov dword [esi + 0x64], eax
push 0x13586f0
lea ecx, [esi + 4]
mov byte [ebp - 4], 0xb
mov dword [esi + 0xc], ebx
mov word [esi + 0x10], bx
mov byte [esi + 0x12], bl
mov byte [esi + 0x24], bl
mov word [esi + 0x30], bx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x20], 0x7530
call fcn.013117a0
push 0x13586f0
lea ecx, [esi + 8]
call fcn.013117a0
push ebx
push 0x13477c8
lea ecx, [esi + 0x64]
mov word [esi + 0x1e], bx
mov dword [esi + 0x3c], 1
mov byte [esi + 0x1c], bl
mov word [esi + 0x40], bx
mov byte [esi + 0x50], bl
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov word [esi + 0x60], bx
mov byte [esi + 0x62], bl
call fcn.013115c0
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 0x132d6e0
Capabilities:
Check mutex on windows

Disassembly:
push ebx
push esi
mov esi, ecx
xor bl, bl
cmp dword [esi + 4], 0
jne 0x132d6fd
mov eax, dword [esi + 8]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [esi + 4], eax
mov eax, dword [esi + 4]
test eax, eax
je 0x132d73e
mov ecx, dword [esi + 0xc]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push ecx
push eax
call edi
test eax, eax
je 0x132d738
cmp eax, 0x80
jne 0x132d729
mov ecx, dword [esi + 4]
push 0
push ecx
call edi
test eax, eax
je 0x132d732
mov edx, dword [esi]
mov eax, dword [edx + 0x14]
mov ecx, esi
call eax
pop edi
pop esi
mov al, bl
pop ebx
ret
pop edi
pop esi
mov al, 1
pop ebx
ret
pop esi
mov al, bl
pop ebx
ret

Function at 0x132d980
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x13420c9
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x1357854]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor edi, edi
mov dword [ebp - 0x10], edi
mov eax, dword [0x1357820]
mov edx, dword [eax + 0xc]
mov ecx, 0x1357820
mov dword [ebp - 4], edi
call edx
mov esi, dword [ebp + 8]
add eax, 0x10
mov dword [esi], eax
mov edx, dword [ebp + 0xc]
mov ecx, 1
mov dword [ebp - 0x10], ecx
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, 0x201
or eax, ecx
mov dword [ebp - 4], edi
mov edi, dword [edx]
jge 0x132d9ef
push 0x201
mov ecx, esi
call fcn.013113a0
mov eax, dword [esi]
mov ecx, dword [ebp + 0x10]
mov ecx, dword [ecx]
mov edx, dword [0x1358d3c]
push edi
push 0x200
push eax
push 0x13477c8
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov eax, dword [esi]
cmp dword [eax - 8], 0x201
jl 0x132da42
mov dword [eax - 0xc], 0x201
mov eax, dword [esi]
xor ecx, ecx
mov word [eax + 0x402], cx
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
push 0x80070057
call fcn.01311010
int3
Function at 0x132dcc0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x13421d1
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x1357854]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x20], ecx
xor esi, esi
mov dword [ebp - 0x1c], esi
mov eax, dword [0x1357820]
mov edx, dword [eax + 0xc]
mov ecx, 0x1357820
mov dword [ebp - 4], esi
call edx
mov ecx, dword [ebp + 8]
add eax, 0x10
mov dword [ecx], eax
mov ebx, dword [ebp + 0x10]
mov eax, 1
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], eax
mov esi, 0x2710
xor ecx, ecx
mov eax, esi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.01333fb4
mov edi, eax
add esp, 4
mov dword [ebp - 0x18], edi
test edi, edi
jne 0x132dd58
mov byte [ebp - 0x11], al
push 0x1351b04
lea eax, [ebp - 0x11]
push eax
call fcn.013332df
mov ecx, dword [ebp + 0xc]
mov dword [edi], 0
mov eax, dword [ecx]
mov ecx, dword [ebx]
push eax
push esi
push edi
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionW]
lea edx, [esi - 2]
cmp eax, edx
je 0x132de2d
mov ecx, dword [ebp - 0x20]
push eax
push edi
lea eax, [ebp + 0xc]
push eax
call fcn.0132da50
mov edx, dword [ebp + 8]
mov eax, dword [eax]
mov esi, dword [edx]
lea ecx, [eax - 0x10]
sub esi, 0x10
mov byte [ebp - 4], 2
cmp ecx, esi
je 0x132dde8
cmp dword [esi + 0xc], 0
lea ebx, [esi + 0xc]
jl 0x132dddb
mov edx, dword [ecx]
cmp edx, dword [esi]
jne 0x132dddb
push ecx
call fcn.01311330
mov dword [ebp + 0x10], eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x132ddce
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 8]
add ecx, 0x10
mov dword [edx], ecx
jmp 0x132dde8
mov ecx, dword [eax - 0xc]
push ecx
mov ecx, dword [ebp + 8]
push eax
call fcn.013115c0
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x132de0b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
cmp dword [edx - 0xc], 0
sete al
cmp al, 1
jne 0x132de5e
push 0x1351b04
lea eax, [ebp - 0x12]
push eax
mov byte [ebp - 0x12], 0
call fcn.013332df
push edi
call fcn.01333c61
add esp, 4
mov dword [ebp - 0x18], 0
add esi, 0x3e8
jmp 0x132dd23
test edi, edi
je 0x132de6b
push edi
call fcn.01333c61
add esp, 4
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x132e840
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x13422b1
mov eax, dword fs:[0]
push eax
sub esp, 0x920
mov eax, dword [0x1357854]
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 ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
lea eax, [ebp + 0x14]
push eax
push ecx
push edx
lea ecx, [esi + 4]
call fcn.0132f1a0
cmp byte [esi + 0x10], 0
je 0x132ea5f
mov eax, dword [0x1357820]
mov edx, dword [eax + 0xc]
mov ecx, 0x1357820
call edx
add eax, 0x10
mov dword [ebp - 0x928], eax
mov ecx, dword [ebp + 0x10]
lea eax, [ebp + 0x14]
push eax
push ecx
lea edx, [ebp - 0x890]
push 0x3ff
push edx
mov dword [ebp - 4], 0
call fcn.01334d5a
add esp, 0x10
test eax, eax
js 0x132e8e2
cmp eax, 0x3ff
ja 0x132e8e2
jne 0x132e8eb
xor eax, eax
mov word [ebp - 0x92], ax
jmp 0x132e8eb
xor ecx, ecx
mov word [ebp - 0x92], cx
lea eax, [ebp - 0x890]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x132e8f4
sub eax, edx
sar eax, 1
push eax
lea edx, [ebp - 0x890]
push edx
lea ecx, [ebp - 0x928]
call fcn.013115c0
mov ecx, dword [ebp - 0x928]
push 3
lea eax, [ebp - 0x920]
push ecx
lea ecx, [ebp - 0x924]
mov dword [ebp - 0x924], eax
call fcn.0132e1e0
mov eax, dword [ebp - 0x924]
mov byte [ebp - 4], 1
test eax, eax
je 0x132ea23
mov edx, 0x7fffffff
mov ecx, eax
nop
cmp byte [ecx], 0
je 0x132e95e
inc ecx
dec edx
jne 0x132e950
jmp 0x132ea23
test edx, edx
je 0x132ea23
push eax
lea ecx, [ebp - 0x92c]
call fcn.0132e630
lea edx, [ebp - 0x8a0]
push edx
mov byte [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push 0x80
lea eax, [ebp - 0x90]
push eax
push 0
lea ecx, [ebp - 0x8a0]
push ecx
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_GetTimeFormatA]
push 0
call dword [0x13470f8]
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
sub esp, 0x84
mov edi, esp
push eax
push ebx
lea edx, [ebp - 0x90]
push edx
lea eax, [ebp - 0x92c]
push str._s_:__0x_X_0x_X___s
mov ecx, 0x21
lea esi, [ebp - 0x924]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.0132e610
mov ecx, dword [ebp - 0x92c]
add esp, 0x98
push ecx
call dword [0x1347134]
mov eax, dword [ebp - 0x92c]
add eax, 0xfffffff0
mov byte [ebp - 4], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x132ea1d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x924]
lea ecx, [ebp - 0x920]
cmp eax, ecx
je 0x132ea36
push eax
call fcn.01333be7
add esp, 4
mov eax, dword [ebp - 0x928]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x132ea5f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
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.01333a19
mov esp, ebp
pop ebp
ret
Function at 0x132ec00
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
cmp dword [esi + 4], 0
push edi
mov edi, dword [0x13470fc]
jne 0x132ec78
mov ebx, dword [ebp + 8]
push ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esi + 4], eax
test ebx, ebx
je 0x132ec74
test eax, eax
je 0x132ec74
push str.DebugOpen
push eax
call edi
mov dword [esi + 0xc], eax
mov eax, dword [esi + 4]
push str.DebugClose
push eax
call edi
mov ecx, dword [esi + 4]
push str.TraceWrite
push ecx
mov dword [esi + 0x10], eax
call edi
mov edx, dword [esi + 4]
push str.DumpWrite
push edx
mov dword [esi + 0x14], eax
call edi
cmp dword [esi + 0xc], 0
mov dword [esi + 0x18], eax
je 0x132ec74
cmp dword [esi + 0x10], 0
je 0x132ec74
cmp dword [esi + 0x14], 0
je 0x132ec74
test eax, eax
jne 0x132ec78
xor ebx, ebx
jmp 0x132ec7d
mov ebx, 1
cmp dword [esi + 8], 0
jne 0x132ece3
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esi + 8], eax
test eax, eax
je 0x132ecdf
push str.DebugOpen
push eax
call edi
mov ecx, dword [esi + 8]
push str.DebugClose
push ecx
mov dword [esi + 0x1c], eax
call edi
mov edx, dword [esi + 8]
push str.TraceWrite
push edx
mov dword [esi + 0x20], eax
call edi
mov dword [esi + 0x24], eax
mov eax, dword [esi + 8]
push str.DumpWrite
push eax
call edi
cmp dword [esi + 0x1c], 0
mov dword [esi + 0x28], eax
je 0x132ecdf
cmp dword [esi + 0x20], 0
je 0x132ecdf
cmp dword [esi + 0x24], 0
je 0x132ecdf
test eax, eax
jne 0x132ece3
xor eax, eax
jmp 0x132ece8
mov eax, 1
test ebx, ebx
je 0x132ecee
mov eax, ebx
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x132ef00
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi + 4], 0
jne 0x132efcf
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esi + 4], eax
test eax, eax
je 0x132efc8
push edi
mov edi, dword [0x13470fc]
push str.OpenA
push eax
call edi
mov ecx, dword [esi + 4]
push str.CloseA
push ecx
mov dword [esi + 8], eax
call edi
mov edx, dword [esi + 4]
push str.TraceWriteA
push edx
mov dword [esi + 0xc], eax
call edi
mov dword [esi + 0x10], eax
mov eax, dword [esi + 4]
push str.DumpWriteA
push eax
call edi
mov ecx, dword [esi + 4]
push str.OpenW
push ecx
mov dword [esi + 0x14], eax
call edi
mov edx, dword [esi + 4]
push str.CloseW
push edx
mov dword [esi + 0x18], eax
call edi
mov dword [esi + 0x1c], eax
mov eax, dword [esi + 4]
push str.TraceWriteW
push eax
call edi
mov ecx, dword [esi + 4]
push str.DumpWriteW
push ecx
mov dword [esi + 0x20], eax
call edi
cmp dword [esi + 8], 0
mov dword [esi + 0x24], eax
pop edi
je 0x132efc8
cmp dword [esi + 0xc], 0
je 0x132efc8
cmp dword [esi + 0x10], 0
je 0x132efc8
cmp dword [esi + 0x14], 0
je 0x132efc8
cmp dword [esi + 0x18], 0
je 0x132efc8
cmp dword [esi + 0x1c], 0
je 0x132efc8
cmp dword [esi + 0x20], 0
je 0x132efc8
test eax, eax
jne 0x132efcf
xor eax, eax
pop esi
pop ebp
ret 4
mov eax, 1
pop esi
pop ebp
ret 4
Function at 0x133d80c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x1357854]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.01336575
and dword [ebp - 0x14], 0
cmp dword [0x1359c14], 0
mov dword [ebp - 0x18], eax
jne 0x133d8bf
push 0x134f21c
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x133d967
mov edi, dword [0x13470fc]
push 0x134f210
push ebx
call edi
test eax, eax
je 0x133d967
mov esi, dword [0x13471ac]
push eax
call esi
push 0x134f200
push ebx
mov dword [0x1359c14], eax
call edi
push eax
call esi
push 0x134f1ec
push ebx
mov dword [0x1359c18], eax
call edi
push eax
call esi
push 0x134f1d0
push ebx
mov dword [0x1359c1c], eax
call edi
push eax
call esi
mov dword [0x1359c24], eax
test eax, eax
je 0x133d8bf
push 0x134f1b8
push ebx
call edi
push eax
call esi
mov dword [0x1359c20], eax
mov eax, dword [0x1359c20]
mov ecx, dword [ebp - 0x18]
mov esi, dword [0x13471a8]
cmp eax, ecx
je 0x133d918
cmp dword [0x1359c24], ecx
je 0x133d918
push eax
call esi
push dword [0x1359c24]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x133d918
test ebx, ebx
je 0x133d918
call edi
test eax, eax
je 0x133d90f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x133d90f
test byte [ebp - 8], 1
jne 0x133d918
or dword [ebp + 0x10], 0x200000
jmp 0x133d94b
mov eax, dword [0x1359c18]
cmp eax, dword [ebp - 0x18]
je 0x133d94b
push eax
call esi
test eax, eax
je 0x133d94b
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x133d94b
mov eax, dword [0x1359c1c]
cmp eax, dword [ebp - 0x18]
je 0x133d94b
push eax
call esi
test eax, eax
je 0x133d94b
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x1359c14]
call esi
test eax, eax
je 0x133d967
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x133d969
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.01333a19
leave
ret
Function at 0x4ae1b0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6e000]
push edi
or ebp, 0xffffffff
jmp 0x4ae1d2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4ae1d9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4ae1c8
mov eax, 1
add ebx, ebx
jne 0x4ae1eb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4ae1fc
jne 0x4ae21b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4ae21b
dec eax
add ebx, ebx
jne 0x4ae208
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4ae1e0
add ebx, ebx
jne 0x4ae217
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4ae26d
xor ecx, ecx
sub eax, 3
jb 0x4ae233
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4ae2a2
sar eax, 1
mov ebp, eax
jmp 0x4ae23e
add ebx, ebx
jne 0x4ae23e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4ae20c
inc ecx
add ebx, ebx
jne 0x4ae24c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4ae20c
add ebx, ebx
jne 0x4ae259
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4ae24e
jne 0x4ae26a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4ae24e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4ae28c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4ae27e
jmp 0x4ae1ce
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4ae28c
add edi, ecx
jmp 0x4ae1ce
pop esi
mov edi, esi
mov ecx, 0x3493
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4ae2aa
cmp byte [edi], 0x4c
jne 0x4ae2aa
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 0x4ae2af
lea edi, [esi + 0xaa000]
mov eax, dword [edi]
or eax, eax
je 0x4ae327
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xb5140]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xb5294]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4ae2dc
mov ecx, edi
jns 0x4ae30b
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 + 0xb5298]
or eax, eax
je 0x4ae321
mov dword [ebx], eax
add ebx, 4
jmp 0x4ae2f9
call dword [esi + 0xb52a8]
mov ebp, dword [esi + 0xb529c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
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 0x4ae35b
sub esp, 0xffffff80
jmp 0x417770