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

Disassembly:
sub esp, 0x50
mov eax, dword [0x474298]
xor eax, esp
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x64]
push ebx
mov ebx, dword [esp + 0x5c]
push ebp
mov ebp, dword [esp + 0x5c]
push esi
push edi
mov esi, ecx
mov dword [esp + 0x10], ebp
push 0
lea ecx, [esp + 0x30]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x18], eax
call fcn.00444500
push 0xffffffffffffffff
push dword [0x474c00]
xorps xmm0, xmm0
mov dword [esp + 0x34], vtable.CryptoPP::ByteQueue::Walker.0
lea ecx, [esp + 0x34]
mov dword [esp + 0x38], vtable.CryptoPP::ByteQueue::Walker.1.0
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], 0
movlpd qword [esp + 0x4c], xmm0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
call fcn.00444ec0
push dword [ebx + 4]
lea ecx, [esp + 0x30]
push dword [ebx]
call fcn.004450d0
mov eax, dword [esp + 0x6c]
sub eax, dword [ebx]
mov ecx, dword [esp + 0x70]
mov edi, eax
sbb ecx, dword [ebx + 4]
mov ebx, ecx
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x3c]
mov esi, ebx
mov dword [esp + 0x18], eax
test ecx, ecx
je 0x4515d0
mov ebp, dword [esp + 0x4c]
nop word [eax + eax]
mov esi, dword [ecx + 0x18]
xor eax, eax
sub esi, dword [ecx + 0x14]
sub esi, ebp
sbb eax, eax
cmp eax, ebx
ja 0x451576
jb 0x451578
cmp esi, edi
jb 0x451578
mov esi, edi
mov eax, dword [esp + 0x10]
push dword [esp + 0x78]
push 0
mov eax, dword [eax]
push esi
mov edx, dword [eax + 0x8c]
mov eax, dword [ecx + 0x10]
add eax, dword [ecx + 0x14]
mov ecx, dword [esp + 0x1c]
add eax, ebp
push eax
push dword [esp + 0x24]
call edx
mov edx, eax
test edx, edx
jne 0x451610
add dword [esp + 0x44], esi
adc dword [esp + 0x48], eax
sub edi, esi
sbb ebx, eax
mov eax, edi
or eax, ebx
je 0x451610
mov eax, dword [esp + 0x3c]
xor ebp, ebp
mov ecx, dword [eax]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x4c], ebp
test ecx, ecx
jne 0x451560
mov ebp, dword [esp + 0x10]
jmp 0x4515d6
xor edx, edx
or eax, esi
je 0x451610
mov esi, dword [esp + 0x54]
test esi, esi
je 0x451610
xor eax, eax
cmp eax, ebx
ja 0x4515ea
jb 0x4515ec
cmp esi, edi
jb 0x4515ec
mov esi, edi
push dword [esp + 0x78]
mov eax, dword [ebp]
mov ecx, ebp
push 0
push esi
push dword [esp + 0x5c]
push dword [esp + 0x24]
call dword [eax + 0x8c]
mov edx, eax
test edx, edx
jne 0x451610
sub edi, esi
sbb ebx, eax
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
sub ecx, edi
pop edi
sbb esi, ebx
add dword [eax], ecx
mov ecx, dword [esp + 0x58]
adc dword [eax + 4], esi
mov eax, edx
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00426959
add esp, 0x50
ret 0x18
Function at 0x401128
Capabilities:
Delete directory

Disassembly:
mov edi, edi
mov ebp, esp
sub esp, 0x30
mov edx, 0x40
push edx
mov ecx, 0x1000
push ecx
mov ecx, 0x6c0
push ecx
push 0
push 0xffffffffffffffff
lea edi, [0x56ba43b1]
sub edi, 0x567a2391
push dword [edi]
dec dword [esp]
push sym.imp.KERNEL32.dll_WriteConsoleA
pop edi
pop dword [edi]
mov eax, dword [sym.imp.KERNEL32.dll_WriteConsoleA]
call eax
push eax
pop edx
mov dword [ebx], edx
mov ecx, dword [ebx]
lea esi, [ecx]
sub edi, edi
dec edi
and edi, 0x401499
mov ecx, dword [edi]
mov dword [esi], ecx
add edi, 2
add esi, 2
push 0x9a876a54
pop ecx
push 0x6c0
pop eax
test eax, eax
je 0x4011ae
add eax, 0xfffffffc
sub edx, edx
or edx, ecx
sub edx, 0xffffffff
add edx, dword [edi]
mov dword [esi], edx
push dword [edi]
mov ecx, 0xfffffffc
sub edi, ecx
sub esi, ecx
pop ecx
bswap ecx
jmp 0x40118c
xor esi, esi
push esi
mov eax, dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
call eax
sub esp, 0xffffffd0
ret
Function at 0x4029d0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push section..rdata
push 0x402bd0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
add esp, 0xffffff98
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 4], 0
push 2
call dword [sym.imp.MSVCRT.dll___set_app_type]
add esp, 4
mov dword [0x404384], 0xffffffff
mov dword [0x404388], 0xffffffff
call dword [sym.imp.MSVCRT.dll___p__fmode]
mov ecx, dword [0x404380]
mov dword [eax], ecx
call dword [sym.imp.MSVCRT.dll___p__commode]
mov edx, dword [0x40437c]
mov dword [eax], edx
mov eax, dword [sym.imp.MSVCRT.dll__adjust_fdiv]
mov ecx, dword [eax]
mov dword [0x40438c], ecx
call fcn.00402bc0
mov eax, dword [0x404150]
test eax, eax
jne 0x402a61
push 0x402bb0
call dword [sym.imp.MSVCRT.dll___setusermatherr]
add esp, 4
call fcn.00402b90
push 0x40400c
push 0x404008
call sub.MSVCRT.dll__initterm
add esp, 8
mov edx, dword [0x404378]
mov dword [ebp - 0x6c], edx
lea eax, [ebp - 0x6c]
push eax
mov ecx, dword [0x404374]
push ecx
lea edx, [ebp - 0x64]
push edx
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x60]
push ecx
call dword [sym.imp.MSVCRT.dll___getmainargs]
add esp, 0x14
push 0x404004
push section..data
call sub.MSVCRT.dll__initterm
add esp, 8
call dword [sym.imp.MSVCRT.dll___p__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x74], esi
cmp byte [esi], 0x22
jne 0x402b6f
inc esi
mov dword [ebp - 0x74], esi
mov al, byte [esi]
test al, al
je 0x402ad5
cmp al, 0x22
jne 0x402ac7
cmp byte [esi], 0x22
jne 0x402ade
inc esi
mov dword [ebp - 0x74], esi
mov al, byte [esi]
test al, al
je 0x402aee
cmp al, 0x20
ja 0x402aee
inc esi
mov dword [ebp - 0x74], esi
jmp 0x402ade
mov dword [ebp - 0x30], 0
lea edx, [ebp - 0x5c]
push edx
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
test byte [ebp - 0x30], 1
je 0x402b0f
mov eax, dword [ebp - 0x2c]
and eax, 0xffff
jmp 0x402b14
mov eax, 0xa
push eax
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call main
mov dword [ebp - 0x68], eax
push eax
call dword [sym.imp.MSVCRT.dll_exit]
jmp 0x402b54
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [esi], 0x20
jbe 0x402ade
inc esi
mov dword [ebp - 0x74], esi
jmp 0x402b6f
Function at 0x1e7a3a40
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov eax, 0xb945c6c8
cmpsd dword [esi], dword es:[edi]
call fcn.1e7a37a7
or edi, dword [eax + eax*4 - 0x57ba723f]
push eax
call fcn.1e7a37b7
mov esi, dword [ebp + 0xc]
push eax
push esi
push dword [ebp + 8]
call fcn.1e7a376c
add esp, 0x10
lea ecx, [ebp - 0xb0]
push ecx
call eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xac]
xor edx, edx
div ecx
xor edx, edx
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 8]
div ecx
test edx, edx
je 0x1e7a3a95
inc dword [ebp - 0x8c]
imul ecx, dword [ebp - 0x8c]
mov dword [ebp + 0xc], ecx
mov byte [ebp - 0x40], bl
mov byte [ebp - 0x3f], bl
mov byte [ebp - 0x3e], 0xec
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3c], 0x45
mov byte [ebp - 0x3b], 0x7a
mov byte [ebp - 0x3a], 0x61
mov byte [ebp - 0x39], 0x67
mov byte [ebp - 0x38], 0x66
mov byte [ebp - 0x37], 0x72
mov byte [ebp - 0x36], 0x7f
mov byte [ebp - 0x35], 0x52
mov byte [ebp - 0x34], 0x7f
mov byte [ebp - 0x33], 0x7f
mov byte [ebp - 0x32], 0x7c
mov byte [ebp - 0x31], 0x70
mov byte [ebp - 0x30], 0x13
call fcn.1e7a37a7
mov edi, 0x8d0744f1
inc ebp
rcl byte [eax - 0x18], 0xc5
cld
invalid

Function at 0x1e7a3be0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.1e7a37b7
push eax
push esi
push dword [ebp + 8]
call fcn.1e7a376c
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.1e7a37a7
daa
pop eax
jb 0x1e7a3c79
mov byte [ebp - 0x84], bl
mov byte [ebp - 0x83], bl
mov byte [ebp - 0x82], 0xe9
mov byte [ebp - 0x81], bl
mov byte [ebp - 0x80], 0x51
mov byte [ebp - 0x7f], 0x73
mov byte [ebp - 0x7e], 0x62
mov byte [ebp - 0x7d], 0x5b
mov byte [ebp - 0x7c], 0x79
mov byte [ebp - 0x7b], 0x72
mov byte [ebp - 0x7a], 0x63
mov byte [ebp - 0x79], 0x7a
mov byte [ebp - 0x78], 0x73
mov byte [ebp - 0x77], 0x5e
mov byte [ebp - 0x76], 0x77
invalid
inc ebp
inc esi
inc ebp
adc byte [ecx - 0x3a], 0x45
xor dword [ebx - 0x3a], 0xc6628245
inc ebp
sbb dword [ebx - 0x3a], 0x45
test byte [ecx - 0x3a], bh
inc ebp
test dword [edx - 0x3a], esi
inc ebp
xchg byte [ebx - 0x3a], ah
inc ebp
xchg dword [edx - 0x3a], edi
inc ebp
mov byte [ebx - 0x3a], dh
inc ebp
mov dword [esi - 0x3a], ebx
inc ebp
mov dh, byte [edi - 0x3a]
inc ebp
Function at 0x1e7a3e40
Capabilities:
Inspect section memory permissions

Disassembly:
cmp dword [eax], ebx
je 0x1e7a3e5b
mov edx, dword [eax + 4]
lea ecx, [eax + 8]
add edx, eax
mov dword [ebp + 8], ecx
cmp ecx, edx
jae 0x1e7a3e56
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx]
mov edx, ecx
and edx, 0xf000
cmp edx, 0x3000
jne sym.pywintypes27.dll_public:_static_struct__object____cdecl_PyDEVMODEW::tp_new_struct__typeobject___struct__object___struct__object__
and ecx, 0xfff
mov edx, esi
sub edx, dword [edi + 0x34]
add ecx, esi
add ecx, dword [eax]
add dword [ecx], edx
jmp 0x1e7a3e48
cmp edx, ebx
jne 0x1e7a3f96
mov ecx, dword [eax + 4]
add dword [ebp + 8], 2
add ecx, eax
cmp dword [ebp + 8], ecx
jb 0x1e7a3e17
add eax, dword [eax + 4]
jmp 0x1e7a3e04
mov dword [ebp + 0xc], ebx
jmp 0x1e7a3e66

Function at 0x1e7a3e90
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x1e7a3e7e
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x1e7a3e9c
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
add byte [eax], al
add byte [eax], al
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x1e7a3efa
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x1e7a3ee1
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x1e7a3eea
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x1e7a3ef4
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x1e7a3ed6
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x1e7a3e60
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]

Function at 0x1e7a3fc0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
add byte [eax - 0x3525b], al
inc dword [eax]
mov byte [ebp - 0x352], 0xda
and byte [ebp - 0x351], 0
mov byte [ebp - 0x350], 0x62
mov byte [ebp - 0x34f], 0x40
mov byte [ebp - 0x34e], 0x51
invalid
invalid
mov bl, 0xfc
invalid

Function at 0x1e7a3ff0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push dword [ebp - 0x3a]
test dword [esp + edi*8 - 0x39a80001], esi
test dword [ebp + 0x4afffffc], esi
Function at 0x1e7a4080
Capabilities:
Contain obfuscated stackstrings

Disassembly:
pop ecx
xor eax, eax
lea edi, [ebp - 0x333]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x670], 4
and byte [ebp - 0x3c4], 0
and byte [ebp - 0x3c3], 0
mov byte [ebp - 0x3c2], 0x99
and byte [ebp - 0x3c1], 0
mov byte [ebp - 0x3c0], 0x21
mov byte [ebp - 0x3bf], 3
mov byte [ebp - 0x3be], 0x12
mov byte [ebp - 0x3bd], 0x2b
mov byte [ebp - 0x3bc], 9
mov byte [ebp - 0x3bb], 2
mov byte [ebp - 0x3ba], 0x13
inc esi
cld
invalid
call dword [ebx]
mov byte [ebp - 0x3b9], 0xa
invalid
test dword [eax - 4], ecx

Function at 0x1e7a4640
Capabilities:
Contain obfuscated stackstrings

Disassembly:
xchg ebp, eax
sar ah, 0xff
dec dword [ecx + 0x4680845]
add dword [eax], eax
add byte [ebp - 0x3337b], cl
call dword [eax + 0x6a]
add bh, bh
xchg ebp, eax
enter 0xfffffffffffffffa, 0xffffffffffffffff
call fcn.1e7a37a7
or al, 0x91
sahf
push es
and byte [ebp - 0x230], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x22f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
invalid
movsd dword es:[edi], dword [esi]
aam 0xfe

Function at 0x1e7a4700
Capabilities:
Contain obfuscated stackstrings

Disassembly:
and esi, eax
test dword [ebx + 0x6fffffc], ebx
mov byte [ebp - 0x364], 0x2c
mov byte [ebp - 0x363], 0x26
mov byte [ebp - 0x362], 0x21
mov byte [ebp - 0x361], 0x30
mov byte [ebp - 0x360], 0x38
mov byte [ebp - 0x35f], 0x11
mov byte [ebp - 0x35e], 0x3c
mov byte [ebp - 0x35d], 0x27

Function at 0x1e7a4c20
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc dword [eax]
mov byte [ebp - 0x728], 0x6b
mov byte [ebp - 0x727], 0x54

Function at 0x1e7a4c30
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x726], 0x4f
mov byte [ebp - 0x725], 0x49
mov byte [ebp - 0x724], 0x48
mov byte [ebp - 0x723], 0x5c
mov byte [ebp - 0x722], 0x51
invalid
call dword [ecx - 0x3a]
test edi, ebx
clc
invalid
jmp [ebp - 0x3a]
test eax, esp
clc
invalid
dec dword [edi - 0x3a]
test ecx, esp
clc
invalid
call dword [edx - 0x3a]
test edx, esp
clc
invalid
dec dword [ecx - 0x3a]
test ebx, esp
clc
invalid
call [eax - 0x3a]
test esp, esp
clc
invalid
call [esi - 0x3a]
test ebp, esp

Function at 0x1e7a57a0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push 2
push 0x40000000
push dword [ebp - 0x3a0]
call dword [ebp - 0x3c8]
mov dword [ebp - 0x380], eax
cmp dword [ebp - 0x380], 0xffffffff
je 0x1e7a57f1
push 0
lea eax, [ebp - 0x6c4]
push eax
push dword [ebp - 0x38c]
push dword [ebp - 0x748]
push dword [ebp - 0x380]
call dword [ebp - 0x730]
push dword [ebp - 0x380]
call dword [ebp - 0x680]
jmp 0x1e7a57f6
jmp 0x1e7a5149
and dword [ebp - 0x37c], 0
push dword [ebp - 0x3a0]
call dword [ebp - 0x704]
mov dword [ebp - 0x3a4], eax
cmp dword [ebp - 0x3a4], 0
je 0x1e7a583d
lea eax, [ebp - 0x714]
push eax
call fcn.1e7a37b7
pop ecx
push eax
push dword [ebp - 0x3a4]
push dword [ebp + 0x14]
call fcn.1e7a376c
add esp, 0xc
mov dword [ebp - 0x37c], eax
cmp dword [ebp - 0x37c], 0
je 0x1e7a5848
jmp 0x1e7a584d
jmp 0x1e7a5149
Function at 0x1e7a5960
Capabilities:
Resolve function by parsing pe exports

