joyce8/EMBER2024-capa huggingface dataset:
Function at 0x103d67f2
Capabilities:
Authenticate hmac

Disassembly:
not ecx
bswap ecx
inc ecx
not ecx
bswap ecx
dec dx
shl edx, 0xd4
xor ebx, ecx
sar edx, 0x34
jp 0x103fc1fb
adc dword [eax], ebp
invalid
jle 0x103af6ba
mov ecx, dword [edi + edx*4]
xor ecx, ebx
ror ax, 0x4e
jb 0x1035799b
dec eax
bswap eax
rol cl, 0xe1
inc eax
rol eax, 1
call fcn.103ce0fc
rol cl, 0x44
sar ecx, cl
mov byte [edx + ecx*2], al
mov edx, ecx
mov eax, 0x5eba2b0f
or ecx, 0x3d9b7882
lea edi, [ecx + edi - 0x3d9b7886]
ja 0x10395630
mov edx, 0xa354a07
mov esp, ebp
mov eax, 0x83391291
pop ecx
neg al
ror edx, 0x17
jns 0x1045f621

Function at 0x103d9055
Capabilities:
Encode data using xor

Disassembly:
push edx
push ecx
ror eax, 2
ror byte [esp + 3], 0xe3
add dword [esp + 1], ecx
not eax
sar cx, 0x43
add edx, 0xa2172b22
inc ecx
xor ebx, eax
dec cx
add edi, eax
mov eax, 0x9a1aa2f
sar al, 0x83
xadd dword [esp + eax*8 - 0x4d0d5024], eax
movzx eax, byte [ebp]
push ecx
add ebp, 1
xor al, bl
rol al, 1
xor ecx, 0xab02df35
sar ecx, 0x2f
dec al
sub edx, 0xf396a61f
ror dl, 0xc3
pop edx
rol al, 1
not al
shl cl, 0x83
call fcn.103775fa
mov eax, 0x152eb9d3
lea edx, [ebp - 0x62]
nop
insb byte es:[edi], dx
and byte [esi + 0x45], ah
and dword [edx], edx
outsd dx, dword [esi]
ror dh, cl
invalid

Function at 0x103e638f
Capabilities:
Encode data using xor

Disassembly:
bswap ecx
add dword [esp + edx*2 - 0x10bfc], 0x92a1a18f
ror ecx, 3
inc ecx
sar dl, 0x26
add edx, edx
not ecx
mov eax, edx
bswap ecx
xor al, 0xb
add eax, 0xd5198fad
xor ebx, ecx
sar word [esp + edx*8 - 0x85ffb], 7
adc edi, ecx
or edx, 0xd0989487
call fcn.10378bc6
push edx
mov edx, 0x7c3393a6
pushfd
xor dx, 0x5829
jb 0x103e63cb
jl 0x103fedea
mov edx, dword [esp + edx - 0x7c33cb8b]
mov dword [esp + 4], 0xe2483715
push dword [esp]
popfd
lea esp, [esp + 4]
call fcn.103dce18

Function at 0x103e9655
Capabilities:
Authenticate hmac

Disassembly:
or dl, dl
mov word [edi], ax
adc edx, edx
add dl, dl
inc edx
lea esi, [edx + esi - 0x54198005]
mov ecx, edx
mov edx, dword [edx + esi - 0x54198001]
xor edx, ebx
lea eax, [ecx + ecx*2 - 0x15ca2af9]
sal eax, cl
dec edx
jmp 0x10449a82
push dword [esp + 4]
popfd
lea esp, [esp + 0x14]
call fcn.103ea862
inc ax
lea esi, [esi + ecx*2 - 0x216]
push edx
sal dword [esp + ecx - 0x109], cl
bswap eax
mov eax, dword [esi + ecx - 0x109]
xor eax, ebx
rol word [esp + ecx*2 - 0x212], 0x2b
inc dword [esp + ecx*2 - 0x212]
ror eax, 1
sub dx, word [esp + ecx - 0x109]
call fcn.103c2a01
sal cl, cl
rol edx, 1
or cl, ch
dec eax
xor ebx, edx
xor ax, 0xadb5
and ecx, 0x8c25889c
jl 0x10346816
adc ebp, edx
jmp ebp
jno 0x1035b83a
jl 0x103e1ac8
mov ebp, dword [esp + 0x10]
jge 0x103bd980
sal dx, 0xea
jns 0x1044980f
mov edx, 0x7695daba
lea esi, [esi + edx - 0x7695dabe]
call fcn.10363c9e
lea esi, [ecx + esi - 0x33]
mov eax, dword [ecx + esi - 0x2f]
xor eax, ebx
dec eax
movsx edx, cl
neg eax
dec edx
rol cl, 0xa1
not dl
lea eax, [ecx + eax + 0x51b2dc6]
neg eax
sal cl, 0xa6
xor ebx, eax
add edi, eax
jmp 0x1035f388
mov cl, byte [edi + ecx*4 - 0x5e]
add edx, edx
adc edi, 2
ror dl, 0xa6
shr ax, cl
jmp 0x103498e8
rol edx, cl
sar al, 0xa4
and eax, 0x4a9c322d
inc edx
jmp 0x10393879
Function at 0x103f8043
Capabilities:
Authenticate hmac

Disassembly:
mov cl, byte [ebp + ecx - 0x2307f728]
mov eax, 0x3b11e039
jno 0x1042d029
bswap edx
ror cl, 0xe1
lea ecx, [ecx + ecx*8 + 0x569c3f9a]
sal ecx, 0xb0
ror edx, 2
and cx, 0xd010
xor edx, 0x7305612
xor ebx, edx
add esi, edx
jmp fcn.1039caee
mov dword [esp], edx
inc ecx
ror ecx, 3
sub al, al
jno 0x10378de8
mov edx, dword [ebp + ecx - 0x50800000]
jg 0x10351bd8
xor edx, ebx
movsx eax, cx
inc eax
lea edx, [eax + edx - 0x77b9681d]
xadd al, cl
sar word [esp + ecx - 0x507ffffb], 0x62
adc cx, ax
xor edx, 0xe2177e17
sub cl, 0xbc
call fcn.1039e333
xor ebx, ecx
add esi, ecx
jmp 0x10439f13
mov edx, dword [edi]
call fcn.1034e341
not eax
not edx
inc ecx
jge 0x10398ec7
add cx, 0xa007
rol eax, 2
call fcn.103cf1b6
mov dword [edi], ecx
mov edx, 0xc919a018
sal dword [esp + 4], 0xb7
sbb ebp, 4
mov ecx, dword [esp + 4]
or dl, 0xa5
jne 0x103fdbf6

Function at 0x10402fa5
Capabilities:
Encode data using xor

Disassembly:
adc ebp, 8
call fcn.103c3f94
sar dx, 0xcf
movzx dx, byte [eax]
mov eax, ecx
sub ebp, 2
sar ecx, cl
mov word [ebp], dx
jns 0x1044ea18
movsx edx, ax
bswap eax
lea esi, [esi + edx*8 - 0x23194]
xadd al, ah
dec eax
mov edx, dword [eax + esi - 0x3246bd04]
jb 0x1040cc3f
xor ebx, eax
add esi, eax
mov edx, dword [ebp]
sal ecx, cl
mov ecx, dword [ebp + 4]
mov dword [esp], 0xbc9434ad
mov byte [esp + 2], 0x31
jne 0x103fa53e

Function at 0x1041dc92
Capabilities:
Encode data using xor

Disassembly:
push ecx
ror ecx, 0x47
not eax
neg eax
lea edx, [ecx + ecx - 0x75f5f7eb]
sub eax, 0xe41e0b20
xor ebx, eax
xor ecx, 0xfc901506
adc edi, eax
sal dx, 0x81
mov dword [esp + 4], edx
push edx
pop ecx
pop edx
pop eax
jne fcn.1045c6b7
mov ecx, 0xf01e680d
shl ecx, 0xd4
sbb esi, 4
lea eax, [ecx*8 + 0x5a81d0a1]
mov eax, dword [eax + esi - 0x6101d0a1]
jmp 0x10470701
and eax, 0x2b88b800
daa
das
dec ax
jg 0x103dd8b3
or ecx, ecx
not ecx
ror eax, 1
lea edx, [edx*8 - 0x72ea01e7]
or ecx, ecx
or dl, 0x12
xor eax, 0xf71891bd
dec eax
neg eax
inc edx
shl edx, 0x38
invalid
fadd dword [edx - 0x3f]
loop 0x1044a706
sbb dl, ch
bswap eax
setbe dl
neg ecx
sar cx, 0x4b
xor ebx, eax
xchg edx, ecx
add edi, eax
call fcn.1042488e
sal dword [eax - 0x97bad57], 0x2a
js 0x1044a6c9
sub eax, 0xf6e7eb24
invalid
push 0x6bab5253
inc ebx
in eax, dx
fild word [ebp - 0x5954790e]
jbe 0x1044a6ba
xacquire xchg byte [ebx - 0x5751895a], ch
mov ecx, 0xcc22ccef
cmp ch, byte [edi - 0x6a]
xor al, 0xd5
les edi, [ebp + 0x535f5109]
inc ebx
jne 0x1044a6a0
test al, 0xb9
out dx, eax
int3
lodsb al, byte [esi]
movsb byte es:[edi], byte [esi]
jbe 0x1044a6fd
xchg esp, eax
loopne 0x1044a726
jmp dword [edx - 0x2f893b89]
mov byte [0xd076c477], al
xor edi, edi
push ss
lodsd eax, dword [esi]
movsd dword es:[edi], dword [esi]
cmpsd dword [esi], dword es:[edi]
jmp 0xc0f7f0d4
lea edx, [ecx*8 - 0xd772266]
xor eax, ebx
jmp 0x1044a6b0
Function at 0x10443a6d
Capabilities:
Encode data using xor

Disassembly:
mov dword [esp + 8], 0xc548e852
lea esp, [esp + 8]
call fcn.104176de
ror edx, 3
xchg byte [esp + eax - 0x435954d7], ch
lea ecx, [ecx + eax*2 - 0x7b7e10e7]
dec edx
sal byte [esp + eax - 0x435954d2], 0xe4
bswap edx
inc edx
sub al, 0xaa
rol edx, cl
pop eax
sal byte [esp + eax - 0x43595403], 0x44
call fcn.103cf4de

Function at 0x104465d5
Capabilities:
Authenticate hmac

Disassembly:
lea edx, [esp + edx + 0x10]
mov ecx, dword [edx]
pop edx
sub edi, 4
mov eax, dword [esp + 8]
or byte [esp + 1], 0xb6
mov dword [edi], ecx
push eax
xchg word [esp + 3], ax
sbb ebp, 4
mov eax, dword [ebp]
mov ecx, 0x25934fa3
xor eax, ebx
push ecx
dec eax
push ecx
shr ecx, cl
shr ecx, cl
neg eax
movzx edx, cl
add eax, 0xe40b7422
call fcn.10453a49

Function at 0x1045dba8
Capabilities:
Encode data using base64

Disassembly:
bswap eax
bswap edx
xadd eax, ecx
lea edx, [edx + eax*4 + 0x79cc23f4]
sub cx, ax
xor ebx, edx
sub ecx, eax
add esi, edx
lea edi, [eax + edi - 0xeb71570]
xor ax, cx
movzx ecx, byte [edi + eax*2 - 0x1d6fc2be]
mov edx, eax
xor cl, bl
shr ax, 0xa1
bswap edx
add cl, 0xf
rol cl, 1
xor dl, ah
jno 0x10414f09
shl dx, 0xad
mov word [ebp], ax
je 0x10470248
adc dx, dx
mov eax, dword [esi]
lea ecx, [edx + 0x6d860aa1]
xor edx, edx
dec edx
lea esi, [esi + ecx - 0x6d854a9e]
dec cl
ror ecx, 0xff
xor eax, ebx
push edx
xor edx, dword [esp]
jb 0x1041e246
lea eax, [eax + edx - 0x39245ab6]
add word [esp + edx*2 + 2], dx
sbb ecx, dword [esp + edx]
adc dword [esp + edx*4], ecx
xor eax, 0x3285af08
dec ecx
lea eax, [eax + edx*8 + 0xb463d]
sal ecx, 0x4f
push ecx
sub dl, byte [esp + edx + 7]
rol eax, 1
ror edx, 0x3b
xadd dword [esp + edx*4 - 0x127c], edx
xor eax, 0xbb176b2d
lea eax, [eax + ecx - 0x5725b403]
xor ebx, eax
add edi, eax
call fcn.103ddedf
neg cl
xadd dx, ax
dec dl
xor dl, al
dec cl
rol dl, 0xe5
xor cl, 0xaf
shl eax, 0x4a
call fcn.10450ac4
neg edx
xor edx, 0x1406ec02
xor ebx, edx
pop ecx
call fcn.1046447d
sub eax, dword [esp + eax - 0x4ba90820]
ror cl, 1
jmp 0x1045bb07
sal al, 1
call fcn.10474131
neg cl
xor edx, 0x2c091993
rol cl, 1
not eax
mov word [esp + eax - 0x1668910b], dx
lea edx, [edx + 0x130402a3]
xor cl, 0xb3
ror dl, 6
neg cl
xor bl, cl
ror eax, 0x47
ror edx, 0x10
lea ecx, [esp + ecx + 0x10]
add dword [esp + eax - 0x1e2cd11b], eax
call fcn.1036374b
dec dx
not ecx
ror ecx, 3
push edx
call fcn.1041ce50
lea eax, [edx*4 - 0x3c724b67]
lea edi, [edx + edi - 0x12a478b6]
mov edx, dword [edx + edi - 0x12a478b2]
movsx ecx, al
xor edx, ebx
not edx
xchg ch, al
dec edx
xor edx, 0x2c27b40e
xor ecx, eax
ja 0x10378028

Function at 0x1045f1d3
Capabilities:
Encode data using base64

Disassembly:
sub ebp, 2
mov word [ebp], cx
pop ecx
pop eax
pop eax
jmp fcn.1039caee
Function at 0x10465f07
Capabilities:
Encode data using base64
Encode data using xor
Parse pe header

Disassembly:
lea edx, [ecx*4 - 0x79f03367]
rol eax, 2
lea edx, [ecx*4 - 0x4bee21cc]
xor ebx, eax
add esi, eax
or dl, cl
mov dword [esp + edx*2 - 0x67ab2a00], ecx
and cl, 0xb
lea eax, [eax + ecx*4 - 0x5f886ecd]
jl 0x103a486d
not eax
shr cl, 0x61
pop edx
neg eax
ror cx, 0xea
shr edx, cl
sal dl, 7
xor ebx, eax
not byte [esp + edx + 2]
mov word [esp + edx*2 + 1], 0xb903
add edi, eax
lea eax, [edx + ecx*8 + 0x1417ecb4]
mov dword [esp + edx], edi
ret

Function at 0x1046c50d
Capabilities:
Encode data using xor

Disassembly:
not ax
xor cl, 0x91
call fcn.10418872
mov dword [esp + ecx - 0x78841], ecx
sar eax, cl
lea edx, [edx + ecx*2 - 0x171ffb8f]
add al, 0x1b
xor ebx, edx
mov byte [esp + ecx*2 - 0xf1082], ah
add esi, edx
mov dx, word [ecx + ebp - 0x78841]
lea ebp, [ecx + ebp - 0x7883f]
ror ecx, cl
and al, cl
lea edi, [eax + edi - 0x3dc01]
jbe 0x10360dd3
push 0x9087f339
mov dx, word [edi]
mov ecx, 0x319dec31
movsx eax, cl
lea edi, [ecx + edi - 0x319dec2f]
add ax, 0xd998
sal ecx, 0x41
lea esi, [esi + eax*8 - 0x6ce49]
push eax
movzx ecx, byte [esi + ecx - 0x633bd862]
adc eax, 0xb6894bb1
or eax, eax
xor cl, bl
add ax, ax
inc cl
jmp 0x1034922d
Function at 0x10002270
Capabilities:
Get common file path

Disassembly:
mov eax, 0x1040
call fcn.10033810
mov eax, dword [esp + 0x1044]
push eax
push 0x800
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea ecx, [esp]
push ecx
call fcn.10002320
add esp, 4
lea edx, [esp]
push edx
push 0
push 0x2be
call fcn.1000cb20
add esp, 8
push eax
lea eax, [esp + 0x808]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea ecx, [esp + 0x80c]
push ecx
call fcn.10004250
add esp, 0x1050
ret

Function at 0x10002a40
Capabilities:
Get thread local storage value

Disassembly:
sub esp, 0x60
mov eax, dword [0x10044ee0]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
mov dword [esp + 4], eax
je 0x10002b94
mov ecx, dword [esp + 0x70]
lea edx, [esp + 0x24]
push 0x40
push edx
mov esi, dword [ecx]
push esi
call dword [sym.imp.USER32.dll_GetClassNameA]
test eax, eax
je 0x10002b94
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.USER32.dll_CharUpperA]
lea ecx, [esp + 0x24]
push str.IMI_VBSTATCONTROL
push ecx
call fcn.1000b380
test eax, eax
je 0x10002b94
push ebx
push ebp
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x422
push esi
call edi
test al, 1
mov dword [esp + 0x7c], eax
je 0x10002b3b
mov ebp, dword [sym.imp.USER32.dll_PeekMessageA]
push 1
push 0
push 0
lea edx, [esp + 0x20]
push 0
push edx
call ebp
test eax, eax
je 0x10002b3b
mov ebx, dword [sym.imp.USER32.dll_TranslateMessage]
cmp dword [esp + 0x18], 0x12
jne 0x10002af1
mov eax, dword [esp + 0x10]
mov dword [eax + 0x9a], 1
jmp 0x10002b16
test byte [esp + 0x7c], 2
je 0x10002b16
push 0
push 0
push 0x424
push esi
call edi
test eax, eax
je 0x10002b16
mov ecx, dword [esp + 0x10]
mov dword [ecx + 0x9a], 1
lea edx, [esp + 0x14]
push edx
call ebx
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
push 1
push 0
push 0
lea ecx, [esp + 0x20]
push 0
push ecx
call ebp
test eax, eax
jne 0x10002ada
lea edx, [esp + 0x30]
push edx
push 0
push 0x41d
push esi
call edi
lea eax, [esp + 0x30]
mov ebx, dword [esp + 0x74]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x10002b75
push ebx
push 0
push 0x41c
push esi
call edi
push 0
push 0
push 0x41e
push esi
call edi
mov ecx, dword [esp + 0x78]
push 0
and ecx, 0xffff
push ecx
push 0x41e
push esi
call edi
push esi
call dword [sym.imp.USER32.dll_UpdateWindow]
pop edi
pop ebp
pop ebx
pop esi
add esp, 0x60
ret 0xc
Function at 0x10002d50
Capabilities:
Get thread local storage value

