Function at 0x474510
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0xffffffffffffffff
push 0x58dd33
mov eax, dword fs:[0]
push eax
sub esp, 0x298
mov eax, dword [0x5ea2c4]
xor eax, esp
mov dword [esp + 0x290], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5ea2c4]
xor eax, esp
push eax
lea eax, [esp + 0x2ac]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x2bc]
mov eax, dword [ebp + 4]
push 0xfffffffffffffff0
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, dword [ebp + 4]
and eax, 0xff3fffff
or eax, 0x6000000
push eax
push 0xfffffffffffffff0
push ecx
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov eax, dword [ebp + 4]
lea edx, [esp + 0x20]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
push 0x20
sub ecx, eax
push ecx
mov ecx, dword [esp + 0x28]
sub edx, ecx
push edx
push eax
mov eax, dword [ebp + 4]
push ecx
xor ebx, ebx
push ebx
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [ebp + 4]
lea edi, [ebp + 0x34]
push eax
mov dword [esp + 0x1c], edi
mov dword [edi], eax
call dword [sym.imp.USER32.dll_GetDC]
push edi
mov esi, 0x5f0b00
mov dword [edi + 8], eax
call fcn.00466e90
mov dword [esp + 0xb4], ebx
mov dword [esp + 0xb8], ebx
mov dword [esp + 0xbc], ebx
mov byte [esp + 0x1f0], 1
mov dword [esp + 0x1f4], ebx
mov dword [esp + 0x1f8], ebx
mov dword [esp + 0x2b4], ebx
mov ecx, dword [0x5eccf0]
cmp word [ecx], bx
jne 0x474682
lea edi, [esp + 0x1fc]
call fcn.00449010
mov byte [esp + 0x2b4], 1
mov edx, dword [ebp]
mov edx, dword [edx + 4]
lea eax, [esp + 0x30]
push eax
mov ecx, ebp
call edx
mov eax, dword [eax]
cmp eax, ebx
je 0x47463b
push eax
mov eax, edi
push eax
call fcn.004670a0
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x34]
cmp eax, ecx
je 0x474650
push eax
call fcn.005282dc
add esp, 4
mov eax, dword [esp + 0x1fc]
call fcn.00449160
mov byte [esp + 0x2b4], bl
mov eax, dword [esp + 0x1fc]
lea edx, [esp + 0x200]
cmp eax, edx
je 0x47467e
push eax
call fcn.005282dc
add esp, 4
mov edi, dword [esp + 0x18]
mov eax, dword [ebp]
mov edx, dword [eax + 8]
mov ecx, ebp
call edx
sub eax, 2
je 0x47479c
sub eax, 2
jne 0x4747d6
mov esi, dword [0x5f069c]
cmp esi, ebx
jne 0x4746ae
mov esi, dword [0x5f01bc]
mov eax, dword [ebp]
mov edx, dword [eax + 0xc]
push str.ZIPRES
mov ecx, ebp
call edx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
mov dword [esp + 0x14], esi
cmp esi, ebx
jne 0x4746fe
mov eax, dword [esp + 0xb4]
cmp eax, ebx
je 0x4746e3
push eax
call fcn.005282dc
add esp, 4
mov eax, dword [esp + 0xb8]
cmp eax, ebx
je 0x4746f7
push eax
call fcn.005282dc
add esp, 4
xor al, al
jmp 0x4749a6
mov eax, dword [0x5f069c]
cmp eax, ebx
jne 0x47470c
mov eax, dword [0x5f01bc]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [esp + 0x1c], eax
cmp eax, ebx
jne 0x474736
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
lea esi, [esp + 0xb4]
call fcn.0044e9a0
xor al, al
jmp 0x4749a6
mov eax, dword [0x5f069c]
cmp eax, ebx
jne 0x474744
mov eax, dword [0x5f01bc]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
cmp esi, ebx
je 0x474723
push esi
call fcn.0052680d
add esp, 4
mov dword [0x5f06d0], eax
cmp eax, ebx
je 0x474780
mov eax, dword [esp + 0x1c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [0x5f06d0]
push eax
push ecx
call fcn.00530500
add esp, 0xc
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [0x5f06d0]
push esi
push eax
call fcn.004491f0
add esp, 8
jmp 0x4747d6
mov edx, dword [ebp]
mov edx, dword [edx + 0x10]
lea eax, [esp + 0x30]
push eax
mov ecx, ebp
call edx
mov byte [esp + 0x2b4], 2
mov ecx, dword [eax]
call fcn.00449290
mov byte [esp + 0x2b4], bl
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x34]
cmp eax, ecx
je 0x4747d6
push eax
call fcn.005282dc
add esp, 4
mov edx, dword [ebp]
mov eax, dword [edx + 8]
mov ecx, ebp
call eax
mov edx, dword [ebp]
mov edx, dword [edx]
cmp eax, 3
lea eax, [esp + 0x30]
mov ecx, ebp
push eax
jne 0x47482f
call edx
mov eax, dword [eax]
push eax
call fcn.00527f79
movzx esi, ax
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0x38]
add esp, 4
cmp eax, ecx
je 0x474816
push eax
call fcn.005282dc
add esp, 4
push ebx
push edi
push ebx
push 0x5a5000
push esi
lea ecx, [esp + 0xc8]
call fcn.004442b0
mov esi, eax
jmp 0x474872
call edx
push ebx
push edi
push ebx
push ebx
push ecx
mov byte [esp + 0x2c8], 3
mov eax, dword [eax]
mov ecx, esp
mov dword [ecx], eax
lea ecx, [esp + 0xc8]
mov dword [esp + 0x28], esp
call fcn.004442b0
mov esi, eax
mov byte [esp + 0x2b4], bl
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x34]
cmp eax, ecx
je 0x474872
push eax
call fcn.005282dc
add esp, 4
cmp esi, ebx
je 0x4746cf
lea edx, [esp + 0x1fc]
push edx
mov eax, 0x474a20
mov edx, ebp
call fcn.004776b0
add esp, 4
lea edi, [esi + 0x34]
mov ecx, eax
mov byte [esp + 0x2b4], 4
call fcn.00439b00
lea eax, [esp + 0x1fc]
mov byte [esp + 0x2b4], bl
call fcn.00473bb0
push esi
mov esi, dword [esp + 0x1c]
push esi
call fcn.0044ad90
push 0x20
call fcn.0052747b
mov edi, eax
add esp, 4
mov dword [esp + 0x14], edi
mov byte [esp + 0x2b4], 5
cmp edi, ebx
je 0x4748f1
lea eax, [edi + 4]
push eax
mov dword [edi], vtable.WebformDispatchImpl.0
call fcn.0048c030
mov dword [edi + 0x1c], ebx
jmp 0x4748f3
xor edi, edi
mov byte [esp + 0x2b4], bl
push 0x8c
mov dword [ebp + 0x844], edi
call fcn.0052747b
add esp, 4
mov dword [esp + 0x14], eax
mov byte [esp + 0x2b4], 6
cmp eax, ebx
je 0x47492d
mov ecx, dword [ebp + 0x844]
push ebx
push ecx
push eax
call fcn.0046bce0
jmp 0x47492f
xor eax, eax
mov byte [esp + 0x2b4], bl
mov dword [ebp + 0x848], eax
cmp eax, ebx
je 0x4746cf
push ebp
call fcn.004734d0
test al, al
jne 0x47495e
lea esi, [esp + 0xb4]
call fcn.0044e9a0
xor al, al
jmp 0x4749a6
movzx edx, byte [ebp + 0xc]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 4]
mov edi, dword [ebp + 0x848]
push edx
push eax
push ecx
call fcn.0046c5e0
mov ebp, dword [ebp + 0x848]
cmp ebp, ebx
je 0x47498b
mov esi, ebp
call fcn.0046c7d0
mov esi, dword [esp + 0x18]
lea ecx, [esi + 0xbc]
mov eax, esi
call fcn.004642b0
lea esi, [esp + 0xb4]
call fcn.0044e9a0
mov al, 1
mov ecx, dword [esp + 0x2ac]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x290]
xor ecx, esp
call fcn.005273c3
add esp, 0x2a4
ret 4