Disassembly:
jo 0x1e7a597e
lodsd eax, dword [esi]
cmp byte [eax + 0x1c], 0x18
je 0x1e7a596b
xchg esi, eax
lodsd eax, dword [esi]
mov eax, dword [eax + 8]
push eax
call fcn.1e7a37a7
mov edi, 0x8b08df77
clc
mov eax, dword [edi + 0x3c]
mov edx, dword [edi + eax + 0x78]
add edx, edi
push esp
pop es
js 0x1e7a5985
xlatb
mov ecx, dword [edx + 0x18]
mov ebx, dword [edx + 0x20]
add ebx, edi
sbb byte [ebx - 0x20fcdfa6], cl
call fcn.1e7a37a7
xchg byte [edi - 0x74b618a8], ch
xor al, 0x8b
dec ecx
mov esi, dword [ebx + ecx*4]
add esi, edi
mov eax, 0x50746547
cmp dword [esi], eax
jne 0x1e7a5994
mov eax, 0x41636f72
cmp dword [esi + 4], eax
jne 0x1e7a5994
call fcn.1e7a37a7
div byte [edi + 0x5a8bfceb]
and al, 3
fbld tbyte [esi - 0x75]
or al, 0x4b
mov ebx, dword [edx + 0x1c]
add ebx, edi
mov eax, dword [ebx + ecx*4]
add eax, edi
push eax
call fcn.1e7a37a7
push edx
mov eax, 0x75ff7c9c
or bh, bh
jne 0x1e7a59dd
push dword [ebp]
call fcn.1e7a3fa7
pop edi
ret
invalid

Function at 0x1e7a7500
Capabilities:
Compare security identifiers

Disassembly:
mov eax, dword [esp + 4]
cmp dword [eax + 4], 0x1e7ba2c0
je 0x1e7a751c
mov eax, dword [sym.imp.python27.dll__Py_NotImplementedStruct]
inc dword [eax]
mov eax, dword [sym.imp.python27.dll__Py_NotImplementedStruct]
ret 8
mov eax, dword [eax + 8]
mov ecx, dword [ecx + 8]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_EqualSid]
mov ecx, dword [esp + 8]
cmp ecx, 2
jne 0x1e7a7541
test eax, eax
je 0x1e7a754a
mov eax, dword [sym.imp.python27.dll__Py_TrueStruct]
inc dword [eax]
ret 8
cmp ecx, 3
jne 0x1e7a7554
test eax, eax
je 0x1e7a7537
mov eax, dword [sym.imp.python27.dll__Py_ZeroStruct]
inc dword [eax]
ret 8
mov eax, dword [sym.imp.python27.dll__Py_NotImplementedStruct]
inc dword [eax]
ret 8

Function at 0x1e7a9c90
Capabilities:
Set thread local storage value

Disassembly:
cmp dword [sym.pywintypes27.dll_struct__is__PyWin_InterpreterState], 0
push ebx
mov ebx, dword [sym.imp.python27.dll_Py_FatalError]
push esi
push edi
mov edi, dword [sym.imp.python27.dll_PyThreadState_Swap]
jne 0x1e7a9ccd
push 0
call edi
mov esi, eax
add esp, 4
test esi, esi
jne 0x1e7a9cbf
push str.pywintypes:_can_not_setup_interpreter_state__as_current_state_is_invalid
call ebx
add esp, 4
mov eax, dword [esi + 4]
push esi
mov dword [sym.pywintypes27.dll_struct__is__PyWin_InterpreterState], eax
call edi
add esp, 4
push 8
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
test esi, esi
jne 0x1e7a9ce7
push 0x1e7b10fc
call ebx
add esp, 4
mov ecx, dword [0x1e7ba8b8]
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push 0
call edi
push eax
mov dword [esi], eax
call edi
add esp, 8
pop edi
mov dword [esi + 4], 0
pop esi
pop ebx
ret
Function at 0x1e7a9d10
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov eax, dword [0x1e7ba8b8]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
jne 0x1e7a9d7f
push esi
push edi
mov edi, dword [sym.imp.python27.dll_Py_FatalError]
cmp dword [sym.pywintypes27.dll_struct__is__PyWin_InterpreterState], eax
jne 0x1e7a9d3a
push str.Can_not_setup_thread_state__as_have_no_interpreter_state
call edi
add esp, 4
push 8
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
test esi, esi
jne 0x1e7a9d54
push str.Out_of_memory_allocating_thread_state.
call edi
add esp, 4
mov ecx, dword [0x1e7ba8b8]
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov edx, dword [sym.pywintypes27.dll_struct__is__PyWin_InterpreterState]
push edx
call dword [sym.imp.python27.dll_PyThreadState_New]
add esp, 4
mov dword [esi], eax
mov eax, 1
pop edi
mov dword [esi + 4], eax
pop esi
ret
xor eax, eax
ret

