Function at 0x41c940
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0x44e310]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
push 0
call dword [sym.imp.ole32.dll_OleInitialize]
push dword [0x475d84]
call dword [sym.imp.gbui.dll_DUI_Init]
mov ebx, dword [0x475d84]
push 0x447c54
push 0x12d
push ebx
mov dword [ebp - 0x50], ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 0x4c], eax
test eax, eax
je 0x41c9b4
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push dword [ebp - 0x4c]
mov ebx, eax
push dword [ebp - 0x50]
mov dword [ebp - 0x54], ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x4c], eax
test eax, eax
jne 0x41c9e0
push eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
push 0
push 0x447c58
push 0x447c60
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00429eaf
mov esp, ebp
pop ebp
ret 4
lea eax, [ebx + 1]
push eax
call fcn.00429b46
push dword [ebp - 0x54]
mov ebx, eax
push dword [ebp - 0x4c]
push ebx
call fcn.0042d820
mov eax, dword [ebp - 0x54]
add esp, 0x10
push dword [ebp - 0x4c]
mov byte [ebx + eax], 0
call dword [sym.imp.KERNEL32.dll_FreeResource]
test ebx, ebx
je 0x41c9b4
push dword [ebp - 0x54]
push ebx
call dword [sym.imp.gbui.dll_LoadStyleZipMemory]
push str.play_game_window
push edi
push eax
mov dword [0x475d80], eax
call dword [sym.imp.gbui.dll_WindowManager_Attach]
test eax, eax
je 0x41cbd7
mov ebx, dword [sym.imp.gbui.dll_GetPluginByName]
push str.hwnd_gameinfo
push edi
call ebx
push str.game_flash
push edi
mov dword [ebp - 0x50], eax
call ebx
mov ecx, dword [0x475d70]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], 1
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x30], 1
mov dword [ebp - 0x38], 1
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x44], 1
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x2c], 1
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x24], 1
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
test ecx, ecx
je 0x41cb0c
mov eax, dword [ecx]
lea edx, [ebp - 0x48]
push edx
push dword [0x475d84]
push edi
call dword [eax + 8]
mov dword [esi + 0x20], eax
lea edx, [ebp - 0x48]
mov ecx, dword [0x475d70]
push edx
push dword [0x475d84]
mov eax, dword [ecx]
push edi
call dword [eax + 8]
mov dword [esi + 0x24], eax
mov ecx, dword [0x475d70]
mov eax, dword [ecx]
call dword [eax + 0x60]
mov ecx, dword [0x475d70]
mov edx, dword [esi + 0x20]
test edx, edx
je 0x41cb6a
test ecx, ecx
je 0x41cb5b
mov eax, dword [ecx]
push 0x402ad0
push edx
call dword [eax + 0x30]
mov ecx, dword [0x475d70]
push 0x402a00
push dword [esi + 0x20]
mov eax, dword [ecx]
call dword [eax + 0x2c]
mov ecx, dword [0x475d70]
push 0x4028e0
push dword [esi + 0x20]
mov eax, dword [ecx]
call dword [eax + 0x28]
mov ecx, dword [0x475d70]
push 0x402a70
push dword [esi + 0x20]
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, dword [ebp - 0x50]
push dword [esi + 0x20]
push ecx
mov eax, dword [ecx]
call dword [eax + 0x198]
mov ecx, dword [esi + 0x24]
test ecx, ecx
je 0x41cb7e
mov edx, dword [ebp - 0x4c]
push ecx
push edx
mov eax, dword [edx]
call dword [eax + 0x198]
push str.hwnd_loading_Ad
push edi
call ebx
mov ebx, eax
push ebx
call dword [sym.imp.gbui.dll_Plugin_IsValid]
test eax, eax
je 0x41c9c8
mov ecx, dword [0x475d70]
test ecx, ecx
je 0x41cbb4
mov eax, dword [ecx]
lea edx, [ebp - 0x48]
push edx
push dword [0x475d84]
push edi
call dword [eax + 8]
mov dword [esi + 0x28], eax
mov ecx, dword [esi + 0x28]
test ecx, ecx
je 0x41c9c8
mov eax, dword [ebx]
push ecx
push ebx
call dword [eax + 0x198]
push 1
push ebx
call dword [sym.imp.gbui.dll_Plugin_Redraw]
jmp 0x41c9c8
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00429eaf
mov esp, ebp
pop ebp
ret 4