joyce8/EMBER2024-capa huggingface dataset:
Function at 0x427e50
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x1c
mov eax, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
lea ecx, [ebp - 5]
call fcn.00450fb0
mov ecx, eax
call fcn.00401a80
mov dword [esp], eax
call fcn.00401450
lea ecx, [ebp - 6]
call fcn.00451060
mov ecx, eax
call fcn.00401b50
mov dword [esp], eax
call fcn.00401450
mov eax, dword [0x4940cb]
mov dword [ebp - 0xa], eax
lea ecx, [ebp - 0xb]
call fcn.00451110
mov ecx, eax
call fcn.00401c20
mov dword [esp], eax
call sub.msvcrt.dll_getenv
cmp eax, 0
je 0x427efa
lea eax, [ebp - 0xa]
mov dword [esp], eax
call fcn.00401c40
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x427ef7
lea ecx, [ebp - 0x11]
call fcn.004511c0
mov ecx, eax
call fcn.00401b50
mov dword [esp], eax
call fcn.00401c50
xor eax, eax
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_GlobalFlags]
sub esp, 4
call dword [ebp - 0x10]
lea ecx, [ebp - 0x12]
call fcn.00451270
mov ecx, eax
call fcn.00401e00
mov dword [esp], eax
call fcn.00401450
mov eax, dword [0x4a150c]
mov esi, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov dword [esp], esi
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call eax
add esp, 0x10
pop esi
pop ebp
ret
Function at 0x428d30
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x50
mov eax, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
add eax, dword [ecx + 0x3c]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
add eax, dword [ecx + 0x78]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x14]
add eax, dword [ecx + 0x1c]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x14]
add eax, dword [ecx + 0x20]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x14]
add eax, dword [ecx + 0x24]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x14]
cmp eax, dword [ecx + 0x18]
jae 0x428e5d
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x24]
mov ecx, dword [ecx + edx*4]
add eax, ecx
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp + 0xc]
mov eax, esp
mov dword [eax], ecx
lea ecx, [ebp - 0x34]
call fcn.004210c0
sub esp, 4
mov ecx, dword [ebp - 0x28]
mov eax, esp
mov dword [eax], ecx
lea ecx, [ebp - 0x40]
call fcn.004210c0
sub esp, 4
jmp 0x428dcf
mov eax, esp
lea ecx, [ebp - 0x40]
mov dword [eax + 4], ecx
lea ecx, [ebp - 0x34]
mov dword [eax], ecx
call fcn.00451570
mov byte [ebp - 0x49], al
jmp 0x428de9
lea ecx, [ebp - 0x40]
call fcn.00461ca0
lea ecx, [ebp - 0x34]
call fcn.00461ca0
mov al, byte [ebp - 0x49]
test al, 1
jne 0x428e09
jmp 0x428e4a
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x24]
movzx edx, word [edx + esi*2]
add eax, dword [ecx + edx*4]
mov dword [ebp - 8], eax
jmp 0x428e64
jmp 0x428e4f
mov eax, dword [ebp - 0x24]
add eax, 1
mov dword [ebp - 0x24], eax
jmp 0x428d86
mov dword [ebp - 8], 0
mov eax, dword [ebp - 8]
add esp, 0x50
pop esi
pop ebp
ret
Function at 0x433320
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb8
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
mov dword [ebp - 0xa8], eax
lea ecx, [ebp - 9]
call fcn.00458600
mov ecx, eax
call fcn.00401a80
mov dword [esp], eax
call fcn.00401450
lea ecx, [ebp - 0xa]
call fcn.004586b0
mov ecx, eax
call fcn.00401b50
mov dword [esp], eax
call fcn.00401450
mov eax, dword [str.pQB]
mov dword [ebp - 0xe], eax
lea ecx, [ebp - 0xf]
call fcn.00458760
mov ecx, eax
call fcn.00401c20
mov dword [esp], eax
call sub.msvcrt.dll_getenv
cmp eax, 0
je 0x4333cf
lea eax, [ebp - 0xe]
mov dword [esp], eax
call fcn.00401c40
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x4333cc
lea ecx, [ebp - 0x15]
call fcn.00458810
mov ecx, eax
call fcn.00401b50
mov dword [esp], eax
call fcn.00401c50
xor eax, eax
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_GlobalFlags]
sub esp, 4
call dword [ebp - 0x14]
lea ecx, [ebp - 0x16]
call fcn.004588c0
mov ecx, eax
call fcn.00401e00
mov dword [esp], eax
call fcn.00401450
mov eax, dword [ebp - 0xa8]
test byte [eax + 6], 1
je 0x4334eb
lea eax, [ebp - 0x34]
mov dword [esp], eax
call fcn.00458970
lea ecx, [ebp - 0x34]
call fcn.00458990
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x40]
mov dword [esp], eax
call fcn.004589a0
lea ecx, [ebp - 0x40]
call fcn.004589c0
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x4e]
mov dword [esp], eax
call fcn.004589d0
lea ecx, [ebp - 0x4e]
call fcn.004589f0
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x5a]
mov dword [esp], eax
call fcn.00458a00
lea ecx, [ebp - 0x5a]
call fcn.00458a20
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x60], 0
cmp dword [ebp - 0x60], 4
jae 0x4334e6
mov eax, dword [ebp - 0x60]
mov eax, dword [ebp + eax*4 - 0x28]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
sub esp, 4
cmp eax, 0
je 0x4334d3
call fcn.0044cc80
mov dword [ebp - 0x64], edx
mov dword [ebp - 0x68], eax
lea ecx, [ebp - 0x68]
call fcn.0044cca0
mov dword [ebp - 0xac], eax
lea eax, [ebp - 0xa4]
mov dword [esp], eax
call fcn.0044d160
lea ecx, [ebp - 0xa4]
call fcn.0044d180
mov ecx, dword [ebp - 0xac]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], 0x31
call fcn.00401e20
mov dword [ebp - 4], 0
jmp 0x4334f2
jmp 0x4334d8
mov eax, dword [ebp - 0x60]
add eax, 1
mov dword [ebp - 0x60], eax
jmp 0x433455
jmp 0x4334eb
mov dword [ebp - 4], 1
mov eax, dword [ebp - 4]
add esp, 0xb8
pop ebp
ret
Function at 0x4360f0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [ebp + 8]
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.004153f0
mov dword [ebp - 4], eax
lea ecx, [ebp - 5]
call fcn.004380b0
mov ecx, eax
call fcn.00401a80
mov dword [esp], eax
call fcn.00401450
lea ecx, [ebp - 6]
call fcn.00438160
mov ecx, eax
call fcn.00401b50
mov dword [esp], eax
call fcn.00401450
mov eax, dword [0x48ff9c]
mov dword [ebp - 0xa], eax
lea ecx, [ebp - 0xb]
call fcn.00438210
mov ecx, eax
call fcn.00401c20
mov dword [esp], eax
call sub.msvcrt.dll_getenv
cmp eax, 0
je 0x4361a1
lea eax, [ebp - 0xa]
mov dword [esp], eax
call fcn.00401c40
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x43619e
lea ecx, [ebp - 0x11]
call fcn.004382c0
mov ecx, eax
call fcn.00401b50
mov dword [esp], eax
call fcn.00401c50
xor eax, eax
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_GlobalFlags]
sub esp, 4
call dword [ebp - 0x10]
lea ecx, [ebp - 0x12]
call fcn.00438370
mov ecx, eax
call fcn.00401e00
mov dword [esp], eax
call fcn.00401450
cmp dword [ebp - 4], 0
jne 0x436281
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.0040c5c0
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x13]
call fcn.00438420
mov ecx, eax
call fcn.00401a80
mov dword [esp], eax
call fcn.00401450
lea ecx, [ebp - 0x14]
call fcn.004384d0
mov ecx, eax
call fcn.00401b50
mov dword [esp], eax
call fcn.00401450
mov eax, dword [0x48ffa0]
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x19]
call fcn.00438580
mov ecx, eax
call fcn.00401c20
mov dword [esp], eax
call sub.msvcrt.dll_getenv
cmp eax, 0
je 0x43626a
lea eax, [ebp - 0x18]
mov dword [esp], eax
call fcn.00401c40
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x436267
lea ecx, [ebp - 0x21]
call fcn.00438630
mov ecx, eax
call fcn.00401b50
mov dword [esp], eax
call fcn.00401c50
xor eax, eax
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_GlobalFlags]
sub esp, 4
call dword [ebp - 0x20]
lea ecx, [ebp - 0x22]
call fcn.004386e0
mov ecx, eax
call fcn.00401e00
mov dword [esp], eax
call fcn.00401450
mov eax, dword [ebp - 4]
add esp, 0x28
pop ebp
ret
Function at 0x43abb0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
lea ecx, [ebp - 0xd]
call fcn.0043df90
mov ecx, eax
call fcn.00401a80
mov dword [esp], eax
call fcn.00401450
lea ecx, [ebp - 0xe]
call fcn.0043e040
mov ecx, eax
call fcn.00401b50
mov dword [esp], eax
call fcn.00401450
mov eax, dword [0x4904d8]
mov dword [ebp - 0x12], eax
lea ecx, [ebp - 0x13]
call fcn.0043e0f0
mov ecx, eax
call fcn.00401c20
mov dword [esp], eax
call sub.msvcrt.dll_getenv
cmp eax, 0
je 0x43ac50
lea eax, [ebp - 0x12]
mov dword [esp], eax
call fcn.00401c40
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x43ac4d
lea ecx, [ebp - 0x19]
call fcn.0043e1a0
mov ecx, eax
call fcn.00401b50
mov dword [esp], eax
call fcn.00401c50
xor eax, eax
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_GlobalFlags]
sub esp, 4
call dword [ebp - 0x18]
lea ecx, [ebp - 0x1a]
call fcn.0043e250
mov ecx, eax
call fcn.00401e00
mov dword [esp], eax
call fcn.00401450
call fcn.0043e300
mov dword [ebp - 0xc], eax
lea ecx, [ebp - 0x1b]
call fcn.0043e310
mov ecx, eax
call fcn.00401a80
mov dword [esp], eax
call fcn.00401450
lea ecx, [ebp - 0x1c]
call fcn.0043e3c0
mov ecx, eax
call fcn.00401b50
mov dword [esp], eax
call fcn.00401450
mov eax, dword [0x4904dc]
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x21]
call fcn.0043e470
mov ecx, eax
call fcn.00401c20
mov dword [esp], eax
call sub.msvcrt.dll_getenv
cmp eax, 0
je 0x43ad09
lea eax, [ebp - 0x20]
mov dword [esp], eax
call fcn.00401c40
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x43ad06
lea ecx, [ebp - 0x29]
call fcn.0043e520
mov ecx, eax
call fcn.00401b50
mov dword [esp], eax
call fcn.00401c50
xor eax, eax
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_GlobalFlags]
sub esp, 4
call dword [ebp - 0x28]
lea ecx, [ebp - 0x2a]
call fcn.0043e5d0
mov ecx, eax
call fcn.00401e00
mov dword [esp], eax
call fcn.00401450
call fcn.0043e680
mov dword [ebp - 8], eax
lea ecx, [ebp - 0x2b]
call fcn.0043e690
mov ecx, eax
call fcn.00401a80
mov dword [esp], eax
call fcn.00401450
lea ecx, [ebp - 0x2c]
call fcn.0043e740
mov ecx, eax
call fcn.00401b50
mov dword [esp], eax
call fcn.00401450
mov eax, dword [0x4904e0]
mov dword [ebp - 0x30], eax
lea ecx, [ebp - 0x31]
call fcn.0043e7f0
mov ecx, eax
call fcn.00401c20
mov dword [esp], eax
call sub.msvcrt.dll_getenv
cmp eax, 0
je 0x43adc2
lea eax, [ebp - 0x30]
mov dword [esp], eax
call fcn.00401c40
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
jne 0x43adbf
lea ecx, [ebp - 0x39]
call fcn.0043e8a0
mov ecx, eax
call fcn.00401b50
mov dword [esp], eax
call fcn.00401c50
xor eax, eax
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_GlobalFlags]
sub esp, 4
call dword [ebp - 0x38]
lea ecx, [ebp - 0x3a]
call fcn.0043e950
mov ecx, eax
call fcn.00401e00
mov dword [esp], eax
call fcn.00401450
mov dword [ebp - 4], 0
lea ecx, [0x43ec70]
lea eax, [ebp - 0xc]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0043ea00
sub esp, 8
movzx eax, al
add esp, 0x44
pop ebp
ret
Function at 0x44c530
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
test byte [eax + 5], 1
je 0x44c697
call fcn.0041f450
mov word [ebp - 0xe], ax
lea ecx, [ebp - 0xe]
call fcn.0041f470
mov dword [esp], eax
call sub.msvcrt.dll_atoi
mov dword [esp], eax
call fcn.0044ee30
mov dword [ebp - 0xc], eax
lea ecx, [ebp - 0xf]
call fcn.0044ef00
mov ecx, eax
call fcn.00401a80
mov dword [esp], eax
call fcn.00401450
lea ecx, [ebp - 0x10]
call fcn.0044efb0
mov ecx, eax
call fcn.00401b50
mov dword [esp], eax
call fcn.00401450
mov eax, dword [0x4939b6]
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x15]
call fcn.0044f060
mov ecx, eax
call fcn.00401c20
mov dword [esp], eax
call sub.msvcrt.dll_getenv
cmp eax, 0
je 0x44c604
lea eax, [ebp - 0x14]
mov dword [esp], eax
call fcn.00401c40
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x44c601
lea ecx, [ebp - 0x1d]
call fcn.0044f110
mov ecx, eax
call fcn.00401b50
mov dword [esp], eax
call fcn.00401c50
xor eax, eax
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_GlobalFlags]
sub esp, 4
call dword [ebp - 0x1c]
lea ecx, [ebp - 0x1e]
call fcn.0044f1c0
mov ecx, eax
call fcn.00401e00
mov dword [esp], eax
call fcn.00401450
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x23]
mov dword [esp], eax
call fcn.0044f270
lea ecx, [ebp - 0x23]
call fcn.0044f290
mov dword [esp], eax
call sub.msvcrt.dll_atoi
mov ecx, eax
mov eax, dword [ebp - 0x64]
cmp eax, ecx
jge 0x44c692
call fcn.0044cc80
mov dword [ebp - 0x27], edx
mov dword [ebp - 0x2b], eax
lea ecx, [ebp - 0x2b]
call fcn.0044cca0
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0x5e]
mov dword [esp], eax
call fcn.0044f2a0
lea ecx, [ebp - 0x5e]
call fcn.0044f2c0
mov ecx, dword [ebp - 0x68]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], 0x31
call fcn.00401e20
mov byte [ebp - 1], 0
jmp 0x44c69b
jmp 0x44c697
mov byte [ebp - 1], 1
mov al, byte [ebp - 1]
and al, 1
movzx eax, al
add esp, 0x74
pop ebp
ret
Function at 0x44c6b0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
mov dword [ebp - 0x50], eax
lea ecx, [ebp - 9]
call fcn.0044f820
mov ecx, eax
call fcn.00401a80
mov dword [esp], eax
call fcn.00401450
lea ecx, [ebp - 0xa]
call fcn.0044f8d0
mov ecx, eax
call fcn.00401b50
mov dword [esp], eax
call fcn.00401450
mov eax, dword [0x493ab1]
mov dword [ebp - 0xe], eax
lea ecx, [ebp - 0xf]
call fcn.0044f980
mov ecx, eax
call fcn.00401c20
mov dword [esp], eax
call sub.msvcrt.dll_getenv
cmp eax, 0
je 0x44c759
lea eax, [ebp - 0xe]
mov dword [esp], eax
call fcn.00401c40
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x44c756
lea ecx, [ebp - 0x15]
call fcn.0044fa30
mov ecx, eax
call fcn.00401b50
mov dword [esp], eax
call fcn.00401c50
xor eax, eax
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_GlobalFlags]
sub esp, 4
call dword [ebp - 0x14]
lea ecx, [ebp - 0x16]
call fcn.0044fae0
mov ecx, eax
call fcn.00401e00
mov dword [esp], eax
call fcn.00401450
mov eax, dword [ebp - 0x50]
test byte [eax + 4], 1
je 0x44c816
lea eax, [ebp - 0x28]
mov dword [esp], eax
call fcn.0044fb90
lea ecx, [ebp - 0x28]
call fcn.0044fbb0
mov dword [esp], eax
call fcn.004153f0
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x42]
mov dword [esp], eax
call fcn.0044fbc0
lea ecx, [ebp - 0x42]
call fcn.0044fbe0
mov ecx, dword [ebp - 0x58]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00428d30
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x48]
xor ecx, ecx
mov dword [esp], eax
mov dword [esp + 4], 0
call dword [ebp - 0x1c]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x48]
xor ecx, ecx
mov dword [esp], eax
mov dword [esp + 4], 0
call dword [ebp - 0x1c]
mov ecx, eax
mov eax, dword [ebp - 0x54]
cmp eax, ecx
je 0x44c805
mov byte [ebp - 1], 0
jmp 0x44c81a
cmp dword [ebp - 0x4c], 0
setne al
and al, 1
mov byte [ebp - 1], al
jmp 0x44c81a
mov byte [ebp - 1], 1
mov al, byte [ebp - 1]
and al, 1
movzx eax, al
add esp, 0x60
pop ebp
ret

Function at 0x44ee30
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
lea ecx, [ebp - 1]
call fcn.0044f2d0
mov ecx, eax
call fcn.00401a80
mov dword [esp], eax
call fcn.00401450
lea ecx, [ebp - 2]
call fcn.0044f380
mov ecx, eax
call fcn.00401b50
mov dword [esp], eax
call fcn.00401450
mov eax, dword [0x4939ba]
mov dword [ebp - 6], eax
lea ecx, [ebp - 7]
call fcn.0044f430
mov ecx, eax
call fcn.00401c20
mov dword [esp], eax
call sub.msvcrt.dll_getenv
cmp eax, 0
je 0x44eed3
lea eax, [ebp - 6]
mov dword [esp], eax
call fcn.00401c40
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x44eed0
lea ecx, [ebp - 0xd]
call fcn.0044f4e0
mov ecx, eax
call fcn.00401b50
mov dword [esp], eax
call fcn.00401c50
xor eax, eax
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_GlobalFlags]
sub esp, 4
call dword [ebp - 0xc]
lea ecx, [ebp - 0xe]
call fcn.0044f590
mov ecx, eax
call fcn.00401e00
mov dword [esp], eax
call fcn.00401450
mov eax, dword [0x4a1504]
mov ecx, dword [ebp + 8]
mov dword [esp], ecx
call eax
add esp, 0x10
pop ebp
ret
Function at 0x45b050
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 8]
and ecx, 0xffffffff
mov dword [eax], ecx
mov dword [ebp - 8], 1
cmp dword [ebp - 8], 0x270
jae 0x45b0c8
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
sub ecx, 1
mov ecx, dword [eax + ecx*4]
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 8]
sub ecx, 1
mov eax, dword [eax + ecx*4]
mov dword [esp], eax
call fcn.0045b0e0
mov ecx, dword [ebp - 0x10]
mov edx, eax
mov eax, dword [ebp - 0xc]
xor ecx, edx
imul edx, ecx, 0x6c078965
add edx, dword [ebp - 8]
and edx, 0xffffffff
mov ecx, dword [ebp - 8]
mov dword [eax + ecx*4], edx
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
jmp 0x45b071
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x9c0], 0
add esp, 0x14
pop ebp
ret 4

Function at 0x45b4a0
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov dword [ebp - 0x20], eax
mov eax, dword [eax + 0x9c0]
add eax, 1
mov ecx, 0x270
xor edx, edx
div ecx
mov eax, dword [ebp - 0x20]
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], 0x7fffffff
mov ecx, dword [eax + 0x9c0]
mov ecx, dword [eax + ecx*4]
and ecx, 0x80000000
mov edx, dword [ebp - 8]
mov edx, dword [eax + edx*4]
and edx, 0x7fffffff
or ecx, edx
mov dword [ebp - 0x10], ecx
mov eax, dword [eax + 0x9c0]
add eax, 0x18d
mov ecx, 0x270
xor edx, edx
div ecx
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x14], edx
mov ecx, dword [ebp - 0x14]
mov eax, dword [eax + ecx*4]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call fcn.0045b5c0
mov edx, dword [ebp - 0x28]
mov ecx, eax
mov eax, dword [ebp - 0x20]
xor edx, ecx
mov ecx, dword [ebp - 0x10]
and ecx, 1
imul ecx, ecx, 0x9908b0df
xor edx, ecx
mov ecx, dword [eax + 0x9c0]
mov dword [eax + ecx*4], edx
mov ecx, dword [eax + 0x9c0]
mov ecx, dword [eax + ecx*4]
mov dword [ebp - 0x24], ecx
mov ecx, dword [eax + 0x9c0]
mov eax, dword [eax + ecx*4]
mov dword [esp], eax
call fcn.0045b5d0
mov ecx, dword [ebp - 0x24]
mov edx, eax
mov eax, dword [ebp - 0x20]
and edx, 0xffffffff
xor ecx, edx
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp - 8]
mov dword [eax + 0x9c0], ecx
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
call fcn.0045b5e0
and eax, 0x9d2c5680
xor eax, dword [ebp - 0x18]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
call fcn.0045b600
and eax, 0xefc60000
xor eax, dword [ebp - 0x18]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
call fcn.0045b620
mov ecx, eax
mov eax, dword [ebp - 0x1c]
xor eax, ecx
add esp, 0x2c
pop ebp
ret
Function at 0x463db0
Capabilities:
Query environment variable

Disassembly:
push ebp
push ebx
push edi
push esi
mov ebp, dword [esp + 0x1c]
mov ebx, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
call fcn.0046a5d0
test al, al
je 0x463df7
mov esi, dword [fcn.00463f40]
push 2
call esi
add esp, 4
push ebp
push ebx
push edi
push str.libunwind:__Unwind_SetGR_context_p__reg_d__value0x_0x__n
push eax
call fcn.00463510
add esp, 0x14
push 2
call esi
add esp, 4
push eax
call sub.msvcrt.dll_fflush
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
jmp fcn.0046a6c0
Function at 0x469ff0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
push ebx
push edi
push esi
mov eax, dword [esp + 0x18]
cmp eax, 3
ja case.default.0x46a001
jmp dword [eax*4 + 0x497640]
cmp dword [0x49e2b8], 0
je 0x46a110
push 0x49e2bc
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [0x49e2d4]
test edi, edi
je 0x46a105
mov ebx, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebp, dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x46a04b
mov edi, dword [edi + 8]
test edi, edi
je 0x46a105
push dword [edi]
call ebx
mov esi, eax
call ebp
test eax, eax
jne 0x46a040
test esi, esi
je 0x46a040
mov ecx, dword [edi + 4]
call dword [0x49c59c]
push esi
call ecx
add esp, 4
jmp 0x46a040
call fcn.00462bc0
jmp case.default.0x46a001
cmp dword [0x49e2b8], 0
je case.default.0x46a001
push 0x49e2bc
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [0x49e2d4]
test edi, edi
je 0x46a0f8
mov ebx, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebp, dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x46a0b7
mov edi, dword [edi + 8]
test edi, edi
je 0x46a0f8
push dword [edi]
call ebx
mov esi, eax
call ebp
test eax, eax
jne 0x46a0b0
test esi, esi
je 0x46a0b0
mov ecx, dword [edi + 4]
call dword [0x49c59c]
push esi
call ecx
add esp, 4
jmp 0x46a0b0
cmp dword [0x49e2b8], 0
jne 0x46a0ec
push 0x49e2bc
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [0x49e2b8], 1
jmp case.default.0x46a001
push 0x49e2bc
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp case.default.0x46a001
push 0x49e2bc
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [0x49e2b8]
cmp eax, 1
jne case.default.0x46a001
mov eax, dword [0x49e2d4]
test eax, eax
je 0x46a142
nop word cs:[eax + eax]
mov esi, dword [eax + 8]
push eax
call fcn.0048e256
add esp, 4
mov eax, esi
test esi, esi
jne 0x46a130
mov dword [0x49e2d4], 0
mov dword [0x49e2b8], 0
push 0x49e2bc
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov eax, 1
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x46a270
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
push edi
push esi
mov esi, dword [0x48f004]
movzx ecx, word [esi]
xor eax, eax
cmp ecx, 0x5a4d
jne 0x46a2d6
mov ecx, dword [esi + 0x3c]
cmp dword [esi + ecx], 0x4550
jne 0x46a2d6
add esi, ecx
movzx ecx, word [esi + 0x18]
cmp ecx, 0x10b
jne 0x46a2d6
movzx ecx, word [esi + 6]
test ecx, ecx
je 0x46a2d6
mov edx, dword [esp + 0xc]
sub edx, dword [0x48f004]
movzx edi, word [esi + 0x14]
add esi, edi
add esi, 0x18
jmp 0x46a2c6
add esi, 0x28
dec ecx
je 0x46a2d6
mov edi, dword [esi + 0xc]
cmp edi, edx
ja 0x46a2c0
add edi, dword [esi + 8]
cmp edi, edx
jbe 0x46a2c0
mov eax, esi
pop esi
pop edi
ret