Function at 0x45f140
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x475020
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 0x45f1c8
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 0x45f1c8
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 0x45f676
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 0x45f66e
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 0x45f664
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 0x45f290
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 0x45f662
cmp dword [ebp - 0x2c], 0
je 0x45f2b4
mov edx, dword [ebp - 0x30]
mov eax, dword [edx + 0x14]
mov dword [ebp - 0x88], eax
jmp 0x45f2c1
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 0x45f633
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 0x45f390
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 0x45f375
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 0x45f390
mov dword [ebp - 0x1c], 0x8007000e
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.00446c20
jmp 0x45f662
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 0x45f616
push 0
lea ecx, [ebp - 0x74]
call fcn.00403a30
cmp dword [ebp - 0x2c], 0
je 0x45f3dc
mov ecx, dword [ebp - 0x30]
add ecx, 0x18
mov dword [ebp - 0x8c], ecx
jmp 0x45f3e8
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 0x45f407
mov ecx, dword [ebp - 0x30]
mov dx, word [ecx + 0xc]
mov word [ebp - 0x8e], dx
jmp 0x45f415
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 0x45f435
mov eax, dword [ebp - 0x30]
mov cx, word [eax + 0xe]
mov word [ebp - 0x90], cx
jmp 0x45f443
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 0x45f463
mov edx, dword [ebp - 0x30]
mov ax, word [edx + 0x10]
mov word [ebp - 0x92], ax
jmp 0x45f471
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 0x45f494
mov ecx, dword [ebp - 0x30]
mov dx, word [ecx + 0x12]
mov word [ebp - 0x94], dx
jmp 0x45f4a2
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 0x45f4d2
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx + 0x14]
mov dword [ebp - 0x98], edx
jmp 0x45f4df
mov eax, dword [ebp - 0x30]
movzx ecx, word [eax + 0x10]
mov dword [ebp - 0x98], ecx
cmp dword [ebp - 0x2c], 0
je 0x45f4f3
mov edx, dword [ebp - 0x30]
mov eax, dword [edx + 4]
mov dword [ebp - 0x9c], eax
jmp 0x45f4fd
mov dword [ebp - 0x9c], 0
cmp dword [ebp - 0x2c], 0
je 0x45f511
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx + 8]
mov dword [ebp - 0xa0], edx
jmp 0x45f51c
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 0x45f60e
cmp dword [ebp - 0x2c], 0
je 0x45f593
mov edx, dword [ebp - 0x30]
cmp dword [edx], 0
je 0x45f593
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 0x45f5dc
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 0x45f662
movzx eax, word [ebp - 0x3c]
test eax, eax
jne 0x45f5eb
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 0x45f616
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 0x45f64a
movzx edx, word [ebp - 0x3c]
test edx, edx
je 0x45f64a
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 0x45f284
jmp 0x45f66c
call fcn.004031c0
mov dword [ebp - 0x1c], eax
jmp 0x45f676
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