joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6322044a
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.63215ed0
xor ebx, ebx
cmp dword [0x6325cc7c], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x63220520
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x63220600
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x6324aef0
push edi
call esi
cmp eax, ebx
je 0x63220600
push eax
call fcn.63215e62
mov dword [esp], 0x6324aee0
push edi
mov dword [0x6325cc7c], eax
call esi
push eax
call fcn.63215e62
mov dword [esp], 0x6324aecc
push edi
mov dword [0x6325cc80], eax
call esi
push eax
call fcn.63215e62
mov dword [0x6325cc84], eax
lea eax, [ebp - 0xc]
push eax
call fcn.63212a24
test eax, eax
pop ecx
pop ecx
je 0x632204ee
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.63215bd2
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x63220520
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.63215e62
cmp eax, ebx
pop ecx
mov dword [0x6325cc8c], eax
je 0x63220520
push 0x6324ae98
push edi
call esi
push eax
call fcn.63215e62
pop ecx
mov dword [0x6325cc88], eax
mov eax, dword [0x6325cc88]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x632205a5
cmp dword [0x6325cc8c], ecx
je 0x632205a5
push eax
call fcn.63215ed9
push dword [0x6325cc8c]
mov esi, eax
call fcn.63215ed9
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x632205a5
cmp edi, ebx
je 0x632205a5
call esi
cmp eax, ebx
je 0x63220572
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x63220572
test byte [ebp - 0x18], 1
jne 0x632205a5
lea eax, [ebp - 0x10]
push eax
call fcn.63212a5b
test eax, eax
pop ecx
je 0x6322058d
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.63215bd2
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x6322059c
or dword [ebp + 0x10], 0x200000
jmp 0x632205e0
or dword [ebp + 0x10], 0x40000
jmp 0x632205e0
mov eax, dword [0x6325cc80]
cmp eax, dword [ebp - 8]
je 0x632205e0
push eax
call fcn.63215ed9
cmp eax, ebx
pop ecx
je 0x632205e0
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x632205e0
mov eax, dword [0x6325cc84]
cmp eax, dword [ebp - 8]
je 0x632205e0
push eax
call fcn.63215ed9
cmp eax, ebx
pop ecx
je 0x632205e0
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x6325cc7c]
call fcn.63215ed9
cmp eax, ebx
pop ecx
je 0x63220600
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x63220602
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x63225ef0
Capabilities:
Get thread local storage value

Disassembly:
mov eax, dword [0x6325ccac]
push esi
push edi
xor edi, edi
test eax, eax
je 0x63225f4d
mov eax, dword [0x6325fbe0]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test esi, esi
je 0x63225f4d
push 0x18950
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x63225f45
push esi
call fcn.63230ec0
push esi
call fcn.63227a00
add esp, 8
push esi
call dword [sym.imp.KERNEL32.dll_GlobalHandle]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
mov eax, 1
pop esi
ret
mov eax, edi
pop edi
pop esi
ret

Function at 0x63226030
Capabilities:
Get disk information
Get thread local storage value

Disassembly:
push ecx
mov ecx, dword [0x6325fbe0]
mov eax, dword [0x63257e94]
push ecx
mov dword [esp + 4], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je case.0x6322608e.3
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x63226059
mov eax, 1
pop ecx
ret
mov eax, dword [esp + 8]
test eax, eax
jl case.0x6322608e.3
cmp eax, 0x1a
jg case.0x6322608e.3
test eax, eax
jne 0x6322606f
call fcn.63226020
mov cl, byte [esp]
dec al
lea edx, [esp]
add cl, al
push edx
mov byte [esp + 4], cl
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
add eax, 0xfffffffe
cmp eax, 3
ja case.0x6322608e.3
jmp dword [eax*4 + 0x632260a0]
mov eax, 1
pop ecx
ret
xor eax, eax
pop ecx
ret

Function at 0x63226140
Capabilities:
Get thread local storage value

Disassembly:
push ecx
mov eax, dword [0x6325fbe0]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x632261a2
mov ecx, dword [eax + 0x3d10]
push ebx
push 0
push 0
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
call fcn.6322d110
mov bl, al
call fcn.6322d110
mov byte [esp + 6], al
call fcn.6322d110
mov byte [esp + 7], al
call fcn.6322d110
cmp bl, 0x50
pop ebx
jne 0x632261a2
cmp byte [esp + 2], 0x4b
jne 0x632261a2
cmp byte [esp + 3], 1
jne 0x632261a2
cmp al, 2
jne 0x632261a2
mov eax, 1
pop ecx
ret
xor eax, eax
pop ecx
ret
Function at 0x63226ad0
Capabilities:
Get thread local storage value
Read file on windows

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push esi
cmp ebp, 0x7ff
jle 0x63226ae4
mov ebp, 0x7ff
mov eax, dword [0x6325fbe0]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
test ebx, ebx
je 0x63226b68
lea esi, [ebx + 0x16000]
push edi
mov ecx, 0x200
xor eax, eax
mov edi, esi
push eax
rep stosd dword es:[edi], eax
mov edx, dword [ebx + 0x3d10]
lea ecx, [esp + 0x18]
push ecx
push ebp
push esi
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
pop edi
je 0x63226b68
cmp dword [esp + 0x10], ebp
jne 0x63226b68
test byte [ebx + 0x4ea6], 8
je 0x63226b59
push 0x2e
push esi
call fcn.63219200
add esp, 8
test eax, eax
je 0x63226b52
push 0x2e
push esi
mov byte [eax], 0x20
call fcn.63219200
add esp, 8
test eax, eax
jne 0x63226b40
mov byte [ebx + 0x1600b], 0
mov eax, dword [ebx + 0x38]
test eax, eax
jne 0x63226b68
push esi
push esi
call dword [sym.imp.USER32.dll_OemToCharA]
pop esi
pop ebp
pop ebx
ret

Function at 0x63226b70
Capabilities:
Read file on windows

Disassembly:
sub esp, 8
push ebx
push ebp
mov ebp, dword [esp + 0x14]
push esi
mov esi, dword [esp + 0x1c]
push edi
lea edi, [ebp + 0x45ea]
mov edx, 1
mov ecx, 8
xor eax, eax
mov dword [esp + 0x14], edi
cmp esi, 4
mov dword [esp + 0x10], edx
rep stosd dword es:[edi], eax
jle 0x63226c60
push esi
call fcn.632100d6
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x63226c56
mov ecx, dword [ebp + 0x3d10]
lea eax, [esp + 0x1c]
push 0
push eax
push esi
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x63226c39
cmp dword [esp + 0x1c], esi
jne 0x63226c39
add esi, 0xfffffffc
xor edx, edx
mov dword [esp + 0x20], esi
xor ebp, ebp
test ebp, ebp
jne 0x63226c41
cmp dx, word [esp + 0x20]
ja 0x63226c41
mov eax, edx
and eax, 0xffff
add eax, ebx
cmp word [eax], 1
jne 0x63226c2d
mov ax, word [eax + 2]
mov ebp, 1
add ax, 4
cmp ax, 0x20
ja 0x63226c39
mov edi, dword [esp + 0x14]
mov ecx, eax
and ecx, 0xffff
mov esi, ebx
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x63226be2
mov cx, word [eax + 2]
add cx, 4
add edx, ecx
jmp 0x63226be2
mov dword [esp + 0x10], 0
push ebx
call fcn.63210443
mov eax, dword [esp + 0x14]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret
pop edi
pop esi
pop ebp
mov eax, edx
pop ebx
add esp, 8
ret

Function at 0x63226cb0
Capabilities:
Get thread local storage value

Disassembly:
mov eax, dword [0x6325fbe0]
push ebx
push esi
push eax
mov ebx, 5
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test esi, esi
jne 0x63226ccf
pop esi
or eax, 0xffffffff
pop ebx
ret
push edi
call fcn.63226c70
mov edi, dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [esi + 0x3d10], 0xffffffff
test ebx, ebx
jle 0x63226d12
push 0
push 0x8000080
push 3
push 0
push 3
lea ecx, [esi + 0x14fac]
push 0x80000000
push ecx
call edi
cmp eax, 0xffffffff
mov dword [esi + 0x3d10], eax
jne 0x63226d12
dec ebx
jmp 0x63226ce5
mov eax, dword [esi + 0x3d10]
pop edi
pop esi
pop ebx
ret
Function at 0x632270a0
Capabilities:
Get thread local storage value

Disassembly:
mov eax, dword [0x6325fbe0]
push ebx
push esi
push edi
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
xor edi, edi
cmp esi, edi
jne 0x632270c7
mov ecx, dword [esp + 0x10]
mov eax, 4
mov dword [ecx + 0x4c], edi
pop edi
pop esi
pop ebx
ret
lea edx, [esi + 0x350]
mov dword [esi + 0x3d20], edi
push edx
call fcn.6322c910
mov ebx, eax
add esp, 4
cmp ebx, edi
je 0x63227109
mov esi, dword [esp + 0x10]
mov eax, dword [esi + 0x28]
push eax
push 2
push 0x66
call fcn.63230f10
add esp, 8
push eax
push ebx
call fcn.63225f60
add esp, 0xc
mov dword [esi + 0x4c], edi
mov eax, ebx
pop edi
pop esi
pop ebx
ret
push edi
call fcn.6322cac0
add esp, 4
mov dword [esi + 0x3d08], edi
cmp eax, edi
mov dword [esi + 0x3d1c], eax
mov dword [esi + 0x3d0c], edi
je 0x63227187
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x28]
mov dword [eax + 0x4c], edi
push ecx
push 2
push 0x67
call fcn.63230f10
mov edx, dword [esi + 0x3d1c]
add esp, 8
push eax
push edx
call fcn.63225f60
mov eax, dword [esi + 0x14f90]
add esp, 0xc
mov dword [esi + 0x3d08], edi
cmp eax, edi
mov dword [esi + 0x3d0c], edi
je 0x63227174
push eax
call fcn.63210443
add esp, 4
mov dword [esi + 0x14f90], edi
mov eax, dword [esi + 0x15ff4]
cmp eax, edi
je 0x63227225
jmp 0x63227216
cmp dword [esi + 0x44], edi
je 0x632271da
mov ebx, dword [esp + 0x10]
mov dword [ebx + 0x4c], edi
call fcn.63227710
cmp eax, edi
mov dword [esi + 0x3d1c], eax
jne 0x632271c9
push ebp
lea ebp, [esi + 0x16000]
push ebp
call fcn.6322dc40
add esp, 4
test eax, eax
jne 0x632271b9
inc dword [ebx + 0x4c]
call fcn.63227710
cmp eax, edi
mov dword [esi + 0x3d1c], eax
je 0x632271a9
pop ebp
cmp dword [esi + 0x3d1c], 2
jne 0x632271e7
mov dword [esi + 0x3d1c], edi
jmp 0x632271e7
mov ecx, dword [esp + 0x10]
mov eax, dword [esi + 0x4e4a]
mov dword [ecx + 0x4c], eax
mov eax, dword [esi + 0x14f90]
mov dword [esi + 0x3d08], edi
cmp eax, edi
mov dword [esi + 0x3d0c], edi
je 0x6322720c
push eax
call fcn.63210443
add esp, 4
mov dword [esi + 0x14f90], edi
mov eax, dword [esi + 0x15ff4]
cmp eax, edi
je 0x63227225
push eax
call fcn.63210443
add esp, 4
mov dword [esi + 0x15ff4], edi
mov eax, dword [esi + 0x3d1c]
pop edi
pop esi
pop ebx
ret
Function at 0x63228cb0
Capabilities:
Get thread local storage value

Disassembly:
mov eax, dword [0x6325fbe0]
push ebx
push esi
push edi
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
xor ebx, ebx
cmp esi, ebx
jne 0x63228cd0
pop edi
pop esi
mov eax, 4
pop ebx
ret
lea eax, [esi + 0x350]
cmp eax, ebx
jne 0x63228d05
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x28]
mov dword [eax + 0x4c], ebx
push ecx
push 2
push 0x71
call fcn.63230f10
add esp, 8
push eax
push 0x2f
call fcn.63225f60
add esp, 0xc
mov eax, 0x2f
pop edi
pop esi
pop ebx
ret
push eax
call fcn.6322c910
mov edi, eax
add esp, 4
cmp edi, ebx
je 0x63228d3b
mov esi, dword [esp + 0x10]
mov edx, dword [esi + 0x28]
push edx
push 2
push 0x6c
call fcn.63230f10
add esp, 8
push eax
push edi
call fcn.63225f60
add esp, 0xc
mov eax, edi
mov dword [esi + 0x4c], ebx
pop edi
pop esi
pop ebx
ret
mov eax, dword [esi + 0x14f90]
cmp eax, ebx
je 0x63228d54
push eax
call fcn.63210443
add esp, 4
mov dword [esi + 0x14f90], ebx
mov eax, dword [esi + 0x15ff4]
cmp eax, ebx
je 0x63228d6d
push eax
call fcn.63210443
add esp, 4
mov dword [esi + 0x15ff4], ebx
push 1
call fcn.6322cac0
add esp, 4
cmp eax, ebx
mov dword [esi + 0x3d1c], eax
je 0x63228db2
mov eax, dword [esp + 0x10]
mov dword [eax + 0x4c], ebx
mov eax, dword [eax + 0x28]
push eax
push 2
push 0x72
call fcn.63230f10
mov ecx, dword [esi + 0x3d1c]
add esp, 8
push eax
push ecx
call fcn.63225f60
mov eax, dword [esi + 0x3d1c]
add esp, 0xc
pop edi
pop esi
pop ebx
ret
mov eax, dword [esp + 0x10]
xor edx, edx
mov dx, word [esi + 0x4e28]
pop edi
mov dword [eax + 0x4c], edx
pop esi
xor eax, eax
pop ebx
ret
Function at 0x6322c910
Capabilities:
Get thread local storage value

Disassembly:
mov eax, dword [0x6325fbe0]
push ebx
push ebp
push esi
push edi
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebp, eax
xor ebx, ebx
cmp ebp, ebx
je 0x6322caa9
cmp dword [ebp + 0x1d4], ebx
jne 0x6322ca63
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea ecx, [ebp + 0x3d4c]
push 0x6325cca8
mov dword [ebp + 0x3cf8], ebx
mov dword [ebp + 0x3d40], ebx
push ecx
mov dword [ebp + 0x3d30], ebx
mov dword [ebp + 0x3d28], ebx
mov dword [ebp + 0x3cfc], ebx
mov dword [ebp + 0x3d44], ebx
mov dword [ebp + 0x3d48], ebx
mov dword [ebp + 0x15ffc], ebx
mov dword [ebp + 0x14f98], ebx
mov dword [ebp + 0x14f9c], ebx
mov dword [ebp + 0x14fa0], ebx
mov byte [ebp + 0x14fa4], bl
mov dword [ebp + 0x16800], ebx
mov dword [ebp + 0x16804], ebx
mov dword [ebp + 0x1680c], ebx
mov dword [ebp + 0x3d14], ebx
mov dword [ebp + 0x3d18], ebx
mov dword [ebp + 0x3d1c], ebx
call esi
mov edx, dword [esp + 0x14]
lea eax, [ebp + 0x14fac]
push edx
push eax
call esi
call fcn.63226d20
test eax, eax
je 0x6322c9d9
pop edi
pop esi
pop ebp
mov eax, 9
pop ebx
ret
cmp dword [ebp + 0x54], ebx
jne 0x6322c9e6
cmp dword [ebp + 0x4ee4], ebx
je 0x6322c9f9
lea esi, [ebp + 0x15fac]
lea edi, [ebp + 0x15fd0]
mov ecx, 9
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp + 0x14fac]
lea esi, [ebp + 0x157ac]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x6322ca31
mov eax, dword [ebp + 0x15fc0]
mov ecx, dword [ebp + 0x15fe4]
cmp eax, ecx
jne 0x6322ca31
mov ecx, dword [ebp + 0x15fc8]
mov eax, dword [ebp + 0x15fec]
cmp ecx, eax
je 0x6322ca63
push ebp
mov dword [ebp + 0x4e14], ebx
call fcn.63227a00
add esp, 4
mov dword [ebp + 0x3d08], ebx
mov ecx, 9
xor eax, eax
lea edi, [ebp + 0x15fd0]
mov dword [ebp + 0x4e7c], ebx
mov dword [ebp + 0x3d0c], ebx
mov byte [esi], bl
rep stosd dword es:[edi], eax
mov edx, dword [ebp + 0xa0]
add edx, 4
push edx
call fcn.632100d6
mov dword [ebp + 0x14f90], eax
mov eax, dword [ebp + 0xa4]
inc eax
push eax
call fcn.632100d6
mov ecx, dword [ebp + 0x14f90]
add esp, 8
cmp ecx, ebx
mov dword [ebp + 0x15ff4], eax
mov dword [ebp + 0x15ffc], eax
je 0x6322caa9
cmp eax, ebx
je 0x6322caa9
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
pop edi
pop esi
pop ebp
mov eax, 4
pop ebx
ret
Function at 0x6322ecf0
Capabilities:
Get common file path
Get thread local storage value
Write file on windows