Function at 0x1e7a9dd0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov eax, dword [0x1e7ba8b8]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test esi, esi
je 0x1e7a9e0b
cmp dword [esi + 4], 0
je 0x1e7a9e0b
mov ecx, dword [esi]
push ecx
call dword [sym.imp.python27.dll_PyThreadState_Delete]
mov edx, dword [0x1e7ba8b8]
add esp, 4
push 0
push edx
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
pop esi
ret
Function at 0x119b8
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 4]
push esi
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
push eax
push 0xb
push 0x4424
push 0x7332
xor esi, esi
push 0x5224
push 0x7113
mov dword [ebp - 0x10], esi
mov dword [ebp - 8], esi
call fcn.0001198e
push 0x206b6444
push dword [ebp - 8]
push esi
call dword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
cmp eax, esi
mov dword [ebp - 4], eax
jne 0x11a06
xor eax, eax
jmp 0x11a7e
lea ecx, [ebp - 8]
push ecx
push dword [ebp - 8]
push eax
push 0xb
call dword [sym.imp.ntoskrnl.exe_ZwQuerySystemInformation]
test eax, eax
jl 0x11a73
mov eax, dword [ebp - 4]
push ebx
push edi
mov dword [ebp - 0xc], esi
cmp dword [eax], esi
lea edi, [eax + 4]
jbe 0x11a6e
lea ebx, [edi + 0x1c]
mov esi, 0x11c
push 0x5c
push ebx
call dword [sym.imp.ntoskrnl.exe_strrchr]
pop ecx
test eax, eax
pop ecx
je 0x11a43
inc eax
jmp 0x11a45
mov eax, ebx
push dword [ebp + 8]
push eax
call dword [sym.imp.ntoskrnl.exe__stricmp]
pop ecx
test eax, eax
pop ecx
je 0x11a68
mov eax, dword [ebp - 4]
add edi, esi
add ebx, esi
inc dword [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
cmp ecx, dword [eax]
jb 0x11a31
jmp 0x11a6e
mov eax, dword [edi + 8]
mov dword [ebp - 0x10], eax
mov esi, dword [ebp - 0x10]
pop edi
pop ebx
push dword [ebp - 4]
call dword [sym.imp.ntoskrnl.exe_ExFreePool]
mov eax, esi
pop esi
leave
ret 4

Function at 0x12056
Capabilities:
Parse pe header

Disassembly:
call dword [0x13ffc]
cmp dword [esp + 8], 8
jbe 0x120f6
cmp eax, dword [esp + 8]
jne 0x120f6
push 0xffffffffffffffff
call fcn.000123bc
test eax, eax
je 0x120f6
mov edx, dword [esp + 0xc]
cmp dword [eax + 8], edx
jne 0x120f6
cmp word [edx], 0x5a4d
jne 0x120f6
mov eax, dword [edx + 0x3c]
cmp dword [eax + edx], 0x4550
lea ecx, [eax + edx]
jne 0x120f6
cmp word [ecx + 0x18], 0x10b
jne 0x120f6
cmp word [ecx + 0x5c], 2
jne 0x120f6
mov eax, dword [esp + 0x10]
push esi
push edi
mov dword [eax + 4], edx
mov esi, dword [ecx + 0x34]
mov dword [eax + 8], esi
mov esi, dword [ecx + 0x28]
add esi, edx
mov dword [eax + 0xc], esi
mov esi, dword [ecx + 0x50]
mov dword [eax], esi
mov esi, dword [ecx + 0xc0]
test esi, esi
je 0x120d5
add esi, edx
mov dword [eax + 0x10], esi
mov edi, dword [ecx + 0x80]
lea esi, [ecx + 0x80]
add edi, edx
add ecx, 8
push 1
mov dword [eax + 0x14], edi
mov dword [eax + 0x18], esi
mov dword [eax + 0x1c], ecx
pop eax
pop edi
pop esi
jmp 0x120f8
xor eax, eax
ret 0x10
Function at 0x12170
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
and dword [ebp + 8], 0
mov eax, dword [edi + 0x3c]
mov esi, dword [eax + edi + 0x78]
mov eax, dword [esi + edi + 0x20]
add esi, edi
add eax, edi
mov ebx, dword [esi + 0x1c]
mov ecx, dword [esi + 0x24]
add ebx, edi
add ecx, edi
cmp dword [esi + 0x18], 0
mov dword [ebp - 8], ecx
jbe 0x121ca
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
push dword [ebp + 0xc]
mov eax, edi
add eax, dword [ecx]
push eax
call dword [sym.imp.ntoskrnl.exe__stricmp]
pop ecx
test eax, eax
pop ecx
je 0x121d3
inc dword [ebp + 8]
add dword [ebp - 4], 4
mov eax, dword [ebp + 8]
cmp eax, dword [esi + 0x18]
jb 0x121a4
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 8
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 8]
movzx eax, word [eax + ecx*2]
mov eax, dword [ebx + eax*4]
jmp 0x121cc
Function at 0x401040
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x54ebf1
mov eax, dword fs:[0]
push eax
sub esp, 0x144
push esi
push edi
mov eax, dword [0x5ac1d0]
xor eax, esp
push eax
lea eax, [esp + 0x150]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x14], 8
mov dword [esp + 0x18], 0xff
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
mov ecx, esi
call fcn.0041c03f
xor edi, edi
push edi
call fcn.0041cb6f
push 0xc
call fcn.0041b189
add esp, 8
mov dword [esp + 0x18], eax
mov dword [esp + 0x158], edi
cmp eax, edi
je 0x4010bf
mov ecx, eax
call fcn.0041d31e
mov edi, eax
push str.Local_AppWizard_Generated_Applications
mov ecx, esi
mov dword [esp + 0x15c], 0xffffffff
call fcn.0041d4ad
push 0
push 0x66
lea ecx, [esp + 0x24]
call fcn.00423eaa
mov dword [esp + 0x158], 1
lea ecx, [esp + 0xd8]
mov dword [esp + 0x1c], vtable.CKModzLauncherDlg.0
call fcn.00425a5a
mov dword [esp + 0xd8], vtable.CProgressCtrl.0
mov byte [esp + 0x158], 2
call fcn.0042b6ad
call fcn.0042b6ad
mov eax, dword [eax + 0xc]
push 0x80
push eax
call dword [sym.imp.USER32.dll_LoadIconW]
mov dword [esp + 0xd4], eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x158], 3
mov dword [esi + 0x20], ecx
call fcn.0041e445
test edi, edi
je 0x40115b
mov edx, dword [edi]
mov eax, dword [edx + 4]
push 1
mov ecx, edi
call eax
lea ecx, [esp + 0xd8]
mov dword [esp + 0x158], 4
call fcn.0041ea74
lea ecx, [esp + 0xc8]
mov dword [esp + 0x158], 6
call fcn.00421d14
mov byte [esp + 0x158], 5
lea ecx, [esp + 0xbc]
mov dword [esp + 0xbc], vtable.CBrush.0
call fcn.004016b0
lea ecx, [esp + 0x1c]
mov dword [esp + 0x158], 0xffffffff
call fcn.0041dca6
xor eax, eax
mov ecx, dword [esp + 0x150]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x404320
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 [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x40433b
pop edi
pop ebx
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x404372
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
add eax, esi
and ecx, 0xf
jbe 0x40436e
jmp 0x404360
cmp esi, eax
jae 0x404372
dec ecx
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x404360
cmp esi, eax
jb 0x404379
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