Function at 0x546020
Capabilities:
Extract resource via kernel32 functions

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov ebp, ecx
call fcn.00545f60
mov ecx, ebp
call fcn.00545f30
mov eax, dword [ebp + 0xa4]
mov ebx, 1
push 0x6e4c3c
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.00465af8
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 0x5464dd
mov ecx, dword [ebp + 0x64]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, esi
je 0x5464dd
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, eax
cmp ecx, esi
mov dword [esp + 0x1c], ecx
je 0x5464dd
mov edi, 0xffff
mov dword [esp + 0x10], esi
cmp word [ecx + 2], di
jne 0x54610c
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 0x546126
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 0x54619a
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 0x5461cb
test cx, cx
je 0x5461bd
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 0x5461a4
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 0x5461f9
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 0x54622f
xor esi, esi
test cx, cx
je 0x54621e
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 0x546205
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 0x546258
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 0x546240
mov ecx, dword [ebp + 0xa4]
add eax, 2
test byte [ecx + 8], 0x48
je 0x5462ed
mov dx, word [eax]
add eax, 2
mov word [ecx + 0x616], dx
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x5462b1
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 0x5462d9
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 0x5462c0
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 0x5464dd
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.005e6fe9
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 0x5464dd
jmp 0x54634a
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 0x54636d
mov esi, 4
sub esi, ecx
add eax, esi
mov ecx, dword [esp + 0x10]
mov esi, dword [eax + edx]
test ecx, ecx
je 0x54638e
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 0x54639c
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 0x5463d5
add eax, 2
mov cx, word [eax]
mov esi, 0xffff
cmp cx, si
jne 0x5463f2
add eax, 2
mov word [ebx + 0x16], si
mov cx, word [eax]
mov word [ebx + 0x18], cx
jmp 0x546416
xor edi, edi
test cx, cx
je 0x54640e
lea edx, [ebx + 0x16]
add eax, 2
mov word [edx], cx
inc edi
add edx, 2
mov cx, word [eax]
test cx, cx
jne 0x5463fc
mov dx, word [eax]
mov word [ebx + edi*2 + 0x16], dx
mov cx, word [eax + 2]
add eax, 2
cmp cx, si
jne 0x546438
add eax, 2
mov word [ebx + 0x216], si
mov cx, word [eax]
mov word [ebx + 0x218], cx
jmp 0x546462
xor edi, edi
test cx, cx
je 0x546457
lea edx, [ebx + 0x216]
add eax, 2
mov word [edx], cx
inc edi
add edx, 2
mov cx, word [eax]
test cx, cx
jne 0x546445
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 0x5464be
xor eax, eax
mov ax, cx
push eax
call fcn.005e6fe9
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 0x546346
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret