Function at 0x421849
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x19c
mov eax, 0x534310
call fcn.00498d88
mov edi, ecx
mov dword [ebp - 0x74], edi
push 1
xor ebx, ebx
lea ecx, [ebp - 0x110]
push 2
mov dword [ebp - 0x78], ebx
call fcn.00405b93
lea eax, [ebp - 0x110]
mov dword [ebp - 4], ebx
push str.reading_update_server_platform_from_resource
push eax
call fcn.0040b48c
pop ecx
pop ecx
push str.AdAwareCommon::UpdateServerPlatform::LoadFromResource
lea ecx, [ebp - 0x28]
call fcn.0040533b
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x110]
call fcn.00405b34
mov esi, eax
mov byte [ebp - 4], 2
call fcn.0041ca57
push esi
push 0x7d0
push 0x18
lea ecx, [ebp - 0x28]
push ecx
mov ecx, dword [eax + 4]
call fcn.0040446d
push ebx
push 1
lea ecx, [ebp - 0x40]
call fcn.00401a2d
push ebx
push 1
lea ecx, [ebp - 0x28]
call fcn.00401c36
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x110]
call fcn.00403f0a
call fcn.0049aef0
push str.UPDATE_SERVER
push str.PLATFORM
mov esi, 0x400000
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
je 0x421a61
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
test esi, esi
je 0x421a00
push ebx
push 0x400000
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x421975
xor ebx, ebx
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], ebx
mov byte [ebp - 0x28], bl
push esi
push eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 3
call fcn.00407bfd
push ecx
lea edx, [ebp - 0x28]
mov ecx, edi
call fcn.00457300
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x28]
call fcn.00401c36
jmp 0x421afb
push 1
push 2
lea ecx, [ebp - 0x110]
call fcn.00405b93
lea eax, [ebp - 0x110]
mov dword [ebp - 4], 4
push str.coudnt_get_resource_data
push eax
call fcn.0040b6ba
pop ecx
pop ecx
push str.AdAwareCommon::UpdateServerPlatform::LoadFromResource
lea ecx, [ebp - 0x28]
call fcn.0040533b
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x110]
call fcn.00405b34
mov esi, eax
mov byte [ebp - 4], 6
call fcn.0041ca57
push esi
push 0xfa0
push 0x2b
lea ecx, [ebp - 0x28]
push ecx
mov ecx, dword [eax + 4]
call fcn.0040446d
xor ebx, ebx
lea ecx, [ebp - 0x40]
push ebx
push 1
call fcn.00401a2d
push ebx
push 1
lea ecx, [ebp - 0x28]
call fcn.00401c36
lea ecx, [ebp - 0x110]
jmp 0x421ae7
push 1
push 2
lea ecx, [ebp - 0x110]
call fcn.00405b93
lea eax, [ebp - 0x110]
mov dword [ebp - 4], 7
push str.coudnt_get_resource_data_size
push eax
call fcn.0040b6ba
pop ecx
pop ecx
push str.AdAwareCommon::UpdateServerPlatform::LoadFromResource
lea ecx, [ebp - 0x28]
call fcn.0040533b
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0x110]
call fcn.00405b34
mov esi, eax
mov byte [ebp - 4], 9
call fcn.0041ca57
push esi
push 0xfa0
push 0x31
jmp 0x4219d1
push 1
push 2
lea ecx, [ebp - 0x1a8]
call fcn.00405b93
lea eax, [ebp - 0x1a8]
mov dword [ebp - 4], 0xa
push str.couldnt_find_resource_data
push eax
call fcn.0040b48c
pop ecx
pop ecx
push str.AdAwareCommon::UpdateServerPlatform::LoadFromResource
lea ecx, [ebp - 0x58]
call fcn.0040533b
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 0xb
push eax
lea ecx, [ebp - 0x1a8]
call fcn.00405b34
mov esi, eax
mov byte [ebp - 4], 0xc
call fcn.0041ca57
push esi
push 0x7d0
push 0x37
lea ecx, [ebp - 0x58]
push ecx
mov ecx, dword [eax + 4]
call fcn.0040446d
xor ebx, ebx
lea ecx, [ebp - 0x70]
push ebx
push 1
call fcn.00401a2d
push ebx
push 1
lea ecx, [ebp - 0x58]
call fcn.00401c36
lea ecx, [ebp - 0x1a8]
call fcn.00403f0a
xor eax, eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], ebx
mov word [edi], ax
mov eax, edi
call fcn.00498d32
ret