Function at 0x45e170
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46d7eb
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x64
push ebx
push esi
push edi
mov eax, dword [0x4a0b70]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x6c], ecx
push str.InitUIStrings...
lea ecx, [ebp - 0x48]
call fcn.00401ee0
mov dword [ebp - 4], 0
push 0
lea eax, [ebp - 0x48]
push eax
push 2
call fcn.00467240
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.00405260
push str.ArmUI.ini
mov ecx, dword [ebp - 0x6c]
add ecx, 0xd0
push ecx
lea edx, [ebp - 0x4c]
push edx
call fcn.004014f0
add esp, 0xc
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x74], eax
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x74]
push ecx
mov ecx, dword [ebp - 0x6c]
add ecx, 0xcc
call fcn.00402990
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
call fcn.00405260
push str.ARM_UI_INI
push 0x83
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x45e280
push str.FindResource_failed:
lea ecx, [ebp - 0x50]
call fcn.00401ee0
mov dword [ebp - 4], 2
push 0
mov edx, dword [ebp - 0x6c]
add edx, 0xcc
push edx
lea eax, [ebp - 0x50]
push eax
push 2
call fcn.00466c70
add esp, 0x10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50]
call fcn.00405260
mov eax, 1
jmp 0x45e48a
mov ecx, dword [ebp - 0x30]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x45e2dc
push str.LoadResource_failed:
lea ecx, [ebp - 0x54]
call fcn.00401ee0
mov dword [ebp - 4], 3
push 0
mov edx, dword [ebp - 0x6c]
add edx, 0xcc
push edx
lea eax, [ebp - 0x54]
push eax
push 2
call fcn.00466c70
add esp, 0x10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call fcn.00405260
mov eax, 1
jmp 0x45e48a
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x28], eax
mov edx, dword [ebp - 0x30]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x2c], eax
lea ecx, [ebp - 0x20]
call fcn.00410aa8
mov dword [ebp - 4], 4
push 0
push 0xffffffffffffffff
push 0
lea ecx, [ebp - 0x44]
call fcn.00401c90
mov byte [ebp - 4], 5
lea eax, [ebp - 0x44]
push eax
push 0x1021
mov ecx, dword [ebp - 0x6c]
add ecx, 0xcc
call fcn.00401fc0
push eax
lea ecx, [ebp - 0x20]
call fcn.00410ea9
test eax, eax
jne 0x45e39e
push str.Open_file_failed:
lea ecx, [ebp - 0x58]
call fcn.00401ee0
mov byte [ebp - 4], 6
push 0
mov ecx, dword [ebp - 0x6c]
add ecx, 0xcc
push ecx
lea edx, [ebp - 0x58]
push edx
push 2
call fcn.00466c70
add esp, 0x10
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x58]
call fcn.00405260
mov dword [ebp - 0x5c], 1
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x44]
call fcn.00401be0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.00410b83
mov eax, dword [ebp - 0x5c]
jmp 0x45e48a
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x20]
call fcn.004107de
jmp 0x45e40d
mov dword [ebp - 4], 5
jmp 0x45e436
lea ecx, [ebp - 0x20]
call fcn.00410a42
mov ecx, dword [ebp - 0x6c]
add ecx, 0x49c
call fcn.00402e00
push eax
mov ecx, dword [ebp - 0x6c]
add ecx, 0xcc
push ecx
mov ecx, dword [ebp - 0x6c]
add ecx, 0x5a8
call fcn.0045a280
mov dword [ebp - 0x68], 1
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x44]
call fcn.00401be0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.00410b83
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret