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

Disassembly:
push 0xffffffffffffffff
push 0x439302
mov eax, dword fs:[0]
push eax
mov eax, 0x118c
call fcn.00425890
mov eax, dword [0x449f18]
xor eax, esp
mov dword [esp + 0x1188], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x449f18]
xor eax, esp
push eax
lea eax, [esp + 0x11a0]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x11b0]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x4c], 0
mov dword [esp + 0x11a8], 1
call fcn.00419aa0
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40346b
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x20], eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x11a8], 2
call fcn.0041d39e
mov byte [esp + 0x11a8], 3
call fcn.00419aa0
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4034ae
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x11b4]
mov ebp, dword [ecx - 0xc]
mov byte [esp + 0x11a8], 4
test ebp, ebp
je 0x403538
lea edi, [ebp - 1]
test edi, edi
jl 0x40358c
cmp edi, ebp
jg 0x40358c
mov al, byte [edi + ecx]
cmp al, 0x5c
je 0x403538
mov eax, dword [ecx - 8]
mov edx, 1
sub edx, dword [ecx - 4]
lea edi, [ebp + 1]
sub eax, edi
or eax, edx
jge 0x403516
push edi
lea ecx, [esp + 0x11b8]
call fcn.00401240
mov ecx, dword [esp + 0x11b4]
mov byte [ecx + ebp], 0x5c
test edi, edi
jl 0x40358c
mov eax, dword [esp + 0x11b4]
cmp edi, dword [eax - 8]
jg 0x40358c
mov dword [eax - 0xc], edi
mov ecx, dword [esp + 0x11b4]
mov byte [edi + ecx], 0
call fcn.0041d2b5
mov eax, dword [eax + 0xc]
push str.IDR_EXE
push 0x81
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
call fcn.0041d2b5
mov eax, dword [eax + 0xc]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebp, eax
push ebp
mov dword [esp + 0x34], ebp
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
call fcn.00419aa0
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x403596
push 0x80004005
call fcn.00401000
push 0x80070057
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebx], eax
mov edi, dword [esi]
xor eax, eax
add esi, 4
mov dword [esp + 0x4c], 1
mov dword [esp + 0x28], edi
mov dword [esp + 0x1c], eax
cmp edi, eax
jbe 0x4038b6
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x2c]
xor edx, edx
div edi
mov edi, eax
call fcn.00419aa0
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x403461
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x34], eax
push edi
lea ecx, [esp + 0x38]
push 0x43d1c8
push ecx
mov byte [esp + 0x11b4], 5
call fcn.004013b0
push edi
lea edx, [esp + 0x30]
push 0x43d1c8
push edx
call fcn.004013b0
add esp, 0x18
push 1
push 0x43d1c4
lea ecx, [esp + 0x28]
call fcn.00402930
mov ebp, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
push ebp
add ecx, 0x74
call fcn.004198c9
mov ecx, dword [esp + 0x24]
push ebp
push 0x3fc
call fcn.004197dc
push esi
lea eax, [esp + 0x11b8]
push eax
lea ecx, [esp + 0x5c]
push ecx
call fcn.00402a60
add esp, 0xc
push eax
mov ecx, ebx
mov byte [esp + 0x11ac], 6
call fcn.004017c0
mov eax, dword [esp + 0x54]
add eax, 0xfffffff0
mov byte [esp + 0x11a8], 5
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40369e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push esi
lea ecx, [esp + 0x54]
call fcn.00402dd0
mov ecx, dword [eax]
mov eax, dword [ecx - 0xc]
lea esi, [esi + eax + 1]
mov eax, dword [esp + 0x50]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4036d1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebx]
push 0x43d1c0
push eax
call fcn.004254eb
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x4038e0
mov ecx, dword [esi]
push ebp
push ecx
lea edx, [esi + 4]
push 1
push edx
call fcn.004253a5
push ebp
call fcn.004251c7
mov eax, dword [esp + 0x38]
mov ecx, dword [eax + 0x94]
add esp, 0x14
push 0
push edi
push 0x402
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [ebx]
cmp dword [eax - 0xc], 0
mov edx, dword [esi]
lea esi, [esi + edx + 4]
jl 0x4037db
push str.log_file.txt
push eax
call fcn.00425098
add esp, 8
test eax, eax
je 0x4037db
sub eax, dword [ebx]
js 0x4037db
push ebx
mov ecx, 0x44b45c
call fcn.004017c0
mov eax, dword [ebx]
push 0
push 0
push eax
lea ecx, [esp + 0x44]
call fcn.0041d3b6
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x3c]
call fcn.0041d8c3
mov ecx, dword [esp + 0x14]
push str._fls_
push ecx
call fcn.00423ae2
add esp, 8
test eax, eax
setne al
lea ecx, [esp + 0x38]
test al, al
je 0x40379b
lea edx, [esp + 0x14]
push edx
jmp 0x403770
lea eax, [esp + 0x14]
push eax
call fcn.0041d8c3
mov ecx, dword [esp + 0x14]
push 0x43d1a4
push ecx
call fcn.00423ae2
add esp, 8
test eax, eax
sete al
test al, al
je 0x4037cc
mov dword [0x44b454], 1
jmp 0x4037e8
mov dword [0x44b454], 0
jmp 0x403870
cmp dword [0x44b454], 1
jne 0x403870
mov eax, dword [ebx]
cmp dword [eax - 0xc], 0
jl 0x403806
push str.log_file.txt
push eax
call fcn.00425098
add esp, 8
test eax, eax
je 0x403806
sub eax, dword [ebx]
jns 0x403870
mov eax, dword [ebx]
cmp dword [eax - 0xc], 0
jl 0x403824
push 0x43d194
push eax
call fcn.00425098
add esp, 8
test eax, eax
je 0x403824
sub eax, dword [ebx]
jns 0x403870
mov eax, dword [ebx]
cmp dword [eax - 0xc], 0
jl 0x403842
push str..lic
push eax
call fcn.00425098
add esp, 8
test eax, eax
je 0x403842
sub eax, dword [ebx]
jns 0x403870
mov eax, dword [ebx]
cmp dword [eax - 0xc], 0
jl 0x403860
push str.Remove_Uninstaller.exe
push eax
call fcn.00425098
add esp, 8
test eax, eax
je 0x403860
sub eax, dword [ebx]
jns 0x403870
mov eax, dword [ebx]
push 0xc
push 0
push eax
push eax
call fcn.00402290
add esp, 0x10
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
mov byte [esp + 0x11a8], 4
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x403898
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x28]
add dword [esp + 0x2c], 0x64
inc eax
mov dword [esp + 0x1c], eax
cmp eax, edi
jb 0x4035c7
mov ebp, dword [esp + 0x30]
lea ecx, [esp + 0x38]
call fcn.0041d76a
push ebp
call dword [sym.imp.KERNEL32.dll_FreeResource]
call fcn.00419aa0
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x403948
push 0x80004005
call fcn.00401000
mov eax, dword [ebx]
push 0x43d154
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.00425502
push ebx
lea edx, [esp + 0x40]
push str.Cannot_create_file
push edx
call fcn.00402b40
add esp, 0x18
mov eax, dword [eax]
push 0
push 0
push eax
mov byte [esp + 0x11b4], 7
call fcn.0041a093
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
mov byte [esp + 0x11a8], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403941
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0
call fcn.004257f5
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
push edi
lea ecx, [esp + 0x20]
push str._d_Files_successfully_extracted.
push ecx
mov byte [esp + 0x11b4], 8
call fcn.004013b0
mov edx, dword [0x44b45c]
add esp, 0xc
push 0
push 0
push edx
lea ecx, [esp + 0x44]
call fcn.0041d3b6
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x3c]
call fcn.0041d8c3
test eax, eax
je 0x403a77
mov ecx, dword [esp + 0x14]
push str._logo_
push ecx
call fcn.00423ae2
add esp, 8
test eax, eax
sete al
test al, al
je 0x403a27
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x3c]
call fcn.0041d8c3
mov ecx, dword [esp + 0x14]
mov edi, dword [0x44b460]
lea eax, [ecx - 0x10]
add edi, 0xfffffff0
cmp eax, edi
je 0x403a42
cmp dword [edi + 0xc], 0
lea ebp, [edi + 0xc]
jl 0x403a16
mov edx, dword [eax]
cmp edx, dword [edi]
jne 0x403a16
push eax
call fcn.004016c0
mov esi, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [ebp], eax
dec eax
test eax, eax
jg 0x403a0b
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
add esi, 0x10
mov dword [0x44b460], esi
jmp 0x403a42
mov eax, dword [ecx - 0xc]
push eax
push ecx
mov ecx, 0x44b460
call fcn.00401730
jmp 0x403a42
mov ecx, dword [esp + 0x14]
push str._Header_
push ecx
call fcn.00423ae2
add esp, 8
test eax, eax
sete al
test al, al
jne 0x403a5a
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x3c]
call fcn.0041d8c3
test eax, eax
jne 0x40399d
jmp 0x403a77
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x3c]
call fcn.0041d8c3
lea ecx, [esp + 0x14]
push ecx
mov ecx, 0x44b464
call fcn.004017c0
lea ecx, [esp + 0x38]
call fcn.0041d76a
mov ecx, dword [esp + 0x24]
push 1
call fcn.0041a437
push 0
lea ecx, [esp + 0x60]
call fcn.00405ff0
lea ecx, [esp + 0x5c]
mov byte [esp + 0x11a8], 9
call fcn.0041aaa7
lea ecx, [esp + 0x5c]
mov byte [esp + 0x11a8], 8
call fcn.00404fc0
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x11a8], 4
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x403ae0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x11a8], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403b08
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x11a8], 2
call fcn.0041d7a8
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x11a8], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403b41
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x11b4]
add eax, 0xfffffff0
mov byte [esp + 0x11a8], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403b6c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebx
mov ecx, dword [esp + 0x11a0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1188]
xor ecx, esp
call fcn.00423763
add esp, 0x1198
ret 8