Function at 0x401f70
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xb4
mov eax, dword [0x47fa30]
xor eax, esp
mov dword [esp + 0xb0], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [esp + 0x10], eax
test esi, esi
je 0x4024a3
push 0
mov ecx, esi
call fcn.00408850
add esp, 4
mov bl, 0x54
lea ecx, [ecx]
mov byte [esp + 0x8c], 0x49
mov byte [esp + 0x8d], 0x48
mov byte [esp + 0x8e], 0x44
mov byte [esp + 0x8f], 0x52
mov byte [esp + 0x14], 0x49
mov byte [esp + 0x15], 0x44
mov byte [esp + 0x16], 0x41
mov byte [esp + 0x17], bl
mov byte [esp + 0xac], 0x49
mov byte [esp + 0xad], 0x45
mov byte [esp + 0xae], 0x4e
mov byte [esp + 0xaf], 0x44
mov byte [esp + 0x1c], 0x50
mov byte [esp + 0x1d], 0x4c
mov byte [esp + 0x1e], bl
mov byte [esp + 0x1f], 0x45
mov byte [esp + 0x3c], 0x62
mov byte [esp + 0x3d], 0x4b
mov byte [esp + 0x3e], 0x47
mov byte [esp + 0x3f], 0x44
mov byte [esp + 0x7c], 0x63
mov byte [esp + 0x7d], 0x48
mov byte [esp + 0x7e], 0x52
mov byte [esp + 0x7f], 0x4d
mov byte [esp + 0x4c], 0x67
mov byte [esp + 0x4d], 0x41
mov byte [esp + 0x4e], 0x4d
mov byte [esp + 0x4f], 0x41
mov byte [esp + 0x9c], 0x68
mov byte [esp + 0x9d], 0x49
mov byte [esp + 0x9e], 0x53
mov byte [esp + 0x9f], bl
mov byte [esp + 0x54], 0x69
mov byte [esp + 0x55], 0x43
mov byte [esp + 0x56], 0x43
mov byte [esp + 0x57], 0x50
mov byte [esp + 0xb4], 0x69
mov byte [esp + 0xb5], bl
mov byte [esp + 0xb6], 0x58
mov byte [esp + 0xb7], 0x74
mov byte [esp + 0x5c], 0x6f
mov byte [esp + 0x5d], 0x46
mov byte [esp + 0x5e], 0x46
mov byte [esp + 0x5f], 0x73
mov byte [esp + 0x24], 0x70
mov byte [esp + 0x25], 0x43
mov byte [esp + 0x26], 0x41
mov byte [esp + 0x27], 0x4c
mov byte [esp + 0x2c], 0x70
mov byte [esp + 0x2d], 0x48
mov byte [esp + 0x2e], 0x59
mov byte [esp + 0x2f], 0x73
mov byte [esp + 0x34], 0x73
mov byte [esp + 0x35], 0x42
mov byte [esp + 0x36], 0x49
mov byte [esp + 0x37], bl
mov byte [esp + 0x6c], 0x73
mov byte [esp + 0x6d], 0x43
mov byte [esp + 0x6e], 0x41
mov byte [esp + 0x6f], 0x4c
mov byte [esp + 0x64], 0x73
mov byte [esp + 0x65], 0x50
mov byte [esp + 0x66], 0x4c
mov byte [esp + 0x67], bl
mov byte [esp + 0x44], 0x73
mov byte [esp + 0x45], 0x52
mov byte [esp + 0x46], 0x47
mov byte [esp + 0x47], 0x42
mov byte [esp + 0x74], 0x74
mov byte [esp + 0x75], 0x45
mov byte [esp + 0x76], 0x58
mov byte [esp + 0x77], 0x74
mov byte [esp + 0x84], 0x74
mov byte [esp + 0x85], 0x49
mov byte [esp + 0x86], 0x4d
mov byte [esp + 0x87], 0x45
mov byte [esp + 0x94], 0x74
mov byte [esp + 0x95], 0x52
mov byte [esp + 0x96], 0x4e
mov byte [esp + 0x97], 0x53
mov byte [esp + 0xa4], 0x7a
mov ecx, esi
mov byte [esp + 0xa5], bl
mov byte [esp + 0xa6], 0x58
mov byte [esp + 0xa7], 0x74
call fcn.004086f0
mov edi, eax
mov eax, dword [esi + 0x120]
cmp eax, dword [esp + 0x8c]
jne 0x4021ce
mov ecx, dword [esp + 0x10]
push edi
push ecx
mov ecx, esi
call fcn.00408f40
add esp, 8
jmp 0x402499
cmp eax, dword [esp + 0xac]
jne 0x40220f
mov eax, dword [esi + 0x6c]
test al, 1
je 0x4021e2
test al, 4
jne 0x4021f0
push str.No_image_in_file
push esi
call fcn.00408540
add esp, 8
or dword [esi + 0x6c], 0x18
test edi, edi
je 0x402202
mov ecx, str.Incorrect_IEND_chunk_length
call fcn.004085b0
push edi
mov ecx, esi
call fcn.00408850
jmp 0x402496
mov ecx, dword [esi + 0x21c]
test ecx, ecx
jle 0x40223c
lea edx, [ecx + ecx*4]
mov ecx, dword [esi + 0x220]
lea edx, [edx + ecx - 5]
mov ecx, dword [esi + 0x21c]
test ecx, ecx
je 0x40223c
cmp eax, dword [edx]
je 0x40226a
dec ecx
sub edx, 5
test ecx, ecx
jne 0x402230
cmp eax, dword [esp + 0x14]
jne 0x4022bd
test edi, edi
ja 0x40224f
test dword [esi + 0x6c], 0x2000
je 0x40225d
push str.Too_many_IDATs_found
push esi
call fcn.00408540
add esp, 8
push edi
mov ecx, esi
call fcn.00408850
jmp 0x402496
movzx ecx, byte [edx + 4]
test ecx, ecx
je 0x40223c
cmp eax, dword [esp + 0x14]
jne 0x402293
test edi, edi
ja 0x402285
test dword [esi + 0x6c], 0x2000
je 0x402293
push str.Too_many_IDATs_found
push esi
call fcn.00408540
add esp, 8
mov edx, dword [esp + 0x10]
push edx
mov ecx, edi
mov edx, esi
call fcn.0040b840
mov eax, dword [esi + 0x120]
add esp, 4
cmp eax, dword [esp + 0x1c]
jne 0x402499
or dword [esi + 0x6c], 2
jmp 0x402499
cmp eax, dword [esp + 0x1c]
jne 0x4022d6
mov ecx, dword [esp + 0x10]
push ecx
mov eax, edi
mov ecx, esi
call fcn.00409110
jmp 0x402496
cmp eax, dword [esp + 0x3c]
jne 0x4022ef
mov edx, dword [esp + 0x10]
push edx
mov ecx, edi
mov edx, esi
call fcn.0040a3a0
jmp 0x402496
cmp eax, dword [esp + 0x7c]
jne 0x402308
mov eax, dword [esp + 0x10]
push eax
mov ecx, edi
mov edx, esi
call fcn.00409520
jmp 0x402496
cmp eax, dword [esp + 0x4c]
jne 0x402321
mov ecx, dword [esp + 0x10]
push ecx
mov eax, edi
mov ecx, esi
call fcn.00409270
jmp 0x402496
cmp eax, dword [esp + 0x9c]
jne 0x40233d
mov edx, dword [esp + 0x10]
push edx
mov ecx, edi
mov edx, esi
call fcn.0040a5c0
jmp 0x402496
cmp eax, dword [esp + 0x5c]
jne 0x402356
mov eax, dword [esp + 0x10]
push eax
mov ecx, edi
mov edx, esi
call fcn.0040a810
jmp 0x402496
cmp eax, dword [esp + 0x24]
jne 0x40236f
mov ecx, dword [esp + 0x10]
push ecx
mov eax, edi
mov ecx, esi
call fcn.0040a920
jmp 0x402496
cmp eax, dword [esp + 0x6c]
jne 0x402388
mov edx, dword [esp + 0x10]
push edx
mov eax, edi
mov ecx, esi
call fcn.0040acb0
jmp 0x402496
cmp eax, dword [esp + 0x2c]
jne 0x4023a1
mov eax, dword [esp + 0x10]
push eax
mov ecx, edi
mov edx, esi
call fcn.0040a700
jmp 0x402496
cmp eax, dword [esp + 0x34]
jne 0x4023ba
mov ecx, dword [esp + 0x10]
push ecx
mov eax, edi
mov ecx, esi
call fcn.004093d0
jmp 0x402496
cmp eax, dword [esp + 0x44]
jne 0x4023d3
mov edx, dword [esp + 0x10]
push edx
mov eax, edi
mov ecx, esi
call fcn.00409920
jmp 0x402496
cmp eax, dword [esp + 0x54]
jne 0x4023ec
mov eax, dword [esp + 0x10]
push eax
mov eax, edi
mov ecx, esi
call fcn.00409b20
jmp 0x402496
cmp eax, dword [esp + 0x64]
jne 0x402405
mov ecx, dword [esp + 0x10]
push ecx
mov eax, edi
mov ecx, esi
call fcn.00409e00
jmp 0x402496
cmp eax, dword [esp + 0x74]
jne 0x402420
mov edx, dword [esp + 0x10]
push edi
push edx
mov eax, esi
call fcn.0040afe0
add esp, 8
jmp 0x402499
cmp eax, dword [esp + 0x84]
jne 0x402439
mov eax, dword [esp + 0x10]
push eax
mov ecx, edi
mov edx, esi
call fcn.0040aec0
jmp 0x402496
cmp eax, dword [esp + 0x94]
jne 0x402452
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, edi
mov edx, esi
call fcn.0040a190
jmp 0x402496
cmp eax, dword [esp + 0xa4]
jne 0x40246d
mov edx, dword [esp + 0x10]
push edi
push edx
mov eax, esi
call fcn.0040b200
add esp, 8
jmp 0x402499
cmp eax, dword [esp + 0xb4]
jne 0x402488
mov eax, dword [esp + 0x10]
push edi
push eax
mov eax, esi
call fcn.0040b4c0
add esp, 8
jmp 0x402499
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, edi
mov edx, esi
call fcn.0040b840
add esp, 4
test byte [esi + 0x6c], 0x10
je 0x401fb0
mov ecx, dword [esp + 0xbc]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00450655
mov esp, ebp
pop ebp
ret