Disassembly:
mov eax, dword [0x10044ee0]
push ebp
push esi
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test esi, esi
je 0x10002ec4
mov ebp, dword [esi + 0xa9e]
test ebp, ebp
jne 0x10002d80
mov eax, dword [esi + 0x3de8]
test eax, eax
je 0x10002ec4
push ebx
mov ebx, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x1c]
mov ecx, ebx
or ecx, edi
jne 0x10002d94
xor edi, edi
jmp 0x10002de2
test edi, edi
jl 0x10002dba
jg 0x10002da2
cmp ebx, 0x186a0
jbe 0x10002dba
push 0
push 0x64
push edi
push ebx
call fcn.10035e80
push edx
mov edx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x28]
push edx
jmp 0x10002dd0
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
push 0
push 0x64
push ecx
push edx
call fcn.10035e40
push edi
push ebx
push edx
push eax
call fcn.10035e80
mov edi, eax
cmp edi, 0x64
jle 0x10002de2
mov edi, 0x64
test ebp, ebp
mov ebp, dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov dword [esi + 0x3de4], edi
je 0x10002e71
mov ebx, dword [esp + 0x14]
lea eax, [esi + 0x932]
push ebx
push eax
call ebp
lea eax, [esi + 0x92e]
lea ecx, [esi + 0xa92]
mov dword [esi + 0xa9a], eax
mov dword [esi + 0xa96], 0x164
mov dword [eax], edi
mov eax, dword [esi + 0x3e10]
cmp eax, 0xc8
mov dword [ecx], 1
jl 0x10002e5d
mov eax, dword [esi + 0x9e]
test eax, eax
je 0x10002e5d
push ecx
mov ecx, dword [esi + 0xaa6]
push 0
push 0x4a
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
je 0x10002eaf
mov dword [esi + 0x9a], 1
jmp 0x10002eaf
mov edx, dword [esi + 0xaa6]
push ecx
push 0
push 0x4a
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x10002eaf
cmp dword [esi + 0x3e10], 0xc8
jl 0x10002e9c
mov eax, dword [esi + 0x9e]
test eax, eax
je 0x10002e9c
mov eax, dword [esi + 0x3dec]
mov ebx, dword [esp + 0x14]
push eax
push edi
push ebx
call dword [esi + 0x3de8]
jmp 0x10002e4d
mov ecx, dword [esi + 0x3dec]
mov ebx, dword [esp + 0x14]
push ecx
push edi
push ebx
call dword [esi + 0x3de8]
lea edx, [esi + 0x2de4]
push ebx
push edx
call ebp
push esi
call fcn.100046c0
add esp, 4
pop edi
pop ebx
pop esi
pop ebp
ret
Function at 0x10002ed0
Capabilities:
Get thread local storage value

Disassembly:
mov eax, dword [0x10044ee0]
push ebx
push esi
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test esi, esi
jne 0x10002ee7
pop esi
pop ebx
ret
mov ebx, dword [esi + 0xa9e]
test ebx, ebx
jne 0x10002f00
mov eax, dword [esi + 0x3df4]
test eax, eax
jne 0x10002f00
pop esi
xor eax, eax
pop ebx
ret
mov ecx, dword [esp + 0x10]
push ebp
test ecx, ecx
push edi
jne 0x10002f0e
xor edi, edi
jmp 0x10002f4b
cmp ecx, 0x186a0
jle 0x10002f2f
mov eax, 0x51eb851f
imul ecx
mov ecx, edx
mov eax, dword [esp + 0x1c]
sar ecx, 5
mov edx, ecx
shr edx, 0x1f
add ecx, edx
jmp 0x10002f3c
mov eax, dword [esp + 0x1c]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 2
cdq
idiv ecx
mov edi, eax
cmp edi, 0x64
jle 0x10002f4b
mov edi, 0x64
xor ebp, ebp
mov dword [esi + 0x3df0], edi
test ebx, ebx
je 0x10002fc7
mov ebx, dword [esp + 0x14]
lea eax, [esi + 0x932]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [esi + 0x92e]
lea ecx, [esi + 0xa92]
mov dword [esi + 0xa9a], eax
push ecx
mov dword [eax], edi
mov eax, dword [esi + 0x3e10]
cmp eax, 0xc8
push ebp
mov dword [ecx], ebp
mov dword [esi + 0xa96], 0x164
push 0x4a
jl 0x10002fb8
mov ecx, dword [esi + 0xaa6]
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
je 0x1000302a
mov ebp, 1
mov dword [esi + 0x9a], ebp
jmp 0x1000302a
mov edx, dword [esi + 0xaa6]
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x1000302a
mov eax, dword [esi + 0x3e10]
cmp eax, 0x12c
jg 0x10003000
je 0x10003015
sub eax, 0x64
je 0x10002fe9
sub eax, 0x64
je 0x10003015
mov ecx, dword [esi + 0x3df8]
push ecx
jmp 0x1000301c
mov eax, dword [esi + 0x3df8]
mov ebx, dword [esp + 0x14]
push eax
push edi
push ebx
call dword [esi + 0x3df4]
xor ebp, ebp
jmp 0x1000302a
sub eax, 0x190
je 0x10003015
sub eax, 0x64
je 0x10003015
mov ecx, dword [esi + 0x3df8]
push ecx
jmp 0x1000301c
mov edx, dword [esi + 0x3df8]
push edx
mov ebx, dword [esp + 0x18]
push edi
push ebx
call dword [esi + 0x3df4]
mov ebp, eax
lea eax, [esi + 0x35e4]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push esi
call fcn.100046c0
add esp, 4
mov eax, ebp
pop edi
pop ebp
pop esi
pop ebx
ret
Function at 0x100031a0
Capabilities:
Get common file path
Write file on windows

Disassembly:
mov eax, 0x1004
call fcn.10033810
mov eax, dword [esp + 0x100c]
push esi
mov ecx, dword [eax + 0x3e0c]
test ecx, ecx
je 0x1000329a
lea ecx, [esp + 8]
push 0x800
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0x800
push 2
push 0x6c
call fcn.1000cb20
add esp, 8
lea edx, [esp + 0x80c]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
mov al, byte [esp + 0x808]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
cmp al, 0x5c
je 0x1000320d
lea eax, [esp + 8]
push 0x100420a8
push eax
call esi
lea ecx, [esp + 0x808]
lea edx, [esp + 8]
push ecx
push edx
call esi
push 0
push 0x80
push 4
push 0
push 3
lea eax, [esp + 0x1c]
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x1000329a
push ebx
push edi
push 2
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
lea ecx, [esp + 0xc]
push 0
push ecx
push 2
push 0x100420c0
push esi
call edi
mov ebx, dword [esp + 0x1014]
lea edx, [esp + 0xc]
push 0
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push ebx
push esi
call edi
lea eax, [esp + 0xc]
push 0
push eax
push 2
push 0x100420c0
push esi
call edi
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop ebx
pop esi
add esp, 0x1004
ret

Function at 0x100032b0
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [esp + 0xc]
push esi
test eax, eax
jl 0x10003318
mov esi, dword [esp + 0xc]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_IsBadStringPtrA]
test eax, eax
jne 0x100032ff
push edi
push eax
lea eax, [esp + 0x18]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
push eax
push esi
mov esi, dword [esp + 0x1c]
push esi
call edi
lea ecx, [esp + 0x14]
push 0
push ecx
push 2
push 0x100420c0
push esi
call edi
pop edi
mov eax, 1
pop esi
ret
mov eax, dword [esp + 8]
lea edx, [esp + 0x10]
push 0
push edx
push 5
push str.____r_n
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
xor eax, eax
pop esi
ret
Function at 0x10004250
Capabilities:
Get common file path
Get thread local storage value
Write file on windows

Disassembly:
mov eax, 0x1004
call fcn.10033810
mov eax, dword [0x10044ee0]
push esi
push edi
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test esi, esi
je 0x10004364
mov eax, dword [esi + 0x912]
test eax, eax
je 0x10004364
cmp dword [esi + 0x922], 0xffffffff
jne 0x10004314
lea ecx, [esp + 0xc]
push 0x800
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0x800
push 0
push 0x2bd
call fcn.1000cb20
add esp, 8
lea edx, [esp + 0x810]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
mov al, byte [esp + 0x80c]
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
cmp al, 0x5c
je 0x100042dd
lea eax, [esp + 0xc]
push 0x100420a8
push eax
call edi
lea ecx, [esp + 0x80c]
lea edx, [esp + 0xc]
push ecx
push edx
call edi
push 0
push 0x80
push 4
push 0
push 3
lea eax, [esp + 0x20]
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [esi + 0x922], eax
je 0x10004364
mov ecx, dword [esi + 0x922]
push 2
push 0
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov edi, dword [esp + 0x1010]
lea edx, [esp + 8]
push 0
push edx
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
mov eax, dword [esi + 0x922]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
push eax
call edi
mov edx, dword [esi + 0x922]
lea ecx, [esp + 8]
push 0
push ecx
push 2
push 0x100420c0
push edx
call edi
pop edi
pop esi
add esp, 0x1004
ret
Function at 0x100043b0
Capabilities:
Create process on windows
Enumerate gui resources
Get thread local storage value

Disassembly:
sub esp, 0x160
mov al, byte [0x10044ccc]
push ebp
push esi
push edi
mov byte [esp + 0x6c], al
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x6d]
rep stosd dword es:[edi], eax
mov ecx, dword [0x10044ee0]
stosw word es:[edi], ax
push ecx
stosb byte es:[edi], al
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
xor ebp, ebp
cmp esi, ebp
jne 0x100043f3
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x160
ret
push ebx
mov ebx, dword [esp + 0x174]
mov eax, ebx
lea edx, [esi + 0xaae]
neg eax
sbb eax, eax
push edx
and al, 0xf5
lea ecx, [esp + 0x74]
add eax, 0x6e
push eax
push str.dzprog32.exe___c__z__T_s
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
mov ecx, 0x11
xor eax, eax
lea edi, [esp + 0x3c]
mov dword [esi + 0xaaa], ebp
mov dword [esi + 0xaa6], ebp
mov dword [esi + 0xa9e], ebp
rep stosd dword es:[edi], eax
mov eax, 1
add esp, 0x10
mov word [esp + 0x5c], ax
mov dword [esp + 0x58], eax
lea edx, [esp + 0x1c]
lea eax, [esp + 0x2c]
push edx
push eax
push ebp
push ebp
push 0x20
push ebp
push ebp
lea ecx, [esp + 0x8c]
push ebp
push ecx
push ebp
mov dword [esp + 0x54], 0x44
xor edi, edi
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x100044cf
mov edx, dword [esp + 0x1c]
push 0x2710
push edx
call dword [sym.imp.USER32.dll_WaitForInputIdle]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x28]
lea edx, [esp + 0x10]
mov dword [esp + 0x10], eax
push edx
push 0x10004370
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], ebp
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [esp + 0x18]
cmp eax, ebp
je 0x100044cf
mov edi, 1
mov dword [esi + 0xaa6], eax
mov dword [esi + 0xa9e], edi
mov dword [esi + 0xaaa], ebx
mov eax, edi
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x160
ret

Function at 0x100044e0
Capabilities:
Check for time delay via gettickcount
Get thread local storage value

Disassembly:
mov eax, dword [0x10044ee0]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test esi, esi
je 0x10004570
mov eax, dword [esi + 0xaa6]
test eax, eax
je 0x10004570
push ebx
push ebp
push edi
push 0
push 0
push 0x10
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebx
mov ecx, dword [esi + 0xaa6]
mov ebp, eax
push ecx
xor edi, edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x10004558
test edi, edi
jne 0x10004558
push esi
call fcn.100046c0
add esp, 4
call ebx
sub eax, ebp
cmp eax, 0x1388
jbe 0x10004547
mov edi, 1
mov edx, dword [esi + 0xaa6]
push edx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x1000452a
xor eax, eax
pop edi
pop ebp
mov dword [esi + 0xa9e], eax
mov dword [esi + 0xaaa], eax
pop ebx
mov eax, 1
pop esi
ret
xor eax, eax
pop esi
ret