Function at 0x545be0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov ebp, ecx
call fcn.00545b20
mov ecx, ebp
call fcn.00545af0
mov eax, dword [ebp + 0xa4]
mov ebx, 1
push str.System
mov word [eax + 0x616], 9
mov ecx, dword [ebp + 0xa4]
mov word [ecx + 0x618], 0x190
mov edx, dword [ebp + 0xa4]
mov byte [edx + 0x61a], 0
mov eax, dword [ebp + 0xa4]
mov byte [eax + 0x61b], bl
mov ecx, dword [ebp + 0xa4]
add ecx, 0x61c
push ecx
call fcn.0046559e
mov edx, dword [ebp + 0x68]
mov eax, dword [ebp + 0x64]
add esp, 8
push 5
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
xor esi, esi
cmp eax, esi
je 0x54609d
mov ecx, dword [ebp + 0x64]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, esi
je 0x54609d
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, eax
cmp ecx, esi
mov dword [esp + 0x1c], ecx
je 0x54609d
mov edi, 0xffff
mov dword [esp + 0x10], esi
cmp word [ecx + 2], di
jne 0x545ccc
mov edx, dword [ebp + 0xa4]
lea eax, [ecx + 4]
mov dword [esp + 0x10], ebx
mov ebx, dword [eax]
add eax, 4
mov dword [edx], ebx
mov edx, dword [ebp + 0xa4]
mov ebx, dword [eax]
mov dword [edx + 4], ebx
mov edx, dword [ebp + 0xa4]
mov eax, dword [eax + 4]
mov dword [edx + 8], eax
lea eax, [ecx + 0x10]
jmp 0x545ce6
mov edx, dword [ebp + 0xa4]
mov eax, dword [ecx]
mov dword [edx + 8], eax
mov edx, dword [ebp + 0xa4]
mov eax, dword [ecx + 4]
mov dword [edx + 4], eax
lea eax, [ecx + 8]
mov ecx, dword [ebp + 0xa4]
mov dx, word [eax]
add eax, 2
mov word [ecx + 0xc], dx
mov ecx, dword [ebp + 0xa4]
mov dx, word [eax]
add eax, 2
mov word [ecx + 0xe], dx
mov ecx, dword [ebp + 0xa4]
mov dx, word [eax]
add eax, 2
mov word [ecx + 0x10], dx
mov ecx, dword [ebp + 0xa4]
mov dx, word [eax]
add eax, 2
mov word [ecx + 0x12], dx
mov ecx, dword [ebp + 0xa4]
mov dx, word [eax]
add eax, 2
mov word [ecx + 0x14], dx
mov cx, word [eax]
cmp cx, di
jne 0x545d5a
mov ecx, dword [ebp + 0xa4]
add eax, 2
mov word [ecx + 0x16], di
mov edx, dword [ebp + 0xa4]
mov cx, word [eax]
mov word [edx + 0x18], cx
jmp 0x545d8b
test cx, cx
je 0x545d7d
mov edx, 0x16
mov ebx, dword [ebp + 0xa4]
add eax, 2
inc esi
mov word [edx + ebx], cx
mov cx, word [eax]
add edx, 2
test cx, cx
jne 0x545d64
mov edx, dword [ebp + 0xa4]
mov cx, word [eax]
mov word [edx + esi*2 + 0x16], cx
mov cx, word [eax + 2]
add eax, 2
cmp cx, di
jne 0x545db9
mov edx, dword [ebp + 0xa4]
add eax, 2
mov word [edx + 0x216], di
mov ecx, dword [ebp + 0xa4]
mov dx, word [eax]
mov word [ecx + 0x218], dx
jmp 0x545def
xor esi, esi
test cx, cx
je 0x545dde
mov edx, 0x216
mov ebx, dword [ebp + 0xa4]
add eax, 2
inc esi
mov word [edx + ebx], cx
mov cx, word [eax]
add edx, 2
test cx, cx
jne 0x545dc5
mov ecx, dword [ebp + 0xa4]
mov dx, word [eax]
mov word [ecx + esi*2 + 0x216], dx
mov cx, word [eax + 2]
add eax, 2
test cx, cx
je 0x545e18
mov edx, 0x416
mov esi, dword [ebp + 0xa4]
add eax, 2
mov word [edx + esi], cx
mov cx, word [eax]
add edx, 2
test cx, cx
jne 0x545e00
mov ecx, dword [ebp + 0xa4]
add eax, 2
test byte [ecx + 8], 0x48
je 0x545ead
mov dx, word [eax]
add eax, 2
mov word [ecx + 0x616], dx
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x545e71
mov ecx, dword [ebp + 0xa4]
mov dx, word [eax]
add eax, 2
mov word [ecx + 0x618], dx
mov ecx, dword [ebp + 0xa4]
mov dl, byte [eax]
inc eax
mov byte [ecx + 0x61a], dl
mov ecx, dword [ebp + 0xa4]
mov dl, byte [eax]
inc eax
mov byte [ecx + 0x61b], dl
mov cx, word [eax]
xor esi, esi
test cx, cx
je 0x545e99
mov edx, 0x61c
mov ebx, dword [ebp + 0xa4]
add eax, 2
inc esi
mov word [edx + ebx], cx
mov cx, word [eax]
add edx, 2
test cx, cx
jne 0x545e80
mov ecx, dword [ebp + 0xa4]
mov dx, word [eax]
add eax, 2
mov word [ecx + esi*2 + 0x61c], dx
mov esi, eax
mov eax, dword [ebp + 0xa4]
mov ax, word [eax + 0xc]
test ax, ax
jbe 0x54609d
and eax, edi
lea ecx, [eax + eax*4]
shl ecx, 4
add ecx, eax
shl ecx, 3
sub ecx, eax
shl ecx, 2
push ecx
call fcn.005e6f29
mov edx, dword [ebp + 0xa4]
mov ebx, eax
add esp, 4
mov dword [esp + 0x18], 0
mov dword [edx + 0x65c], ebx
mov eax, dword [ebp + 0xa4]
cmp word [eax + 0xc], 0
jbe 0x54609d
jmp 0x545f0a
mov esi, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
mov ecx, 0x287
xor eax, eax
mov edi, ebx
sub esi, edx
rep stosd dword es:[edi], eax
mov eax, esi
mov ecx, eax
and ecx, 3
je 0x545f2d
mov esi, 4
sub esi, ecx
add eax, esi
mov ecx, dword [esp + 0x10]
mov esi, dword [eax + edx]
test ecx, ecx
je 0x545f4e
mov dword [ebx], esi
mov esi, dword [eax + edx + 4]
mov dword [ebx + 4], esi
mov esi, dword [eax + edx + 8]
mov dword [ebx + 8], esi
lea eax, [eax + edx + 0xc]
jmp 0x545f5c
mov dword [ebx + 8], esi
mov esi, dword [eax + edx + 4]
mov dword [ebx + 4], esi
lea eax, [eax + edx + 8]
mov dx, word [eax]
add eax, 2
mov word [ebx + 0xc], dx
mov dx, word [eax]
add eax, 2
mov word [ebx + 0xe], dx
mov dx, word [eax]
add eax, 2
mov word [ebx + 0x10], dx
mov dx, word [eax]
add eax, 2
mov word [ebx + 0x12], dx
mov dx, word [eax]
add eax, 2
test ecx, ecx
mov word [ebx + 0x14], dx
je 0x545f95
add eax, 2
mov cx, word [eax]
mov esi, 0xffff
cmp cx, si
jne 0x545fb2
add eax, 2
mov word [ebx + 0x16], si
mov cx, word [eax]
mov word [ebx + 0x18], cx
jmp 0x545fd6
xor edi, edi
test cx, cx
je 0x545fce
lea edx, [ebx + 0x16]
add eax, 2
mov word [edx], cx
inc edi
add edx, 2
mov cx, word [eax]
test cx, cx
jne 0x545fbc
mov dx, word [eax]
mov word [ebx + edi*2 + 0x16], dx
mov cx, word [eax + 2]
add eax, 2
cmp cx, si
jne 0x545ff8
add eax, 2
mov word [ebx + 0x216], si
mov cx, word [eax]
mov word [ebx + 0x218], cx
jmp 0x546022
xor edi, edi
test cx, cx
je 0x546017
lea edx, [ebx + 0x216]
add eax, 2
mov word [edx], cx
inc edi
add edx, 2
mov cx, word [eax]
test cx, cx
jne 0x546005
mov dx, word [eax]
mov word [ebx + edi*2 + 0x216], dx
mov cx, word [eax + 2]
add eax, 2
test cx, cx
lea edi, [eax + 2]
mov word [ebx + 0xa16], cx
mov dword [esp + 0x14], edi
jbe 0x54607e
xor eax, eax
mov ax, cx
push eax
call fcn.005e6f29
xor ecx, ecx
mov esi, edi
mov cx, word [ebx + 0xa16]
mov edi, eax
mov edx, ecx
mov dword [ebx + 0xa18], eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
xor eax, eax
and ecx, 3
add esp, 4
rep movsb byte es:[edi], byte [esi]
mov ax, word [ebx + 0xa16]
mov ecx, dword [esp + 0x14]
add ecx, eax
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x18]
mov ecx, dword [ebp + 0xa4]
add ebx, 0xa1c
inc eax
cmp ax, word [ecx + 0xc]
mov dword [esp + 0x18], eax
jb 0x545f06
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret