Function at 0x442af0
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x4d79e6
mov eax, dword fs:[0]
push eax
mov eax, 0x10030
mov dword fs:[0], esp
call fcn.004d0b30
push ebx
push ebp
mov ebp, dword [esp + 0x1004c]
push esi
mov ebx, ecx
push edi
mov eax, ebx
mov esi, edx
mov byte [esp + 0x17], 0
call fcn.0040f110
test al, al
je 0x442b3e
push 0x10
xor edi, edi
push edi
push ebx
call fcn.004c663f
add esp, 0xc
jmp 0x442b49
push ebx
call fcn.004c6186
add esp, 4
xor edi, edi
cmp eax, 1
sete al
cmp word [ebp], di
jne 0x442bb7
cmp word [esi], di
jne 0x442bb7
cmp byte [0x519410], 0
je 0x442ba4
mov eax, dword [0x519424]
cmp eax, edi
je 0x442b8c
mov ecx, dword [0x519420]
push ecx
push edi
push eax
call fcn.004ce290
mov edx, dword [0x519424]
add esp, 0xc
push edx
call fcn.004c57e5
add esp, 4
mov dword [0x519424], edi
mov dword [0x519420], edi
mov dword [0x519428], edi
mov dword [0x51942c], edi
mov eax, dword [esp + 0x10050]
push edi
push eax
call fcn.0042efe0
jmp 0x442e53
xor ebx, ebx
mov dword [esp + 0x28], edi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], edi
mov dword [esp + 0x10048], edi
test al, al
jne 0x442bdd
call fcn.00454de0
test al, al
jne 0x442e1a
push edi
push edi
push 2
push edi
push edi
push 0x40000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esp + 0x1c], eax
cmp eax, 0xffffffff
je 0x442e07
mov eax, ebp
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x442c01
sub eax, edx
sar eax, 1
cmp eax, 0x8000
jb 0x442c1c
mov eax, 0x7fff
lea ecx, [eax + eax + 2]
push ecx
lea edx, [esp + 0x40]
push ebp
push edx
call fcn.004cd6c0
lea eax, [esp + 0x48]
add esp, 0xc
push eax
call fcn.004c712e
xor eax, eax
add esp, 4
cmp byte [0x519410], al
je 0x442c64
mov ebx, dword [0x519418]
lea eax, [esp + 0x20]
call fcn.00415310
mov ecx, dword [esp + 0x24]
push ecx
call fcn.004c712e
add esp, 4
xor edi, edi
mov esi, dword [0x519424]
xor ebp, ebp
mov dword [esp + 0x18], edi
cmp esi, edi
je 0x442c7f
mov ebx, dword [0x51942c]
jmp 0x442d58
cmp eax, edi
jne 0x442c87
lea eax, [esp + 0x3c]
push 0xa
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
mov dword [esp + 0x18], ebx
cmp ebx, edi
je 0x442e07
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
je 0x442e07
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebp, eax
cmp ebp, edi
je 0x442e07
push ebx
push edi
mov esi, ebp
call dword [sym.imp.KERNEL32.dll_SizeofResource]
cmp byte [0x519411], 0
mov ebx, eax
je 0x442cdc
mov byte [0x519412], 1
cmp byte [0x519410], 0
je 0x442ddd
cmp byte [0x519412], 0
je 0x442d58
mov edi, ebx
mov esi, 0x519420
mov dword [0x51942c], ebx
call fcn.00415010
test eax, eax
je 0x442e05
xor edi, edi
mov ecx, ebx
mov edx, ebp
call fcn.00415140
cmp byte [0x519411], 0
mov esi, eax
je 0x442d56
cmp ebx, 0x1e
jb 0x442e05
mov eax, dword [esi]
cmp eax, 0x4034b50
je 0x442d3f
cmp eax, 0xfbfcb4af
jne 0x442e05
push 0
push 0x519420
call fcn.0047b160
add esp, 8
test al, al
je 0x442e05
xor edi, edi
cmp byte [0x519410], 0
je 0x442ddd
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x2c], edi
push edi
lea edx, [esp + 0x40]
push edx
push ebx
push esi
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x40]
push ecx
xor ecx, ecx
mov byte [esp + 0x10060], 1
call fcn.0047abd0
add esp, 0x18
cmp eax, edi
je 0x442da8
lea ecx, [esp + 0x2c]
mov byte [esp + 0x10048], 0
call fcn.00414f70
jmp 0x442e07
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x30]
push edi
lea edx, [esp + 0x3c]
push edx
mov edx, dword [esp + 0x24]
push eax
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
lea ecx, [esp + 0x2c]
setne byte [esp + 0x17]
mov byte [esp + 0x10048], 0
call fcn.00414f70
jmp 0x442e07
mov ecx, dword [esp + 0x18]
push edi
lea eax, [esp + 0x3c]
push eax
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edx, dword [esp + 0x24]
push eax
push ebp
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
setne byte [esp + 0x17]
jmp 0x442e07
xor edi, edi
mov eax, dword [esp + 0x1c]
cmp eax, edi
je 0x442e16
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [esp + 0x24]
cmp byte [esp + 0x17], 0
mov edx, dword [esp + 0x10050]
sete al
movzx ecx, al
push ecx
push edx
call fcn.0042efe0
mov esi, eax
cmp ebx, edi
je 0x442e51
mov eax, dword [esp + 0x20]
push eax
push edi
push ebx
call fcn.004ce290
add esp, 0xc
push ebx
call fcn.004c57e5
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x10040]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x1003c
ret 8