Function at 0x402bb0
Capabilities:
Hash data with md5
Terminate process

Disassembly:
sub esp, 0x370
mov eax, dword [str.0x12345]
mov ecx, dword [0x430644]
mov dword [esp], eax
mov eax, dword [esp + 0x374]
push ebx
push esi
cmp eax, 2
push edi
mov dword [esp + 0x10], ecx
jne 0x402f79
mov eax, dword [esp + 0x384]
or ecx, 0xffffffff
lea edx, [esp + 0xc]
push str._n
mov edi, dword [eax + 4]
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.004227e7
push str._Generic_IAR_Keygen_by_mr._paranoid_and_xor37h__n
call fcn.004227e7
push str._n_n
call fcn.004227e7
mov eax, dword [0x430070]
add esp, 0xc
xor ebx, ebx
test eax, eax
jle 0x402f6f
push ebp
mov ebp, 0x430078
mov ecx, 0x20
xor eax, eax
mov edi, 0x450650
lea edx, [esp + 0x74]
rep stosd dword es:[edi], eax
mov ecx, 0xa
lea edi, [esp + 0x74]
rep stosd dword es:[edi], eax
mov ecx, 0xa
lea edi, [esp + 0x9c]
rep stosd dword es:[edi], eax
mov eax, dword [ebp]
mov edi, dword [ebp + 4]
mov ecx, eax
and ecx, 0x40000
sub eax, ecx
or ecx, 0xffffffff
mov dword [0x430168], eax
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x9c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [ebp + 8]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [ebp + 0xc]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, 0x450650
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0x4c]
and ecx, 3
push edx
rep movsb byte es:[edi], byte [esi]
mov dword [esp + 0x3c], eax
xor ecx, ecx
mov dword [esp + 0x40], eax
mov dword [esp + 0x50], ecx
mov dword [esp + 0x44], eax
mov dword [esp + 0x54], ecx
mov dword [esp + 0x48], eax
mov dword [esp + 0x58], ecx
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x3c]
mov dword [esp + 0x5c], ecx
push eax
mov dword [esp + 0x64], ecx
call fcn.00402930
lea ecx, [esp + 0x54]
push ecx
push str.Installserial:__s_n
call fcn.004227e7
xor edx, edx
mov dword [esp + 0x28], edx
lea eax, [esp + 0x28]
lea ecx, [esp + 0x48]
mov dword [esp + 0x2c], edx
push eax
push ecx
mov dword [esp + 0x38], edx
call fcn.00402ad0
xor edx, edx
mov ecx, 0x4b
xor eax, eax
lea edi, [esp + 0xdc]
mov dword [esp + 0x40], edx
rep stosd dword es:[edi], eax
mov dword [esp + 0x44], edx
mov ecx, 0x32
lea edi, [esp + 0x2d0]
mov dword [esp + 0x48], edx
rep stosd dword es:[edi], eax
mov word [esp + 0x4c], dx
lea eax, [esp + 0x40]
mov byte [esp + 0x4e], dl
lea ecx, [esp + 0x30]
push eax
lea edx, [esp + 0x2c]
push ecx
lea eax, [esp + 0xbc]
push edx
lea ecx, [esp + 0x98]
push eax
push ecx
push 0xfb
call fcn.00401050
lea edx, [esp + 0xf4]
lea eax, [esp + 0x48]
push edx
lea ecx, [esp + 0x5c]
push eax
lea edx, [esp + 0xd4]
push ecx
lea eax, [esp + 0xb0]
push edx
lea ecx, [esp + 0x50]
push eax
push ecx
call fcn.004021d0
lea edi, [esp + 0x10c]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x48
xor esi, esi
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x402ea1
cmp byte [esp + esi + 0xc4], 0x23
je 0x402e14
lea edi, [esp + 0xc4]
or ecx, 0xffffffff
xor eax, eax
inc esi
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp esi, ecx
jb 0x402def
jmp 0x402ea1
mov ecx, 0x32
xor eax, eax
lea edi, [esp + 0x1f0]
lea edx, [esp + 0xc4]
rep stosd dword es:[edi], eax
push esi
lea eax, [esp + 0x1f4]
push edx
push eax
call fcn.00422270
lea edi, [esp + esi + 0xd0]
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x2b8]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0xc4]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x32
lea edi, [esp + 0xc4]
rep stosd dword es:[edi], eax
lea edi, [esp + 0x1f0]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
xor ecx, ecx
lea edx, [esp + 0x24]
mov dword [esp + 0x60], ecx
push edx
mov dword [esp + 0x68], ecx
lea eax, [esp + 0x14]
mov dword [esp + 0x6c], ecx
push 0x43058c
mov dword [esp + 0x74], ecx
push eax
mov dword [esp + 0x7c], ecx
call fcn.004227b3
mov ecx, dword [esp + 0x30]
lea edx, [esp + 0x6c]
push ecx
push str.0004_08X
push edx
call fcn.00422215
lea eax, [esp + 0x78]
lea ecx, [esp + 0x30]
push eax
lea edx, [esp + 0x54]
push ecx
lea eax, [esp + 0xbc]
push edx
lea ecx, [esp + 0x98]
push eax
lea edx, [esp + 0xec]
push ecx
push edx
call fcn.00401fe0
lea edi, [esp + 0x2e8]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xf4]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push str.Key:_n
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.004227e7
lea eax, [esp + 0xf8]
push eax
push str._s_n_n
call fcn.004227e7
mov eax, dword [0x430070]
add esp, 0x3c
inc ebx
add ebp, 0x10
cmp ebx, eax
jl 0x402c3d
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x370
ret
push str.Arguments_is_2nd_part_of_site_code__like_0x1ABCD_n
call fcn.004227e7
add esp, 4
push 0xffffffffffffffff
call fcn.004226de
nop
nop
nop