Function at 0x46bca0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x475990
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x94
mov dword [ebp - 0x84], ecx
push 0xf0
movzx eax, word [ebp + 8]
push eax
mov ecx, 0x49d688
call fcn.0041c0d0
push eax
call dword [0x49c254]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
cmp dword [ebp - 0x20], 0
je 0x46bd28
mov ecx, dword [ebp - 0x20]
push ecx
mov ecx, 0x49d688
call fcn.0041c0d0
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x46bd28
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x10], eax
push 5
movzx eax, word [ebp + 8]
push eax
mov ecx, 0x49d688
call fcn.0041c0d0
push eax
call dword [0x49c254]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x46c1d6
mov ecx, dword [ebp - 0x14]
push ecx
mov ecx, 0x49d688
call fcn.0041c0d0
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], 0
cmp dword [ebp - 0x28], 0
je 0x46c1ce
mov edx, dword [ebp - 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x46c1c4
mov eax, dword [ebp - 0x24]
push eax
call fcn.004048b0
add esp, 4
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x24]
push ecx
call fcn.004048d0
add esp, 4
mov dx, word [eax]
mov word [ebp - 0x38], dx
mov eax, dword [ebp - 0x24]
push eax
call fcn.00404900
add esp, 4
mov dword [ebp - 0x30], eax
push 5
lea ecx, [ebp - 0x78]
push ecx
mov ecx, dword [ebp - 0x84]
add ecx, 4
call fcn.004050a0
mov ecx, eax
call fcn.00405020
mov dword [ebp - 0x34], eax
mov word [ebp - 0x3c], 0
jmp 0x46bdf0
mov dx, word [ebp - 0x3c]
add dx, 1
mov word [ebp - 0x3c], dx
movzx eax, word [ebp - 0x3c]
movzx ecx, word [ebp - 0x38]
cmp eax, ecx
jge 0x46c1c2
cmp dword [ebp - 0x2c], 0
je 0x46be14
mov edx, dword [ebp - 0x30]
mov eax, dword [edx + 0x14]
mov dword [ebp - 0x88], eax
jmp 0x46be21
mov ecx, dword [ebp - 0x30]
movzx edx, word [ecx + 0x10]
mov dword [ebp - 0x88], edx
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x2c]
push ecx
mov edx, dword [ebp - 0x30]
push edx
call fcn.00404b50
add esp, 8
movzx eax, al
test eax, eax
je 0x46c193
mov dword [ebp - 0x44], 0
lea ecx, [ebp - 0x44]
push ecx
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x40]
push eax
call fcn.00404ac0
add esp, 0xc
mov dword [ebp - 0x50], eax
lea ecx, [ebp - 0x48]
call fcn.00407ba0
mov dword [ebp - 4], 0
cmp dword [ebp - 0x50], 0
je 0x46bef0
mov ecx, dword [ebp - 0x50]
push ecx
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0
je 0x46bed5
mov edx, dword [ebp - 0x54]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x58], eax
mov ecx, dword [ebp - 0x50]
push ecx
mov edx, dword [ebp - 0x58]
push edx
mov eax, dword [ebp - 0x5c]
push eax
call sub.MSVCR71.dll_memcpy
add esp, 0xc
mov ecx, dword [ebp - 0x54]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea ecx, [ebp - 0x48]
call fcn.004061b0
push eax
push 1
mov edx, dword [ebp - 0x54]
push edx
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
jmp 0x46bef0
mov dword [ebp - 0x1c], 0x8007000e
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.00446c20
jmp 0x46c1c2
lea ecx, [ebp - 0x4c]
call fcn.004608e0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x48]
call fcn.00405020
push eax
call fcn.00404c90
add esp, 8
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jl 0x46c176
push 0
lea ecx, [ebp - 0x74]
call fcn.00403a30
cmp dword [ebp - 0x2c], 0
je 0x46bf3c
mov ecx, dword [ebp - 0x30]
add ecx, 0x18
mov dword [ebp - 0x8c], ecx
jmp 0x46bf48
mov edx, dword [ebp - 0x30]
add edx, 0x12
mov dword [ebp - 0x8c], edx
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x2c], 0
je 0x46bf67
mov ecx, dword [ebp - 0x30]
mov dx, word [ecx + 0xc]
mov word [ebp - 0x8e], dx
jmp 0x46bf75
mov eax, dword [ebp - 0x30]
mov cx, word [eax + 8]
mov word [ebp - 0x8e], cx
movsx edx, word [ebp - 0x8e]
mov dword [ebp - 0x6c], edx
cmp dword [ebp - 0x2c], 0
je 0x46bf95
mov eax, dword [ebp - 0x30]
mov cx, word [eax + 0xe]
mov word [ebp - 0x90], cx
jmp 0x46bfa3
mov edx, dword [ebp - 0x30]
mov ax, word [edx + 0xa]
mov word [ebp - 0x90], ax
movsx ecx, word [ebp - 0x90]
mov dword [ebp - 0x68], ecx
cmp dword [ebp - 0x2c], 0
je 0x46bfc3
mov edx, dword [ebp - 0x30]
mov ax, word [edx + 0x10]
mov word [ebp - 0x92], ax
jmp 0x46bfd1
mov ecx, dword [ebp - 0x30]
mov dx, word [ecx + 0xc]
mov word [ebp - 0x92], dx
movsx eax, word [ebp - 0x92]
add eax, dword [ebp - 0x6c]
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x2c], 0
je 0x46bff4
mov ecx, dword [ebp - 0x30]
mov dx, word [ecx + 0x12]
mov word [ebp - 0x94], dx
jmp 0x46c002
mov eax, dword [ebp - 0x30]
mov cx, word [eax + 0xe]
mov word [ebp - 0x94], cx
movsx edx, word [ebp - 0x94]
add edx, dword [ebp - 0x68]
mov dword [ebp - 0x60], edx
lea eax, [ebp - 0x6c]
push eax
mov ecx, dword [ebp - 0x84]
call fcn.004037a0
cmp dword [ebp - 0x2c], 0
je 0x46c032
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx + 0x14]
mov dword [ebp - 0x98], edx
jmp 0x46c03f
mov eax, dword [ebp - 0x30]
movzx ecx, word [eax + 0x10]
mov dword [ebp - 0x98], ecx
cmp dword [ebp - 0x2c], 0
je 0x46c053
mov edx, dword [ebp - 0x30]
mov eax, dword [edx + 4]
mov dword [ebp - 0x9c], eax
jmp 0x46c05d
mov dword [ebp - 0x9c], 0
cmp dword [ebp - 0x2c], 0
je 0x46c071
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx + 8]
mov dword [ebp - 0xa0], edx
jmp 0x46c07c
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax]
mov dword [ebp - 0xa0], ecx
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0x7c], esp
mov edx, dword [ebp - 0x98]
push edx
call fcn.00428420
mov eax, dword [ebp - 0x9c]
push eax
mov ecx, dword [ebp - 0xa0]
or ecx, 0x10000
push ecx
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0x80], esp
lea edx, [ebp - 0x6c]
push edx
call fcn.00428420
mov eax, dword [ebp - 0x84]
mov ecx, dword [eax + 4]
push ecx
lea ecx, [ebp - 0x74]
call fcn.00403a50
lea ecx, [ebp - 0x74]
call fcn.00405020
test eax, eax
je 0x46c16e
cmp dword [ebp - 0x2c], 0
je 0x46c0f3
mov edx, dword [ebp - 0x30]
cmp dword [edx], 0
je 0x46c0f3
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax]
push ecx
lea ecx, [ebp - 0x74]
call fcn.00405100
lea ecx, [ebp - 0x4c]
call fcn.00405020
push eax
push 0
lea ecx, [ebp - 0x48]
call fcn.00405020
push eax
mov edx, dword [ebp - 0x70]
push edx
lea ecx, [ebp - 0x74]
call fcn.00403aa0
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jge 0x46c13c
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4c]
call fcn.004011d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.00446c20
jmp 0x46c1c2
movzx eax, word [ebp - 0x3c]
test eax, eax
jne 0x46c14b
mov dword [ebp - 0x34], 0
push 0x13
push 0
push 0
push 0
push 0
mov ecx, dword [ebp - 0x34]
push ecx
lea ecx, [ebp - 0x74]
call fcn.00405030
lea ecx, [ebp - 0x74]
call fcn.00405020
mov dword [ebp - 0x34], eax
jmp 0x46c176
call fcn.004031c0
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4c]
call fcn.004011d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.00446c20
jmp 0x46c1aa
movzx edx, word [ebp - 0x3c]
test edx, edx
je 0x46c1aa
push 2
mov eax, dword [ebp - 0x34]
push eax
call dword [sym.imp.USER32.dll_GetWindow]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x2c]
push ecx
mov edx, dword [ebp - 0x30]
push edx
call fcn.00404a00
add esp, 8
mov dword [ebp - 0x30], eax
jmp 0x46bde4
jmp 0x46c1cc
call fcn.004031c0
mov dword [ebp - 0x1c], eax
jmp 0x46c1d6
call fcn.004031c0
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4