Function at 0x10082d50
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x100fdf2f
push eax
mov eax, 0x38e38e39
mul dword [0x10132b04]
mov dword fs:[0], esp
sub esp, 0xd4
push ebx
shr edx, 4
xor ebx, ebx
cmp edx, ebx
push ebp
mov ebp, dword [0x10132b00]
jle 0x10083048
push esi
lea esi, [ecx + 0x40]
push edi
mov dword [esp + 0x30], esi
mov dword [esp + 0x18], edx
mov al, byte [esp + 0x13]
push ebx
lea ecx, [esp + 0x20]
mov byte [esp + 0x20], al
call fcn.10001fd0
or ecx, 0xffffffff
xor eax, eax
mov edi, ebp
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push ebp
lea ecx, [esp + 0x24]
call fcn.100021fe
mov edx, dword [ebp + 0x40]
push 0x10
lea ecx, [esp + 0xa8]
push ecx
push edx
mov dword [esp + 0xf8], ebx
call fcn.100a95ba
mov ecx, dword [ebp + 0x44]
push 0x10
lea eax, [esp + 0xd4]
push eax
push ecx
call fcn.100a95ba
push str.__flags0x
lea edx, [esp + 0x38]
push edx
lea eax, [esp + 0xa4]
push eax
call fcn.10004050
lea ecx, [esp + 0xc8]
push ecx
push eax
lea edx, [esp + 0xc0]
push edx
mov byte [esp + 0x11c], 1
call fcn.10004050
push str.__contents0x
push eax
lea eax, [esp + 0x9c]
push eax
mov byte [esp + 0x128], 2
call fcn.10004050
lea ecx, [esp + 0x100]
push ecx
push eax
lea edx, [esp + 0x88]
push edx
mov byte [esp + 0x134], 3
call fcn.10004050
add esp, 0x48
push 1
lea ecx, [esp + 0x48]
call fcn.10001fd0
push 1
lea ecx, [esp + 0x68]
mov byte [esp + 0xf0], 2
call fcn.10001fd0
push 1
lea ecx, [esp + 0x98]
mov byte [esp + 0xf0], 1
call fcn.10001fd0
push 1
lea ecx, [esp + 0x88]
mov byte [esp + 0xf0], 0
call fcn.10001fd0
push str..tga
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x5c]
push ecx
call fcn.10004050
add esp, 0xc
push 1
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0xf4], 4
call fcn.10063bb0
push 1
lea ecx, [esp + 0x58]
mov byte [esp + 0xf0], 6
call fcn.10001fd0
push ebx
lea ecx, [esp + 0x18]
call fcn.100642d0
test eax, eax
jne 0x10082f56
push str..jpg
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x7c]
push eax
call fcn.10004050
add esp, 0xc
push 1
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0xf4], 7
call fcn.10063bb0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0xf0], 8
call fcn.100641e0
lea ecx, [esp + 0x2c]
mov byte [esp + 0xec], 7
call fcn.10064180
push 1
lea ecx, [esp + 0x78]
mov byte [esp + 0xf0], 6
call fcn.10001fd0
push ebx
lea ecx, [esp + 0x18]
call fcn.100642d0
test eax, eax
jne 0x10082fcb
mov cl, byte [esp + 0x13]
mov byte [esp + 0x34], cl
push ebx
lea ecx, [esp + 0x38]
call fcn.10001fd0
or ecx, 0xffffffff
xor eax, eax
mov edi, str.Failed_
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
push 1
push ebx
lea ecx, [esp + 0x3c]
call fcn.1000229a
test al, al
je 0x10082fbe
mov edi, dword [esp + 0x38]
mov ecx, ebx
mov edx, ecx
shr ecx, 2
mov esi, str.Failed_
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push ebx
lea ecx, [esp + 0x38]
call fcn.10004020
mov esi, dword [esp + 0x30]
push 1
lea ecx, [esp + 0x38]
call fcn.10001fd0
xor ebx, ebx
push 1
lea ecx, [esp + 0x18]
call fcn.100642b0
mov eax, dword [esi + 8]
lea ecx, [esp + 0x14]
push ecx
push 1
push eax
mov ecx, esi
call fcn.100603b0
lea ecx, [esp + 0x14]
add ebp, 0x48
mov byte [esp + 0xec], 0
call fcn.10064180
mov ecx, dword [esp + 0x20]
cmp ecx, ebx
mov dword [esp + 0xec], 0xffffffff
je 0x1008302b
mov al, byte [ecx - 1]
test al, al
je 0x10083021
cmp al, 0xff
je 0x10083021
dec al
mov byte [ecx - 1], al
jmp 0x1008302b
dec ecx
push ecx
call fcn.1008cc5c
add esp, 4
mov eax, dword [esp + 0x18]
dec eax
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x18], eax
jne 0x10082d98
pop edi
pop esi
mov ecx, dword [esp + 0xdc]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xe0
ret