Function at 0x1053ed5
Capabilities:
Extract resource via kernel32 functions
Get file size
Read file on windows

Disassembly:
push 0x34
mov eax, 0x10880ae
call fcn.01034b7e
mov esi, ecx
call fcn.010538e2
test al, al
jne 0x1053f08
mov eax, dword [ebp + 8]
push dword [eax + 8]
push 0x1011bf8
push 1
call fcn.01054776
add esp, 0xc
xor eax, eax
jmp 0x1054131
cmp byte [esi + 0x1408], 0
je 0x1053f33
push dword [ebp + 8]
call fcn.010534be
xor edi, edi
cmp eax, edi
je 0x1053f35
mov ecx, dword [ebp + 0xc]
cmp ecx, edi
je 0x1053f2b
mov edx, dword [eax + 0x10]
mov dword [ecx], edx
mov eax, dword [eax + 0xc]
jmp 0x1054131
xor edi, edi
mov dword [ebp - 0x14], edi
cmp dword [esi + 0x1414], edi
jbe 0x105404e
push dword [ebp + 8]
lea ecx, [ebp - 0x34]
call fcn.010556c4
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 4], edi
jmp 0x1053f65
cmp word [eax], 0x2f
jne 0x1053f63
push 0x5c
pop ecx
mov word [eax], cx
inc eax
inc eax
cmp word [eax], di
jne 0x1053f57
mov eax, dword [esi + 0x1414]
cmp eax, edi
jbe 0x1053fea
mov eax, dword [esi + 0x1420]
mov ebx, dword [eax + edi*4]
push 0x1011be8
push dword [ebp - 0x2c]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x1c], eax
test eax, eax
jne 0x1053f9e
inc edi
cmp edi, dword [esi + 0x1414]
jb 0x1053f74
jmp 0x1053fe3
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test edi, edi
je 0x1053fe3
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x1053fb5
mov dword [eax], edi
push dword [ebp - 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x1053fe3
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1053fe3
cmp edi, 1
jl 0x1053fe3
test edi, edi
jle 0x1053fe3
mov cl, byte [eax]
inc eax
dec edi
mov byte [ebp - 0xd], cl
jne 0x1053fda
xor edi, edi
cmp dword [ebp - 0x1c], edi
jne 0x1054046
push 0x1011bdc
lea ecx, [ebp - 0x34]
call fcn.01055c48
xor ebx, ebx
cmp dword [esi + 0x1414], edi
jbe 0x1054046
mov eax, dword [esi + 0x1420]
mov eax, dword [eax + ebx*4]
push 0x1011be8
push dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
cmp eax, edi
jne 0x1054028
inc ebx
cmp ebx, dword [esi + 0x1414]
jb 0x1054001
jmp 0x1054046
push dword [ebp - 0x2c]
call fcn.01053b95
cmp eax, edi
je 0x1054046
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0xc]
cmp ecx, edi
je 0x1054046
mov eax, dword [eax + 0x10]
mov dword [ecx], eax
lea ecx, [ebp - 0x34]
jmp 0x1054104
lea eax, [esi + 0x1424]
push eax
lea ecx, [ebp - 0x40]
call fcn.010556c4
push dword [ebp + 8]
xor ebx, ebx
inc ebx
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], ebx
call fcn.010559a8
push edi
push edi
push 3
push edi
push ebx
push 0x80000000
push dword [ebp - 0x38]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x1c], eax
cmp eax, 0xffffffff
je 0x1054101
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0xffffffff
je 0x10540f8
mov ecx, dword [ebp + 0xc]
cmp ecx, edi
je 0x10540a0
mov dword [ecx], eax
push eax
lea ecx, [ebp - 0x28]
call fcn.01053058
mov ebx, dword [ebp - 0x24]
push edi
lea eax, [ebp - 0x20]
push eax
push ebx
push dword [ebp - 0x28]
mov byte [ebp - 4], 2
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x10540ec
cmp dword [ebp - 0x20], ebx
jne 0x10540ec
push ebx
push dword [ebp - 0x28]
lea ecx, [esi + 0x1430]
call fcn.0102d979
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.0105307b
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x40]
or dword [ebp - 4], 0xffffffff
call fcn.010558b4
cmp dword [ebp - 0x14], edi
jne 0x105412e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [ebp + 8]
push dword [eax + 8]
push 0x1011b88
push 1
call fcn.01054776
add esp, 0x10
mov eax, dword [ebp - 0x14]
call fcn.01034c2c
ret 8