Function at 0x42b416
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5073f5
mov eax, dword fs:[0]
push eax
sub esp, 0xe8
mov eax, dword [0x543f30]
xor eax, esp
mov dword [esp + 0xe0], eax
push ebx
push esi
push edi
mov eax, dword [0x543f30]
xor eax, esp
push eax
lea eax, [esp + 0xf8]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x1c]
xor ebx, ebx
push eax
mov dword [esp + 0x18], ebx
call fcn.00405986
lea eax, [esp + 0x1c]
push str.reading_update_server_platform_from_resource
push eax
mov dword [esp + 0x108], ebx
call fcn.0040e1a9
pop ecx
pop ecx
push 0x35
mov esi, str.AdAwareCommon::UpdateServerPlatform::LoadFromResource
push esi
lea ecx, [esp + 0xc0]
mov dword [esp + 0xd4], 0xf
mov dword [esp + 0xd0], ebx
mov byte [esp + 0xc0], bl
call fcn.00401570
lea ecx, [esp + 0xd4]
lea eax, [esp + 0x1c]
mov byte [esp + 0x100], 1
call fcn.00405a2d
mov edi, eax
mov byte [esp + 0x100], 2
call fcn.0041f5f7
mov ecx, dword [eax + 4]
push edi
push 0x17
mov edi, 0x7d0
lea edx, [esp + 0xc0]
call fcn.00404574
push ebx
push 1
lea ecx, [esp + 0xdc]
call fcn.00401512
push ebx
push 1
lea ecx, [esp + 0xc0]
call fcn.0040136b
or dword [esp + 0x100], 0xffffffff
lea eax, [esp + 0x1c]
call fcn.0040380f
call fcn.004c2ef0
push str.UPDATE_SERVER
push str.PLATFORM
mov edi, 0x400000
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [esp + 0x18], eax
cmp eax, ebx
je 0x42b6cd
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [esp + 0x14], eax
cmp eax, ebx
je 0x42b650
push dword [esp + 0x18]
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
cmp eax, ebx
je 0x42b5ce
mov dword [esp + 0xcc], 0xf
mov dword [esp + 0xc8], ebx
mov byte [esp + 0xb8], bl
push dword [esp + 0x14]
lea ecx, [esp + 0xbc]
push eax
mov dword [esp + 0x108], 3
call fcn.00401570
push dword [esp + 0x10]
lea ecx, [esp + 0xbc]
call fcn.004332f0
pop ecx
push ebx
push 1
lea ecx, [esp + 0xc0]
call fcn.0040136b
mov eax, dword [esp + 0x10]
jmp 0x42b79b
lea eax, [esp + 0x1c]
push eax
call fcn.00405986
lea eax, [esp + 0x1c]
push str.coudnt_get_resource_data
push eax
mov dword [esp + 0x108], 4
call fcn.0040dc1c
pop ecx
pop ecx
push 0x35
push esi
lea ecx, [esp + 0xc0]
mov dword [esp + 0xd4], 0xf
mov dword [esp + 0xd0], ebx
mov byte [esp + 0xc0], bl
call fcn.00401570
lea ecx, [esp + 0xd4]
lea eax, [esp + 0x1c]
mov byte [esp + 0x100], 5
call fcn.00405a2d
mov esi, eax
mov byte [esp + 0x100], 6
call fcn.0041f5f7
push esi
push 0x2a
mov edi, 0xfa0
jmp 0x42b74a
lea eax, [esp + 0x1c]
push eax
call fcn.00405986
lea eax, [esp + 0x1c]
push str.coudnt_get_resource_data_size
push eax
mov dword [esp + 0x108], 7
call fcn.0040dc1c
pop ecx
pop ecx
push 0x35
push esi
lea ecx, [esp + 0xc0]
mov dword [esp + 0xd4], 0xf
mov dword [esp + 0xd0], ebx
mov byte [esp + 0xc0], bl
call fcn.00401570
lea ecx, [esp + 0xd4]
lea eax, [esp + 0x1c]
mov byte [esp + 0x100], 8
call fcn.00405a2d
mov esi, eax
mov byte [esp + 0x100], 9
call fcn.0041f5f7
push esi
push 0x30
jmp 0x42b646
lea eax, [esp + 0x1c]
push eax
call fcn.00405986
lea eax, [esp + 0x1c]
push str.couldnt_find_resource_data
push eax
mov dword [esp + 0x108], 0xa
call fcn.0040e1a9
pop ecx
pop ecx
push 0x35
push esi
lea ecx, [esp + 0xc0]
mov dword [esp + 0xd4], 0xf
mov dword [esp + 0xd0], ebx
mov byte [esp + 0xc0], bl
call fcn.00401570
lea ecx, [esp + 0xd4]
lea eax, [esp + 0x1c]
mov byte [esp + 0x100], 0xb
call fcn.00405a2d
mov esi, eax
mov byte [esp + 0x100], 0xc
call fcn.0041f5f7
push esi
push 0x36
mov edi, 0x7d0
mov ecx, dword [eax + 4]
lea edx, [esp + 0xc0]
call fcn.00404574
push ebx
push 1
lea ecx, [esp + 0xdc]
call fcn.00401512
push ebx
push 1
lea ecx, [esp + 0xc0]
call fcn.0040136b
or dword [esp + 0x100], 0xffffffff
lea eax, [esp + 0x1c]
call fcn.0040380f
mov eax, dword [esp + 0x10]
xor ecx, ecx
mov dword [eax + 0x14], 7
mov dword [eax + 0x10], ebx
mov word [eax], cx
mov ecx, dword [esp + 0xf8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xe0]
xor ecx, esp
call fcn.0049d196
mov esp, ebp
pop ebp
ret