Function at 0x598300
Capabilities:
Contain obfuscated stackstrings
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xb0
mov eax, dword [0x7dcee0]
xor eax, esp
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0xb8]
push esi
mov esi, dword [esp + 0xb8]
mov dword [esp + 4], eax
test esi, esi
je 0x598853
test eax, eax
je 0x598853
push ebx
push eax
push esi
call fcn.0059ef10
add esp, 8
push ebp
mov bl, 0x54
push edi
jmp 0x598350
mov byte [esp + 0x2c], 0x49
mov byte [esp + 0x2d], 0x48
mov byte [esp + 0x2e], 0x44
mov byte [esp + 0x2f], 0x52
mov byte [esp + 0x8c], 0x49
mov byte [esp + 0x8d], 0x44
mov byte [esp + 0x8e], 0x41
mov byte [esp + 0x8f], bl
mov byte [esp + 0xac], 0x49
mov byte [esp + 0xad], 0x45
mov byte [esp + 0xae], 0x4e
mov byte [esp + 0xaf], 0x44
mov byte [esp + 0x14], 0x50
mov byte [esp + 0x15], 0x4c
mov byte [esp + 0x16], bl
mov byte [esp + 0x17], 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 + 0x1c], 0x70
mov byte [esp + 0x1d], 0x43
mov byte [esp + 0x1e], 0x41
mov byte [esp + 0x1f], 0x4c
mov byte [esp + 0x24], 0x70
mov byte [esp + 0x25], 0x48
mov byte [esp + 0x26], 0x59
mov byte [esp + 0x27], 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
push esi
mov byte [esp + 0xa9], bl
mov byte [esp + 0xaa], 0x58
mov byte [esp + 0xab], 0x74
call fcn.0059ffe0
mov ebp, dword [esp + 0x90]
lea ecx, [esi + 0x120]
add esp, 4
mov edi, eax
cmp dword [ecx], ebp
jne 0x59856c
mov eax, dword [esi + 0x6c]
test al, 8
je 0x59856c
or eax, 0x2000
mov dword [esi + 0x6c], eax
mov eax, dword [ecx]
cmp eax, dword [esp + 0x2c]
jne 0x598588
mov eax, dword [esp + 0x10]
push edi
push eax
push esi
call fcn.005a0150
add esp, 0xc
jmp 0x598350
cmp eax, dword [esp + 0xac]
jne 0x5985a5
mov ecx, dword [esp + 0x10]
push edi
push ecx
push esi
call fcn.005a0500
add esp, 0xc
jmp 0x598350
push ecx
push esi
call fcn.00595210
add esp, 8
test eax, eax
je 0x598609
cmp dword [esi + 0x120], ebp
jne 0x5985bf
or dword [esi + 0x6c], 4
mov edx, dword [esp + 0x10]
push edi
push edx
push esi
call fcn.005a2c80
mov eax, dword [esi + 0x120]
add esp, 0xc
cmp eax, dword [esp + 0x14]
jne 0x5985e3
or dword [esi + 0x6c], 2
jmp 0x598350
cmp eax, ebp
jne 0x598350
mov eax, dword [esi + 0x6c]
test al, 1
jne 0x598800
push str.Missing_IHDR_before_IDAT
push esi
call fcn.00595910
add esp, 8
jmp 0x598850
mov eax, dword [esi + 0x120]
cmp eax, dword [esp + 0x14]
jne 0x598629
mov eax, dword [esp + 0x10]
push edi
push eax
push esi
call fcn.005a0330
add esp, 0xc
jmp 0x598350
cmp eax, ebp
je 0x59881d
push edi
cmp eax, dword [esp + 0x40]
jne 0x59864b
mov ecx, dword [esp + 0x14]
push ecx
push esi
call fcn.005a17c0
add esp, 0xc
jmp 0x598350
cmp eax, dword [esp + 0x80]
jne 0x598667
mov edx, dword [esp + 0x14]
push edx
push esi
call fcn.005a0860
add esp, 0xc
jmp 0x598350
cmp eax, dword [esp + 0x50]
jne 0x598680
mov eax, dword [esp + 0x14]
push eax
push esi
call fcn.005a0550
add esp, 0xc
jmp 0x598350
cmp eax, dword [esp + 0xa0]
jne 0x59869c
mov ecx, dword [esp + 0x14]
push ecx
push esi
call fcn.005a1a40
add esp, 0xc
jmp 0x598350
cmp eax, dword [esp + 0x60]
jne 0x5986b5
mov edx, dword [esp + 0x14]
push edx
push esi
call fcn.005a1d70
add esp, 0xc
jmp 0x598350
cmp eax, dword [esp + 0x20]
jne 0x5986ce
mov eax, dword [esp + 0x14]
push eax
push esi
call fcn.005a1f30
add esp, 0xc
jmp 0x598350
cmp eax, dword [esp + 0x70]
jne 0x5986e7
mov ecx, dword [esp + 0x14]
push ecx
push esi
call fcn.005a22a0
add esp, 0xc
jmp 0x598350
cmp eax, dword [esp + 0x28]
jne 0x598700
mov edx, dword [esp + 0x14]
push edx
push esi
call fcn.005a1c10
add esp, 0xc
jmp 0x598350
cmp eax, dword [esp + 0x38]
jne 0x598719
mov eax, dword [esp + 0x14]
push eax
push esi
call fcn.005a06e0
add esp, 0xc
jmp 0x598350
cmp eax, dword [esp + 0x48]
jne 0x598732
mov ecx, dword [esp + 0x14]
push ecx
push esi
call fcn.005a0d50
add esp, 0xc
jmp 0x598350
cmp eax, dword [esp + 0x58]
jne 0x59874b
mov edx, dword [esp + 0x14]
push edx
push esi
call fcn.005a0f50
add esp, 0xc
jmp 0x598350
cmp eax, dword [esp + 0x68]
jne 0x598764
mov eax, dword [esp + 0x14]
push eax
push esi
call fcn.005a1210
add esp, 0xc
jmp 0x598350
cmp eax, dword [esp + 0x78]
jne 0x59877d
mov ecx, dword [esp + 0x14]
push ecx
push esi
call fcn.005a2600
add esp, 0xc
jmp 0x598350
cmp eax, dword [esp + 0x88]
jne 0x598799
mov edx, dword [esp + 0x14]
push edx
push esi
call fcn.005a24c0
add esp, 0xc
jmp 0x598350
cmp eax, dword [esp + 0x98]
jne 0x5987b5
mov eax, dword [esp + 0x14]
push eax
push esi
call fcn.005a1510
add esp, 0xc
jmp 0x598350
cmp eax, dword [esp + 0xa8]
jne 0x5987d1
mov ecx, dword [esp + 0x14]
push ecx
push esi
call fcn.005a27b0
add esp, 0xc
jmp 0x598350
cmp eax, dword [esp + 0xb8]
jne 0x5987ed
mov edx, dword [esp + 0x14]
push edx
push esi
call fcn.005a29d0
add esp, 0xc
jmp 0x598350
mov eax, dword [esp + 0x14]
push eax
push esi
call fcn.005a2c80
add esp, 0xc
jmp 0x598350
cmp byte [esi + 0x12a], 3
jne 0x598850
test al, 2
jne 0x598850
push str.Missing_PLTE_before_IDAT
push esi
call fcn.00595910
add esp, 8
jmp 0x598850
mov eax, dword [esi + 0x6c]
test al, 1
jne 0x59882b
push str.Missing_IHDR_before_IDAT
jmp 0x59883d
cmp byte [esi + 0x12a], 3
jne 0x598846
test al, 2
jne 0x598846
push str.Missing_PLTE_before_IDAT
push esi
call fcn.00595910
add esp, 8
or dword [esi + 0x6c], 4
mov dword [esi + 0x110], edi
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0xb0]
pop esi
xor ecx, esp
call fcn.0069528d
add esp, 0xb0
ret