Function at 0x424a70
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42d845
mov eax, dword fs:[0]
push eax
sub esp, 0x258
mov eax, dword [0x43d210]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x440ff8]
and eax, 1
jne 0x424ad9
mov ecx, dword [0x440ff8]
or ecx, 1
mov dword [0x440ff8], ecx
mov dword [ebp - 4], 0
mov ecx, 0x440fe8
call fcn.004247a0
push 0x42e060
call fcn.00404a84
add esp, 4
mov dword [ebp - 4], 0xffffffff
cmp dword [0x4404d8], 0
jne 0x424c21
push 0x104
lea edx, [ebp - 0x21c]
push edx
mov eax, dword [0x440444]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x5c
lea ecx, [ebp - 0x21c]
push ecx
call fcn.00401020
add esp, 8
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x424c21
lea ecx, [ebp - 0x23c]
call fcn.004247a0
mov dword [ebp - 4], 1
push 0x4374f0
push 0x6e
mov edx, dword [0x440444]
push edx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x22c], eax
mov eax, dword [ebp - 0x22c]
push eax
mov ecx, dword [0x440444]
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x224], eax
mov edx, dword [ebp - 0x22c]
push edx
mov eax, dword [0x440444]
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x228], eax
mov ecx, dword [ebp - 0x228]
push ecx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x220], eax
mov edx, dword [ebp - 0x220]
movzx eax, byte [edx + 1]
test eax, eax
jne 0x424bb0
mov ecx, dword [ebp - 0x220]
push ecx
lea ecx, [ebp - 0x23c]
call fcn.00424420
jmp 0x424bc2
mov edx, dword [ebp - 0x220]
push edx
lea ecx, [ebp - 0x23c]
call fcn.00423dc0
lea ecx, [ebp - 0x23c]
call fcn.00424640
push eax
mov ecx, 0x4404d8
call fcn.00421140
push str._xml
mov ecx, 0x4404d8
call fcn.00420b70
mov ecx, 0x4404f4
call fcn.00424640
push eax
mov ecx, 0x4404d8
call fcn.00420b70
test eax, eax
jne 0x424c0f
push 0x437504
mov ecx, 0x4404d8
call fcn.00420b70
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x23c]
call fcn.00424660
push 0x43750c
push 0x440fe8
mov eax, dword [ebp + 8]
push eax
mov ecx, 0x4404d8
call fcn.00420ae0
test eax, eax
je 0x424d2a
mov dword [ebp - 0x244], str.LINK64VAR_PRODUCTNAME
push 0
mov ecx, dword [ebp - 0x244]
push ecx
mov ecx, 0x440fe8
call fcn.004248e0
mov dword [ebp - 0x240], eax
cmp dword [ebp - 0x240], 0
jl 0x424d1e
lea ecx, [ebp - 0x264]
call fcn.004247a0
mov dword [ebp - 4], 2
lea edx, [ebp - 0x264]
push edx
call fcn.004249d0
add esp, 4
mov eax, dword [ebp - 0x244]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, dword [ebp - 0x240]
push eax
mov ecx, 0x440fe8
call fcn.00424150
push eax
lea ecx, [ebp - 0x254]
call fcn.00424720
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x240]
push ecx
mov ecx, 0x440fe8
call fcn.004241f0
lea ecx, [ebp - 0x264]
call fcn.00424640
push eax
mov ecx, 0x440fe8
call fcn.00424510
lea ecx, [ebp - 0x254]
call fcn.00424640
push eax
mov ecx, 0x440fe8
call fcn.00424510
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x254]
call fcn.00424660
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x264]
call fcn.00424660
mov ecx, 0x440fe8
call fcn.00424640
jmp 0x424d43
push str._string_not_found_
mov ecx, 0x440fe8
call fcn.00424420
mov ecx, 0x440fe8
call fcn.00424640
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004042ce
mov esp, ebp
pop ebp
ret