Function at 0x405e49
Capabilities:
Authenticate hmac
Check os version
Encrypt data using speck
Get number of processors
Inspect section memory permissions
Parse credit card information
Resolve function by parsing pe exports

Disassembly:
xor edi, dword [ebp - 0x50]
or dword [ebp - 0x44], 0x6e8
and edi, edx
mov eax, dword [ebp - 0x38]
mov edi, ebx
mov dword [eax], 0x30006
cmp dword [ebp - 0x40], 0x400002
jne 0x40594f
int3
mov ecx, dword [ebp - 0x38]
cmp dword [ebp - 0x54], 0x400002
jne 0x405973
mov eax, 0x41a2f2
call fcn.00407e2d
sub esp, 0x41a31b
mov eax, dword [0x41a202]
mov dword [ecx + 4], 0x40005
mov word [ebp - 0x50], 0x33a
sub esi, edx
mov edi, dword [ebp - 0x38]
and dword [ebp - 0x44], 0xffffffc2
mov dword [edi + 8], 0
add esi, dword [ebp - 0x10]
or edi, dword [ebp - 0x4c]
add edi, esi
mov edx, dword [ebp - 0x6c]
xor esi, dword [ebp - 0x4c]
add ecx, dword [ebp - 0x44]
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x34], esi
add dword [ebp - 0x54], 0
je 0x4059bc
mov esi, dword [esp + 0x20]
add ecx, ecx
lea edx, [eax + 0x644]
mov dword [ebp - 0x6c], edx
sub ebx, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x60]
lea ecx, [ecx + 0x60]
push ecx
push dword [ebp - 0x6c]
call fcn.00403e4e
mov ecx, dword [ebp - 0x60]
lea ecx, [ecx + 0x68]
push ecx
push dword [ebp - 0xc]
call fcn.00403e4e
add dword [ebp - 0x54], 0
je 0x4059fc
repne scasb al, byte es:[edi]
neg ecx
add ecx, ebx
mov edi, esi
mov esi, dword [ebp + 0xc]
repe cmpsb byte [esi], byte es:[edi]
cmp dword [ebp - 0x40], 0x400002
jne 0x405a0d
push dword [ebp - 0x60]
and dword [ebp - 0x28], eax
cmp dword [ebp - 0x40], 1
je 0x405a35
cmp dword [0x41a342], 3
jne 0x409188
mov dword [ebp - 0x1c], ebx
cmp esi, 0xffffffe0
ja 0x4100c7
call fcn.00413323
mov edx, dword [ebp - 0x6c]
mov edi, dword [ebp - 0xc]
or ebx, dword [ebp - 0x34]
lea edx, [edi + 0xc40]
mov dword [ebp - 0x6c], edx
cmp dword [ebp - 0x40], 0x400002
jne 0x405a7c
lea ecx, [ebp - 0x1360]
lea ecx, [ebp - 0x1360]
lea ecx, [ebp - 0x1360]
lea ecx, [ebp - 0x1360]
lea ecx, [ebp - 0x1360]
lea ecx, [ebp - 0x1360]
push dword [ebp - 0x6c]
test dword [ebp - 0x54], 0
je 0x405a94
call fcn.004139d5
mov al, byte [esp + 0x13]
push dword [ebp - 0xc]
sub edi, eax
call fcn.00412644
cmp dword [ebp - 0x40], 1
je 0x405aba
and eax, ecx
cmp dword [ebp - 0x54], 0
je 0x405acf
push dword [esp + 0x10]
mov eax, dword [esi]
push dword [esp + 0x10]
mov edi, dword [ebp - 0x6c]
or eax, ecx
or dword [ebp - 0x6c], edi
jne 0x405b04
cmp dword [ebp - 0x54], 0x400002
jne 0x405afc
jne 0x405a70
mov eax, 0x41a535
cmp dword [esp + 0x20], 0
jne 0x405b01
mov eax, 0x41a4e6
jmp 0x4063e9
sub ecx, dword [ebp - 0x10]
mov esi, dword [ebp - 0xc]
lea esi, [esi + 0x9c]
push esi
push dword [ebp - 0x6c]
call fcn.00403e4e
mov ebx, dword [ebp - 0x5c]
lea ebx, [ebx - 0x7c]
push ebx
push dword [ebp - 0x60]
call fcn.00403e4e
xor dword [ebp - 0x50], edx
mov ebx, dword [ebp - 0x60]
mov ecx, dword [ebp - 0x5c]
lea ebx, [ecx - 0x74]
mov dword [ebp - 0x60], ebx
cmp dword [ebp - 0x54], 0
je 0x405b44
mov byte [ebp - 0x54], al
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x6c]
push ecx
mov ecx, dword [ebp - 0x5c]
push dword [ecx - 0x7c]
call fcn.00403e4e
cmp dword [ebp - 0x40], 0x400002
jne 0x405b62
add dword [ebp - 0x68], edx
and eax, ebx
mov ecx, dword [ebp - 0x6c]
mov word [ebp - 0x50], 0xf7a
add dword [ebp - 0x54], 0
je 0x405b7f
mov eax, dword [ebp + 0x3e8]
mov edx, dword [ebp - 0x6c]
test dword [ebp - 0x54], 0
je 0x405ba1
push dword [esi + 0x3c]
call fcn.00414781
pop ecx
pop ecx
mov eax, dword [esi + 0x40]
cmp eax, dword [0x41a495]
lea ecx, [edx + 0x24]
mov dword [ebp - 0x6c], ecx
mov ecx, dword [ebp - 0x60]
lea ecx, [ecx + 4]
push ecx
push dword [ebp - 0x6c]
call fcn.00403e4e
or dword [ebp - 0x50], edi
or dword [ebp - 0x28], edx
lea ecx, [ebp - 0x6c]
push ecx
mov ecx, dword [ebp - 0xc]
push dword [ecx + 0x9c]
call fcn.00403e4e
mov ebx, dword [ebp - 0x60]
lea ebx, [ebx + 8]
push ebx
push dword [ebp - 0x6c]
call fcn.00403e4e
and eax, esi
cmp dword [ebp - 0x40], 0x400002
jne 0x405bfd
jne 0x405c4b
and dword [ebp - 4], eax
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x224]
mov ebx, dword [ebp - 0x60]
xor edx, edi
mov edx, esi
mov dword [ebx + 0xc], 2
lea edi, [esi + ebx*2 - 0x2e]
or eax, esi
sub edx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x38]
and ecx, dword [ebp - 0x24]
mov esi, dword [ebp - 0x60]
lea edx, [esi + 0x10]
mov dword [ebp - 0x38], edx
or edx, esi
or edi, dword [ebp - 0x24]
cmp dword [ebp - 0x40], 1
je 0x405c3e
or esi, eax
mov eax, 0x41a223
test dword [ebp + 8], eax
mov edi, dword [ebp - 0x38]
mov dword [edi], 0xb9e7881
add dword [ebp - 0x28], 0x58
and dword [ebp - 0x68], 0xffffffca
add dword [ebp - 0x44], 0x13
sub ebx, edi
mov esi, dword [ebp - 0x38]
and ecx, dword [ebp - 0x1c]
mov dword [esi + 4], 0
add esi, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebp - 0x60]
cmp dword [ebp - 0x54], 0x58
jne 0x405c85
push dword [eax + 0x14]
mov eax, dword [ebp + 0xc]
push dword [eax + 0xc]
push 0
push dword [ebp + 0x10]
lea ecx, [edx + 0x38]
mov dword [ebp - 0x38], ecx
cmp dword [ebp - 0x40], 0x400002
jne 0x405cad
call fcn.0040e4fb
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x137c], bl
lea ecx, [eax + 0xc]
add dword [ebp - 0x2c], ebx
mov edx, dword [ebp - 0x38]
or ebx, dword [ebp - 0x74]
cmp dword [ebp - 0x40], 1
je 0x405cce
lea ecx, [ecx]
mov al, byte [esi + 3]
mov byte [edi + 3], al
mov al, byte [esi + 2]
mov byte [edi + 2], al
mov dword [edx], 0x20005
xor ecx, ebx
mov ebx, dword [ebp - 0x38]
mov dword [ebx + 4], 0
sub edi, dword [ebp - 0x4c]
xor word [ebp - 0x18], 0xb0f
mov edi, dword [ebp - 0x6c]
mov eax, dword [ebp - 0xc]
add ebx, eax
cmp dword [ebp - 0x40], 0xfffffff3
jne 0x405d0b
je 0x405ccb
mov eax, dword [edi]
test byte [eax + esi + 4], 0x48
je 0x405cf2
mov al, byte [ebp - 1]
lea edi, [eax + 0x64c]
mov dword [ebp - 0x6c], edi
lea ecx, [eax - 0x74]
cmp dword [ebp - 0x54], 0
je 0x405d27
pop ecx
pop ecx
cmp eax, 0xffffffff
je 0x405d22
mov ebx, dword [ebp - 0x60]
lea ebx, [ebx + 0x60]
push ebx
push dword [ebp - 0x6c]
call fcn.00403e4e
add edi, ebx
mov eax, ecx
mov esi, dword [ebp - 0x60]
lea esi, [esi + 0x68]
push esi
push dword [ebp - 0xc]
call fcn.00403e4e
xor eax, dword [ebp - 0x48]
add word [ebp - 0x68], 0x5e5
push dword [ebp - 0x60]
lea edx, [edx + 0x922]
mov edx, 0x3eb55017
mov edx, edi
cmp dword [ebp - 0x54], 0
je 0x405d74
inc eax
test bl, 8
je 0x405d36
or eax, 4
call fcn.00413323
add eax, esi
mov edi, dword [ebp - 0x6c]
mov ebx, dword [ebp - 0xc]
lea eax, [ecx - 0x3e]
mov byte [ebp - 0x74], 0x36
lea edi, [ebx + 0xc58]
mov dword [ebp - 0x6c], edi
cmp dword [ebp - 0x40], 1
je 0x405da3
or dword [ebp - 0x48], eax
xor dword [ebp - 0x50], edi
push dword [ebp - 0x6c]
or ebx, eax
xor ebx, dword [ebp - 0x50]
cmp dword [ebp - 0x40], 1
je 0x405dc1
shr ecx, 2
jne 0x405e2e
mov byte [edi], al
push dword [ebp - 0xc]
call fcn.00412644
mov byte [ebp - 0x44], 0x6d
mov eax, dword [ebp - 0x6c]
add edx, edi
add ebx, esi
or dword [ebp - 0x6c], eax
jne 0x405dfb
add dword [ebp - 0x54], 0
je 0x405df1
mov eax, dword [ebp + 0x18]
push dword [eax]
mov ecx, dword [ebp + 8]
push dword [eax + 4]
jmp 0x4063e9
mov esi, dword [ebp - 0xc]
lea esi, [esi + 0xa0]
push esi
push dword [ebp - 0x6c]
call fcn.00403e4e
mov ecx, dword [ebp - 0x5c]
lea ecx, [ecx - 0x80]
push ecx
push dword [ebp - 0x60]
call fcn.00403e4e
add dword [ebp - 0x1c], 0x363
add ecx, ebx
cmp dword [ebp - 0x40], 1
je 0x405e3d
and eax, 0x8000
and ecx, edi
mov dword [ebp + 0xc], eax
mov eax, dword [edx + 4]
mov edx, dword [edx]
mov ecx, dword [ebp - 0x60]
cmp dword [ebp - 0x40], 0x54
jne 0x405e4d
add byte [eax], al
add byte [eax], al
mov esi, dword [ebp - 0x5c]
and edi, dword [ebp - 0x64]
add dword [ebp - 0x24], edi
lea ecx, [esi - 0x74]
mov dword [ebp - 0x60], ecx
xor edi, dword [ebp - 0x28]
xor dword [ebp - 0x44], 0xffffffcb
lea edx, [ebp - 0x6c]
push edx
mov edx, dword [ebp - 0x5c]
push dword [edx - 0x80]
call fcn.00403e4e
add edi, dword [ebp - 0x18]
and edi, dword [ebp - 0x34]
and ecx, esi
mov esi, dword [ebp - 0x6c]
mov word [ebp - 0x20], 0x993
xor edi, dword [ebp - 0x28]
mov edx, dword [ebp - 0x6c]
sub eax, ebx
and ecx, dword [ebp - 0x44]
lea esi, [edx + 0x24]
mov dword [ebp - 0x6c], esi
mov ebx, dword [ebp - 0x60]
lea ebx, [ebx + 4]
push ebx
push dword [ebp - 0x6c]
call fcn.00403e4e
cmp dword [ebp - 0x40], 1
je 0x405eb2
je 0x405e89
cmp bx, 0x45
lea edi, [ebp - 0x6c]
push edi
mov edi, dword [ebp - 0xc]
push dword [edi + 0xa0]
call fcn.00403e4e
mov eax, dword [ebp - 0x60]
lea eax, [eax + 8]
push eax
push dword [ebp - 0x6c]
call fcn.00403e4e
cmp dword [ebp - 0x40], 1
je 0x405eea
inc eax
mov eax, dword [esi + 4]
or eax, dword [ebp - 0x1c]
push 0
sub ebx, esi
sub ebx, edx
lea esi, [ecx]
lea edx, [ebx + 0x513]
push 0xffffffff
mov byte [ebp - 0x20], 0x77
sub edx, esi
add eax, 0x2bd0
or ecx, dword [ebp - 0x58]
mov edx, dword [ebp - 0x60]
mov ecx, dword [ebp - 0xc]
add ecx, 0x5c8
call dword [ecx]
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x60], edx
or esi, dword [ebp - 0x64]
call fcn.00408693
lea ebx, [ecx - 0xcc]
mov dword [ebp - 0x6c], ebx
push dword [ebp - 0x6c]
cmp dword [ebp - 0x54], 0
je 0x4091a8
mov eax, dword [ebp - 0x135c]
push 0x40
xor esi, dword [ebp - 0x48]
cmp dword [ebp - 0x54], 0
je 0x4091c2
lea ecx, [esp + 0x38]
call fcn.00413fae
cmp dword [ebp - 0x40], 0x400002
jne 0x4091d0
mov edi, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0x5c]
lea edx, [eax + ecx*2 + 0x2a]
lea edi, [ecx - 0xc8]
mov dword [ebp - 0x6c], edi
cmp dword [ebp - 0x54], 0x400002
jne 0x4091f2
and dword [ebp - 0x44], ecx
add edi, 0x60b7
push dword [ebp - 0x6c]
cmp dword [ebp - 0x40], 1
je 0x409215
jne 0x40922e
and dword [0x41a48a], 0
mov ecx, dword [ebp - 4]
mov dword [eax], ecx
mov ebx, dword [ebp - 0x6c]
sub ecx, edi
or esi, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x5c]
cmp dword [ebp - 0x40], 1
je 0x40922f
call fcn.004156f5
pop ecx
lea ebx, [ecx - 0xc0]
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x10], ecx
and ebx, edx
push dword [ebp - 0x6c]
cmp dword [ebp - 0x54], 0x400002
jne 0x409269
lea ecx, [esp + 0x18]
and ebx, 0x41a397
call fcn.004121ae
test bh, 4
mov dword [esp + 0x137c], 0xffffffff
xor edx, dword [ebp - 0x58]
push 0xffffffff
mov edx, dword [ebp - 0x60]
mov edx, dword [ebp - 0xc]
add edx, 0x638
call dword [edx]
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x60], edx
add dword [ebp - 0x44], ecx
test dword [ebp - 0x54], 0
je 0x4092a9
mov byte [ebp - 0x2f1], 1
cmp bx, 0x2b
jne 0x40930b
dec dword [ebp - 0x2e4]
jne 0x4092cd
or edx, eax
or ebx, dword [ebp - 0x24]
mov ebx, dword [ebp - 0x6c]
or dword [ebp - 0x6c], ebx
jne 0x409511
mov ecx, dword [ebp - 0x60]
mov ecx, dword [esp]
add dword [ebp - 0x54], 0
je 0x4092cf
mov al, byte [esp + 0x13]
test al, al
mov dword [ebp - 0x60], ecx
xor esi, dword [ebp - 0x20]
mov eax, dword [ebp - 0x5c]
cmp dword [ebp - 0x40], 1
je 0x4092f0
mov edi, dword [0x41a56d]
push ecx
push eax
call edi
test eax, eax
mov dword [esi + 0x14], eax
push dword [eax - 0xbc]
mov edi, eax
add dword [ebp - 0x54], 0
je 0x40930c
pop ebp
mov eax, dword [esp + 4]
cmp dword [eax + 8], 0
push esi
push edi
push dword [ebp - 0x60]
mov edi, dword [ebp - 0x5c]
cmp dword [ebp - 0x54], 0x400002
jne 0x40932a
push dword [edi - 0xc4]
cmp dword [ebp - 0x54], 0
je 0x409346
push ecx
push edi
push eax
push 0x41a4f5
mov ebx, 0x41a39a
call fcn.004177d4
mov byte [ebp - 0x48], 0x47
cmp dword [ebp - 0x54], 0
je 0x40936b
test eax, eax
jne 0x409341
push 0x41a1cc
call 0x404bea
mov esi, 0x41a26c
lea ecx, [ebp - 0x6c]
push ecx
mov ecx, dword [ebp - 0x5c]
push dword [ecx - 0xc4]
call fcn.00403e4e
mov edx, dword [ebp - 0x5c]
lea edx, [edx - 0xc0]
push edx
push dword [ebp - 0x6c]
call fcn.00403e4e
cmp dword [ebp - 0x54], 0x400002
jne 0x40939e
push esi
mov esi, dword [ecx]
mov ebx, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0x5c]
cmp dword [ebp - 0x40], 0x1b
jne 0x4093b2
mov eax, dword [esi]
cmp eax, 0xffffffff
lea ebx, [ecx - 0xcc]
mov dword [ebp - 0x6c], ebx
cmp dword [ebp - 0x40], 1
je 0x4093c5
push eax
and dword [ebp - 0x58], 0x1d
push dword [ebp - 0x6c]
mov edx, dword [ebp - 0x5c]
mov dword [ebp - 0x4c], ebx
push dword [edx - 0xcc]
and edx, eax
and dword [ebp - 0x18], edx
cmp dword [ebp - 0x54], 3
jne 0x4093f6
mov edi, dword [ebp - 0x6c]
add eax, 0x6810
mov esi, dword [ebp - 0x5c]
and ecx, edx
lea edi, [esi - 0xc8]
mov dword [ebp - 0x6c], edi
or dword [ebp - 0x18], edx
cmp dword [ebp - 0x54], 0xffffff85
jne 0x409428
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
movzx ecx, word [ecx]
push dword [ebp - 0x6c]
cmp dword [ebp - 0x40], 1
je 0x40943b
mov esi, dword [ebp - 0x6c]
sub edx, dword [ebp - 0x34]
xor dword [ebp - 0x2c], 0xffffffbe
mov ecx, dword [ebp - 0x5c]
cmp dword [ebp - 0x40], 0xffffff9e
jne 0x409461
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x21c]
push eax
push edi
push esi
lea esi, [ecx - 0xc0]
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x2c], edx
sub ebx, edx
xor edx, dword [ebp - 0x50]
cmp dword [ebp - 0x54], 0x13
jne 0x409484
sub eax, esi
sar eax, 1
cmp eax, 0xffffffff
je 0x409489
push dword [ebp - 0x6c]
xor esi, edi
add eax, dword [ebp - 0x28]
xor ecx, dword [ebp - 0x44]
push 0xffffffff
and edx, dword [ebp - 0x18]
or dword [ebp - 0x1c], ecx
test dword [ebp - 0x54], 0
je 0x4094af
lea ecx, [esi - 0x20]
shr ebx, cl
lea ecx, [esi + eax + 4]
mov edx, dword [ebp - 0x60]
mov ebx, dword [ebp - 0xc]
add ebx, 0x638
call dword [ebx]
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x60], edx
lea esi, [edx + 0x28b]
lea esi, [ebp - 0x6c]
push esi
mov esi, dword [ebp - 0x5c]
push dword [esi - 0xc4]
call fcn.00403e4e
cmp dword [ebp - 0x40], 1
je 0x4094e9
mov eax, dword [0x41a411]
add esp, 4
xor edi, eax
cmp dword [ebp - 0x54], 0
je 0x40950e
inc eax
mov esp, dword [ebp - 0x18]
call fcn.0040bc7a
push 0x41a49a
call fcn.0040ae5c
pop ecx
push dword [ebp - 0x6c]
mov eax, dword fs:[0]
mov dword [ebp - 0x6c], eax
lea ecx, [ebp - 0x1360]
lea ecx, [ebp - 0x1360]
lea ecx, [ebp - 0x1360]
lea ecx, [ebp - 0x1348]
lea ecx, [ebp - 0x136c]
test dword [ebp - 0x54], 0
je 0x4135bc
mov eax, dword [ebp - 0x14]
push dword [eax]
or dword [ebp - 0x18], edx
mov edi, dword [ebp - 0x5c]
push dword [edi - 4]
call fcn.00416fa5
mov ecx, dword [ebp - 0x6c]
or dword [ebp - 0x6c], ecx
je 0x413747
cmp dword [ebp - 0x54], 0x400002
jne 0x4135ef
lea esi, [edi + edi]
push esi
add eax, 2
push eax
lea eax, [ebp - 0x60]
push eax
and ebx, ecx
push dword [ebp - 0x6c]
and eax, edx
mov eax, edx
mov eax, ecx
xor dword [ebp - 0x20], ecx
call fcn.00403e4e
mov ecx, edx
mov esi, dword [ebp - 0x38]
mov ebx, dword [ebp - 0xc]
sub eax, dword [ebp - 0x44]
xor dword [ebp - 0x50], 0x72
lea esi, [ebx + 0x38]
mov dword [ebp - 0x38], esi
cmp dword [ebp - 0x40], 1
je 0x413629
call fcn.0040dc82
lea ebx, [ebp - 0x38]
push ebx
mov ebx, dword [ebp - 0x5c]
push dword [ebx - 0x10]
call fcn.00403ed7
lea esi, [ebp - 0x38]
push esi
mov esi, dword [ebp - 0x38]
push dword [esi]
call fcn.00403e4e
xor esi, dword [ebp - 0x50]
mov edi, dword [ebp - 0x60]
xor ecx, esi
cmp word [edi], 0xff8b
jne 0x413675
add edi, 0xb4f5
mov edi, 0xff
and ebx, ecx
add eax, 0x5874
and dword [ebp - 0x38], edi
jmp 0x413698
mov edi, dword [ebp - 0x38]
shr edi, 0x10
mov dword [ebp - 0x38], edi
lea ebx, [edx - 0x44]
cmp dword [ebp - 0x40], 1
je 0x413698
call fcn.00408693
add esp, 0xc
push esi
push dword [esp + 0x10]
push edi
or dword [ebp - 0x2c], edx
add dword [ebp - 0x20], 0x6ce
push dword [ebp - 0x38]
or edi, dword [ebp - 0x4c]
xor dword [ebp - 0x4c], ecx
push dword [ebp - 0x70]
mov edx, dword [ebp - 0xc]
cmp dword [ebp - 0x40], 0xfffffffd
jne 0x4136bf
call fcn.00404f4f
push dword [edx + 8]
or dword [ebp - 0x24], 0xffffff82
and dword [ebp - 0x34], 0x448
push dword [ebp - 0x60]
xor ecx, dword [ebp - 0x74]
cmp dword [ebp - 0x40], 0xffffffaf
jne 0x4136ed
lea ecx, [esp + 0x18]
push esi
push ecx
mov dword [esp + 0x1388], 0x47
mov ebx, dword [ebp - 0x5c]
test dword [ebp - 0x54], 0
je 0x4136fe
int3
push dword [ebx - 4]
and dword [ebp - 0x44], 0x6d7
mov ecx, dword [ebp - 0xc]
push dword [ecx]
cmp dword [ebp - 0x54], 0xffffffba
jne 0x41371e
test esi, esi
je 0x4136e2
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
add dword [ebp - 0x54], 0
je 0x41372c
mov ecx, esi
push dword [eax + 0x64]
xor edi, dword [ebp - 0x74]
call fcn.00413970
add edx, dword [ebp - 0x58]
xor esi, dword [ebp - 0x48]
jmp 0x41374f
jmp 0x4137d3
xor ebx, dword [ebp - 0x28]
mov esi, 4
xor edi, dword [ebp - 0x68]
add dword [ebp - 0x14], esi
cmp dword [ebp - 0x40], 1
je 0x413779
cmp ecx, 0x20
mov ebx, 0x41a57b
jae 0x413775
shr ebx, cl
mov ecx, dword [ebp - 8]
lea ecx, [ecx + eax + 4]
sub edx, dword [ebp - 0x24]
xor edi, dword [ebp - 0x18]
add dword [ebp - 0x70], 4
cmp dword [ebp - 0x40], 0x400002
jne 0x4137a6
test eax, eax
jne 0x4137bc
mov eax, 0x41a20f
and dword [eax], 0
mov eax, 0x41a3bb
lea eax, [ecx + 0x24]
mov esi, dword [ebp - 0x5c]
add dword [ebp - 0x58], eax
add dword [esi - 0x10], 4
cmp dword [ebp - 0x54], 0
je 0x4137c3
mov dword [eax], edx
mov dword [esi + 0xc], eax
sub eax, dword [esi]
mov edi, dword [ebp - 0x14]
cmp dword [edi], 0
jne 0x41359d
or dword [ebp - 0x18], 0xb
mov byte [ebp - 0x48], 0x73
mov dword [ebp - 0x74], edx
mov esi, dword [ebp - 0x14]
lea edi, [ecx]
cmp dword [esi], 0
jne 0x41380e
add eax, edi
add dword [ebp - 0x48], eax
mov edx, dword [ebp - 0x5c]
mov dword [edx - 0xc], 1
cmp dword [ebp - 0x40], 0xffffff9c
jne 0x41380e
mov ecx, dword [ebp - 0x5c]
add word [ebp - 0x34], 0xfa5
mov dword [ecx - 8], 0
xor eax, edi
lea eax, [ebp - 0x60]
push eax
mov eax, dword [ebp - 0xc]
push dword [eax + 0x68]
call fcn.00403e4e
sub edi, dword [ebp - 0x18]
add dword [ebp - 0x44], esi
push 0x8000
or dword [ebp - 0x34], ebx
mov edx, dword [ebp - 0x6c]
and edi, dword [ebp - 0x48]
cmp dword [ebp - 0x40], 0xffffffa7
jne 0x413866
inc dword [ebp - 0x2e0]
call fcn.0040ce9d
mov ebx, eax
mov dword [ebp - 0x2f0], ebx
pop ecx
test di, bx
mov ebx, dword [ebp - 0x5c]
lea edx, [ebx - 8]
mov dword [ebp - 0x6c], edx
push dword [ebp - 0x6c]
test dword [ebp - 0x54], 0
je 0x413881
sub ecx, 4
cmp dword [ebp - 0x40], 0x400002
jne 0x41389d
jne 0x41390c
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x22c]
push ecx
push 4
mov esi, dword [ebp - 0x6c]
and word [ebp - 0x18], 0x6c4
or ecx, dword [ebp - 0x64]
mov eax, dword [ebp - 0x5c]
add edi, dword [ebp - 0x28]
lea esi, [eax - 4]
mov dword [ebp - 0x6c], esi
cmp dword [ebp - 0x54], 0
je 0x4138c6
add dh, dh
xchg esi, eax
inc ecx
add byte [eax], al
xchg edi, eax
inc ecx
push dword [ebp - 0x6c]
cmp dword [ebp - 0x54], 0x400002
jne 0x4138df
pop ebx
pop edi
pop esi
push esi
mov esi, ecx
cmp dword [esi + 0x1c], 0
xor ebx, dword [ebp - 0x34]
push 0xffffffff
xor eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x60]
mov ebx, dword [ebp - 0x60]
add ebx, 0x5a0
call dword [ebx]
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x60], edx
sub edx, edi
and word [ebp - 0x44], 0x931
pop dword [ebp - 0xc]
and ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x28], ebx
pop dword [ebp - 0x14]
cmp dword [ebp - 0x40], 0xffffffaf
jne 0x413920
call fcn.0040c9cd
pop dword [ebp - 0x70]
xor esi, dword [ebp - 0x74]
mov ecx, dword [ebp - 0x5c]
and dword [ebp - 0x50], edi
and edx, dword [ebp - 0x4c]
mov esp, ecx
and eax, ecx
cmp dword [ebp - 0x40], 0x400002
jne 0x413953
call dword [edx + 4]
mov eax, dword [esp + 0x70]
test eax, eax
mov edi, 0x41a1d4
je 0x405927
pop dword [ebp - 0x5c]
add ebx, dword [ebp - 0x1c]
and ebx, eax
ret 4