Disassembly:
mov eax, 0x1004
call fcn.63212950
mov eax, dword [0x6325fbe0]
push esi
push edi
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test esi, esi
je 0x6322ee3d
mov eax, dword [esi + 0x14]
test eax, eax
je 0x6322ee3d
cmp dword [esi + 0x20], 0xffffffff
jne 0x6322edf6
push 0x800
push 0
push 0x8f
call fcn.63230f10
add esp, 8
lea ecx, [esp + 0x10]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
lea edx, [esp + 0xc]
push 0x3a
push edx
mov byte [esp + 0x813], 0
call fcn.63231060
lea ecx, [esp + 0xd]
cmp eax, ecx
je 0x6322edbb
lea edx, [esp + 0xc]
push 0x63257f10
push edx
call fcn.63231010
lea ecx, [esp + 0xc]
cmp eax, ecx
je 0x6322edbb
lea edx, [esp + 0x80c]
push 0x800
push edx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov al, byte [esp + 0xc]
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
cmp al, 0x5c
je 0x6322edaa
lea eax, [esp + 0x80c]
push 0x63257ee0
push eax
call edi
lea ecx, [esp + 0xc]
lea edx, [esp + 0x80c]
push ecx
push edx
call edi
jmp 0x6322edce
lea eax, [esp + 0xc]
lea ecx, [esp + 0x80c]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0
push 0x80
push 4
push 0
push 3
lea edx, [esp + 0x820]
push 0xc0000000
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [esi + 0x20], eax
je 0x6322ee3d
mov eax, dword [esi + 0x20]
push 2
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov edi, dword [esp + 0x1010]
lea ecx, [esp + 8]
push 0
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edx, dword [esi + 0x20]
push eax
push edi
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
push edx
call edi
mov ecx, dword [esi + 0x20]
lea eax, [esp + 8]
push 0
push eax
push 2
push 0x63257ef4
push ecx
call edi
pop edi
pop esi
add esp, 0x1004
ret

Function at 0x6322ee50
Capabilities:
Get thread local storage value

Disassembly:
mov eax, dword [0x6325fbe0]
sub esp, 8
push esi
push edi
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test esi, esi
je 0x6322ee7c
push 0xf
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov dword [esi + 0x1894c], eax
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
lea eax, [esp + 8]
mov dword [esp + 8], ecx
push eax
push 0x6322eed0
mov dword [esp + 0x14], edx
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov ecx, dword [0x6325ccb0]
push eax
push 0x65
push ecx
call dword [sym.imp.USER32.dll_DialogBoxParamA]
test esi, esi
mov edi, eax
je 0x6322eec3
mov esi, dword [esi + 0x1894c]
test esi, esi
je 0x6322eec3
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, edi
pop edi
pop esi
add esp, 8
ret
Function at 0x6322f2c0
Capabilities:
Create process on windows
Enumerate gui resources
Get thread local storage value

Disassembly:
sub esp, 0x860
mov al, byte [0x6325cca8]
push ebp
push esi
push edi
mov byte [esp + 0x6c], al
mov ecx, 0x1ff
xor eax, eax
lea edi, [esp + 0x6d]
rep stosd dword es:[edi], eax
mov ecx, dword [0x6325fbe0]
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
je 0x6322f3e4
cmp dword [esi + 0x54], ebp
jne 0x6322f3e4
cmp dword [esi + 0x50], ebp
jne 0x6322f3e4
push ebx
mov ebx, dword [esp + 0x874]
mov eax, ebx
lea edx, [esi + 0xa8]
neg eax
sbb eax, eax
push edx
and al, 0xf5
lea ecx, [esp + 0x74]
add eax, 0x6e
push eax
push str.dzprog32___c__u__T_s
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
mov ecx, 0x11
xor eax, eax
lea edi, [esp + 0x3c]
mov dword [esi + 0x34], ebp
mov dword [esi + 0x30], ebp
mov dword [esi + 0x28], 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 0x6322f3d7
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 0x6322f280
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 0x6322f3d7
mov edi, 1
mov dword [esi + 0x30], eax
mov dword [esi + 0x28], edi
mov dword [esi + 0x34], ebx
mov eax, edi
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x860
ret
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x860
ret

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

Disassembly:
mov eax, dword [0x6325fbe0]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test esi, esi
je 0x6322f471
mov eax, dword [esi + 0x30]
test eax, eax
je 0x6322f471
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 + 0x30]
mov ebp, eax
push ecx
xor edi, edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x6322f45f
test edi, edi
jne 0x6322f45f
push esi
call fcn.6322f8d0
add esp, 4
call ebx
sub eax, ebp
cmp eax, 0x1388
jbe 0x6322f451
mov edi, 1
mov edx, dword [esi + 0x30]
push edx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x6322f434
xor eax, eax
pop edi
pop ebp
mov dword [esi + 0x28], eax
mov dword [esi + 0x34], eax
pop ebx
mov eax, 1
pop esi
ret
xor eax, eax
pop esi
ret
Function at 0x63230f10
Capabilities:
Get thread local storage value

Disassembly:
mov eax, dword [0x6325fbe0]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x14]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
test ebx, ebx
jne 0x63230f2f
pop edi
pop esi
pop ebp
pop ebx
ret
test esi, esi
jge 0x63230f37
xor esi, esi
jmp 0x63230f41
cmp esi, 2
jle 0x63230f41
mov esi, 2
mov ecx, esi
mov edx, ebx
shl ecx, 0xb
add edx, ecx
push 0x6325cca8
lea ebp, [esi + edx]
lea edi, [ebp + 0x16948]
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
xor esi, esi
xor eax, eax
test esi, esi
jl 0x63230fed
mov ecx, dword [esi*8 + 0x63258cb8]
mov edx, dword [esp + 0x14]
cmp ecx, edx
mov dword [esp + 0x18], ecx
jne 0x63230fa2
mov eax, dword [esi*8 + 0x63258cbc]
push 0x7ff
push eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
mov ecx, dword [esp + 0x18]
mov byte [ebp + 0x17147], 0
mov eax, 1
test ecx, ecx
jne 0x63230fab
or esi, 0xffffffff
jmp 0x63230fac
inc esi
test eax, eax
je 0x63230f63
mov eax, dword [ebx + 0x4578]
test eax, eax
je 0x63230fe6
lea esi, [ebx + 0x1814b]
push 0x6325cca8
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ecx, dword [ebx + 0x457c]
mov edx, dword [esp + 0x14]
push ecx
push esi
push edi
push 0
push edx
push 0
push 0xd
call dword [ebx + 0x4578]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
ret
test eax, eax
jne 0x63230fb0
push 0x6325cca8
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x632313c0
Capabilities:
Check if file exists
Delete file
Get file attributes
Get thread local storage value
Set file attributes

Disassembly:
mov eax, dword [0x6325fbe0]
push esi
push edi
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, eax
test edi, edi
jne 0x632313dc
pop edi
mov eax, 4
pop esi
ret
mov eax, dword [edi + 4]
mov esi, dword [esp + 0xc]
test eax, eax
je 0x63231414
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x63231414
and al, 0xfe
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
je 0x6323140c
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x63231414
pop edi
mov eax, 0x1c
pop esi
ret
push 0
push 0x8000020
push 2
push 0
push 3
push 0xc0000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [edi + 0x16808], eax
inc eax
neg eax
sbb eax, eax
pop edi
and al, 0xe4
pop esi
add eax, 0x1c
ret