Function at 0x459630
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x525d7d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x108
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
push str.InjectHtml
mov ecx, 0x583380
call fcn.00410130
push 0x541b4c
mov ecx, 0x583464
call fcn.004389a0
lea ecx, [ebp - 0x38]
call fcn.00419530
mov dword [ebp - 4], 0
push 0x541b44
push 0x8c
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x4596de
mov eax, dword [ebp - 0x18]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
je 0x4596de
mov ecx, dword [ebp - 0x18]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x44], eax
mov edx, dword [ebp - 0x40]
push edx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x44]
push eax
mov ecx, dword [ebp - 0x48]
push ecx
lea ecx, [ebp - 0x38]
call fcn.00402f80
lea ecx, [ebp - 0x3c]
call fcn.0044e4a0
mov byte [ebp - 4], 1
push str.__DOCTYPE_html_PUBLIC_____W3C__DTD_XHTML_1.0_Transitional__EN___http:__www.w3.org_TR_xhtml1_DTD_xhtml1_transitional.dtd___html_xmlns_http:__www.w3.org_1999_xhtml__
lea ecx, [ebp - 0x3c]
call fcn.0041f070
push str.___head_
lea ecx, [ebp - 0x3c]
call fcn.0041f070
push str._t_meta_http_equiv_X_UA_Compatible__content_IEEdge__
lea ecx, [ebp - 0x3c]
call fcn.0041f070
push str._____META_HTTP_EQUIV_Pragma__CONTENT_no_cache____
lea ecx, [ebp - 0x3c]
call fcn.0041f070
push str._____meta_http_equiv_Content_Type__content_text_html__charsetutf_8____
lea ecx, [ebp - 0x3c]
call fcn.0041f070
push str.____head_
lea ecx, [ebp - 0x3c]
call fcn.0041f070
push str.___body_unselectableon_onselectstartreturn_false__onmousedownreturn_false__style_cursor:default_width:670px_height:410px_margin:0_overflow:hidden_overflow_x:hidden_overflow_y:hidden____
lea ecx, [ebp - 0x3c]
call fcn.0041f070
lea ecx, [ebp - 0x38]
call fcn.00419640
push eax
lea ecx, [ebp - 0x14]
call fcn.004218e0
mov byte [ebp - 4], 2
push str._____script_class__allowed__type_text_javascript__language_Javascript__
lea ecx, [ebp - 0x3c]
call fcn.0041f070
lea edx, [ebp - 0x14]
push edx
lea ecx, [ebp - 0x3c]
call fcn.00413ae0
push str.______script_
lea ecx, [ebp - 0x3c]
call fcn.0041f070
push str._____div_class__ParentContainer__
lea ecx, [ebp - 0x3c]
call fcn.0041f070
push str.______div_
lea ecx, [ebp - 0x3c]
call fcn.0041f070
push str.____body_
lea ecx, [ebp - 0x3c]
call fcn.0041f070
push str.__html_
lea ecx, [ebp - 0x3c]
call fcn.0041f070
mov byte [ebp - 4], 3
cmp dword [0x583474], 0
je 0x4597f7
mov dword [0x583474], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.00401640
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x3c]
call fcn.00401640
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.00401ef0
jmp 0x4599ac
mov dword [0x583474], 1
mov dword [ebp - 0x4c], 0
lea ecx, [ebp - 0x3c]
call fcn.0041f690
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
add eax, 1
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0x60], eax
mov ecx, dword [ebp - 0x60]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0x54], eax
mov edx, dword [ebp - 0x50]
add edx, 1
push edx
lea ecx, [ebp - 0x3c]
call fcn.00459cf0
push eax
lea ecx, [ebp - 0x108]
call fcn.0041f550
mov dword [ebp - 0x10c], eax
mov eax, dword [ebp - 0x10c]
mov dword [ebp - 0x110], eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x110]
call fcn.00459cf0
push eax
lea ecx, [ebp - 0x84]
call fcn.004025c0
mov dword [ebp - 0x114], eax
mov ecx, dword [ebp - 0x114]
mov dword [ebp - 0x118], ecx
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x118]
call fcn.00419640
push eax
mov edx, dword [ebp - 0x54]
push edx
call fcn.004dffb0
add esp, 0xc
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x84]
call fcn.00401ef0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x108]
call fcn.0041f590
mov eax, dword [ebp - 0x60]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea ecx, [ebp - 0x58]
push ecx
push 1
mov edx, dword [ebp - 0x60]
push edx
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0
jl 0x459942
mov ecx, dword [0x58345c]
call fcn.0047a1d0
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0
je 0x459942
lea eax, [ebp - 0x4c]
push eax
push 0x553ae4
mov ecx, dword [ebp - 0x64]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x64]
push eax
mov ecx, dword [edx]
call ecx
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x4c], 0
je 0x459942
mov edx, dword [ebp - 0x4c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x4c]
push ecx
mov edx, dword [eax + 0x20]
call edx
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x58]
push eax
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x4c]
push eax
mov ecx, dword [edx + 0x14]
call ecx
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x4c], 0
je 0x459956
mov edx, dword [ebp - 0x4c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x4c]
push ecx
mov edx, dword [eax + 8]
call edx
mov eax, dword [ebp - 0x60]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x45997e
mov dword [ebp - 4], 2
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.00401640
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x3c]
call fcn.00401640
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.00401ef0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret