Function at 0x411ee0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0xffffffffffffffff
push 0x4cb866
mov eax, dword fs:[0]
push eax
sub esp, 0xec
mov eax, dword [0x512f80]
xor eax, esp
mov dword [esp + 0xe8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x512f80]
xor eax, esp
push eax
lea eax, [esp + 0x100]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x20], ebx
mov esi, ecx
mov dword [esp + 0x5c], esi
mov dword [esp + 0xf8], 0xf
mov dword [esp + 0xf4], ebx
mov byte [esp + 0xe4], bl
mov dword [esp + 0x108], 1
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push str.CONFIGDATA
mov edi, eax
push str.CLIENTAPP_FILENAME
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov ebp, eax
cmp ebp, ebx
jne 0x412031
push 1
mov esi, 0xf
push 0x4e2c88
lea ecx, [esp + 0x48]
mov dword [esp + 0x60], esi
mov dword [esp + 0x5c], ebx
mov byte [esp + 0x4c], bl
call fcn.0040e480
mov byte [esp + 0x108], 2
push 0x18
push str.Unable_to_find_resource
lea ecx, [esp + 0x2c]
mov dword [esp + 0x44], esi
mov dword [esp + 0x40], ebx
mov byte [esp + 0x30], bl
call fcn.0040e480
mov byte [esp + 0x108], 3
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x90]
push ecx
mov ecx, str.CONFIGDATA
call fcn.00408aa0
mov byte [esp + 0x110], 4
lea edx, [esp + 0x48]
push edx
push eax
lea eax, [esp + 0xd4]
push eax
call fcn.00408900
add esp, 0x14
mov byte [esp + 0x108], 5
push eax
lea ecx, [esp + 0xac]
push ecx
mov ecx, str.CLIENTAPP_FILENAME
call fcn.00408aa0
add esp, 8
mov byte [esp + 0x108], 6
push eax
lea edx, [esp + 0x64]
push edx
call fcn.0040e350
push 0x5026f0
lea eax, [esp + 0x64]
push eax
call fcn.00488a7c
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, ebx
jne 0x412103
push 1
mov esi, 0xf
push 0x4e2c88
lea ecx, [esp + 0x2c]
mov dword [esp + 0x44], esi
mov dword [esp + 0x40], ebx
mov byte [esp + 0x30], bl
call fcn.0040e480
mov byte [esp + 0x108], 7
push 0x18
push str.Unable_to_load_resource
lea ecx, [esp + 0x48]
mov dword [esp + 0x60], esi
mov dword [esp + 0x5c], ebx
mov byte [esp + 0x4c], bl
call fcn.0040e480
mov byte [esp + 0x108], 8
lea ecx, [esp + 0x40]
push ecx
lea edx, [esp + 0xac]
push edx
mov ecx, str.CONFIGDATA
call fcn.00408aa0
mov byte [esp + 0x110], 9
lea ecx, [esp + 0x2c]
push ecx
push eax
lea edx, [esp + 0xd4]
push edx
call fcn.00408900
add esp, 0x14
mov byte [esp + 0x108], 0xa
push eax
lea eax, [esp + 0x90]
push eax
mov ecx, str.CLIENTAPP_FILENAME
call fcn.00408aa0
add esp, 8
mov byte [esp + 0x108], 0xb
push eax
lea ecx, [esp + 0x64]
push ecx
call fcn.0040e350
push 0x5026f0
lea edx, [esp + 0x64]
push edx
call fcn.00488a7c
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, eax
cmp ecx, ebx
mov dword [esp + 0x18], ecx
je 0x412157
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x412117
push ebp
sub eax, edx
push edi
mov dword [esp + 0x24], eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
cmp dword [esp + 0x1c], eax
jbe 0x412153
push 0x5d9
push str..BootStrapperApp.cpp
push str.____szResource____strlen__szResource_____SizeofResource_hModule__hRes____
push ecx
call fcn.0042c7e0
add esp, 4
mov ecx, eax
call fcn.0042ca10
mov ecx, dword [esp + 0x18]
mov ebp, 0xf
mov eax, ecx
mov dword [esi + 0x18], ebp
mov dword [esi + 0x14], ebx
mov byte [esi + 4], bl
lea edi, [eax + 1]
lea ebx, [ebx]
mov dl, byte [eax]
add eax, 1
cmp dl, bl
jne 0x412170
sub eax, edi
push eax
push ecx
mov ecx, esi
call fcn.0040e480
mov dword [esp + 0x20], 1
mov byte [esp + 0x108], bl
cmp dword [esp + 0xf8], 0x10
jb 0x4121ad
mov eax, dword [esp + 0xe4]
push eax
call fcn.004606bf
add esp, 4
mov dword [esp + 0xf8], ebp
mov dword [esp + 0xf4], ebx
mov byte [esp + 0xe4], bl
mov eax, esi
mov ecx, dword [esp + 0x100]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xe8]
xor ecx, esp
call fcn.0048162f
add esp, 0xf8
ret