Function at 0x46324c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x75f140]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, ecx
push esi
push edi
test eax, eax
je 0x46383c
cmp dword [eax + 4], 0
je 0x46383c
cmp dword [ebx + 0xc], 0
jne 0x46383c
mov eax, dword [ebx + 0x18]
xor ecx, ecx
and dword [ebp - 0x24], ecx
xor edi, edi
and dword [ebp - 0x1c], ecx
mov esi, 0x463d92
and dword [ebp - 0x28], ecx
and dword [ebp - 0x2c], ecx
and dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ecx
cmp dword [eax - 0xc], ecx
je 0x46335f
test eax, eax
je 0x4632d1
push eax
call fcn.0066be50
inc eax
pop ecx
cmp eax, 0x3fffffff
jg 0x4632c7
add eax, eax
push eax
call fcn.00429a90
pop ecx
test al, al
jne 0x4632d1
mov eax, 0x8007000e
jmp 0x463841
push esi
mov ecx, 0x75e5bc
call fcn.00456071
mov esi, eax
test esi, esi
je 0x463855
push 0
push 0
mov ecx, esi
call fcn.0046531b
mov eax, dword [esi + 0x14]
mov edi, dword [ebx + 0x18]
mov dword [ebp - 0x18], eax
mov eax, dword [eax]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x20], eax
test edi, edi
je 0x463318
push edi
call fcn.0066be50
pop ecx
lea esi, [eax + 1]
cmp esi, 0x3fffffff
jle 0x46331c
xor eax, eax
jmp 0x463330
lea eax, [esi + esi]
call fcn.0060a4f0
mov eax, esp
push 3
push esi
push edi
push eax
call fcn.00428117
mov esi, dword [ebp - 0x20]
lea ecx, [ebp - 0x14]
push ecx
push 1
push bind
push 0
push eax
push dword [ebp - 0x18]
mov ecx, esi
call dword [0x6bfdfc]
call esi
mov edi, eax
test edi, edi
jns 0x46352d
mov eax, edi
jmp 0x463841
cmp dword [ebx + 0x10], ecx
je 0x4634c8
and dword [ebp - 0x18], ecx
movzx esi, word [ebx + 0x10]
call fcn.00436ce4
mov ecx, dword [eax + 0xc]
mov eax, dword [ebx + 0x14]
mov dword [ebp - 8], ecx
test eax, eax
jne 0x463386
mov eax, str.image
push eax
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
mov edi, esi
neg edi
sbb edi, edi
and edi, 0x7fffbffb
add edi, 0x80004005
test esi, esi
je 0x4633c5
push esi
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
neg edi
sbb edi, edi
and edi, 0x7fffbffb
add edi, 0x80004005
jmp 0x4633c8
mov eax, dword [ebp - 0x18]
test edi, edi
js 0x46352d
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov dword [ebp - 0x20], eax
neg edi
sbb edi, edi
and edi, 0x7fffbffb
add edi, 0x80004005
test eax, eax
je 0x46352d
push esi
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
mov dword [ebp - 0x18], eax
neg edi
sbb edi, edi
and edi, 0x7fffbffb
add edi, 0x80004005
test eax, eax
je 0x46352d
push 0x463d92
mov ecx, 0x75e5bc
call fcn.00456071
mov esi, eax
test esi, esi
je 0x463855
push 0
push 0
mov ecx, esi
call fcn.0046531b
mov ecx, dword [esi + 0x14]
mov eax, dword [ecx]
mov esi, dword [eax + 0x38]
lea eax, [ebp - 0x28]
push eax
push ecx
mov ecx, esi
call dword [0x6bfdfc]
call esi
mov edi, eax
test edi, edi
js 0x46352d
mov ecx, dword [ebp - 0x28]
push dword [ebp - 0x18]
push dword [ebp - 0x20]
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 0x40]
mov ecx, esi
call dword [0x6bfdfc]
call esi
mov edi, eax
test edi, edi
js 0x46352d
push 0x463d92
mov ecx, 0x75e5bc
call fcn.00456071
mov esi, eax
test esi, esi
je 0x463855
xor edi, edi
mov ecx, esi
push edi
push edi
call fcn.0046531b
mov ecx, dword [esi + 0x14]
mov eax, dword [ecx]
mov esi, dword [eax + 0x10]
lea eax, [ebp - 0x14]
push eax
push 1
push edi
push dword [ebp - 0x28]
push ecx
mov ecx, esi
call dword [0x6bfdfc]
call esi
mov edi, eax
jmp 0x46352d
cmp dword [ebx + 0x24], ecx
je 0x463530
push esi
mov ecx, 0x75e5bc
call fcn.00456071
mov esi, eax
test esi, esi
je 0x463855
xor edi, edi
mov ecx, esi
push edi
push edi
call fcn.0046531b
mov ecx, dword [esi + 0x14]
mov eax, dword [ecx]
mov esi, dword [eax + 0x54]
lea eax, [ebp - 0x10]
push eax
push edi
push edi
push dword [ebx + 0x24]
push ecx
mov ecx, esi
call dword [0x6bfdfc]
call esi
mov edi, eax
test edi, edi
js 0x46352d
mov eax, dword [ebp + 8]
lea ecx, [ebx + 0xc]
push ecx
push 0
push dword [ebp - 0x10]
mov eax, dword [eax + 4]
push eax
mov esi, dword [eax]
mov ecx, dword [esi + 0x14]
call dword [0x6bfdfc]
call dword [esi + 0x14]
mov ecx, dword [ebp - 0x14]
cmp dword [ebx + 0xc], 0
jne 0x46376b
test edi, edi
js 0x46376b
test ecx, ecx
je 0x46356c
mov eax, dword [ecx]
mov esi, dword [eax + 0x34]
lea eax, [ebp - 0x24]
push eax
push 0
push ecx
mov ecx, esi
call dword [0x6bfdfc]
call esi
mov edi, eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x10], eax
test edi, edi
js 0x463768
push 0x463d92
mov ecx, 0x75e5bc
call fcn.00456071
mov esi, eax
test esi, esi
je 0x463855
push 0
push 0
mov ecx, esi
call fcn.0046531b
mov ecx, dword [esi + 0x14]
mov eax, dword [ecx]
mov esi, dword [eax + 0x28]
lea eax, [ebp - 0x1c]
push eax
push ecx
mov ecx, esi
call dword [0x6bfdfc]
call esi
mov edi, eax
test edi, edi
js 0x463768
mov ecx, dword [ebx + 0x1c]
mov eax, dword [ebx + 0x20]
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], eax
test ecx, ecx
jne 0x4635e0
test eax, eax
jne 0x4635e0
mov ecx, dword [ebp - 0x1c]
fldz
push 1
push ecx
push ecx
fstp qword [esp]
push eax
push eax
push 0x7034b8
push dword [ebp - 0x10]
jmp 0x463731
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx]
mov esi, dword [eax + 0xc]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x20]
push eax
push ecx
mov ecx, esi
call dword [0x6bfdfc]
call esi
mov edi, eax
test edi, edi
js 0x463768
mov esi, dword [ebp - 8]
test esi, esi
jne 0x46365e
mov eax, dword [ebp - 0xc]
fild dword [ebp - 0xc]
test eax, eax
jns 0x46361c
fadd dword [0x6d5fc0]
fstp dword [ebp - 8]
fld dword [ebp - 8]
mov eax, dword [ebp - 0x18]
fild dword [ebp - 0x18]
test eax, eax
jns 0x463632
fadd dword [0x6d5fc0]
fstp dword [ebp - 8]
fdiv dword [ebp - 8]
mov eax, dword [ebp - 0x20]
fstp dword [ebp - 8]
fld dword [ebp - 8]
fild dword [ebp - 0x20]
test eax, eax
jns 0x46364e
fadd dword [0x6d5fc0]
fstp dword [ebp - 8]
fmul dword [ebp - 8]
call fcn.0060b3b0
mov dword [ebp - 8], eax
jmp 0x4636b4
cmp dword [ebp - 0xc], 0
jne 0x4636b4
mov dword [ebp - 0xc], esi
fild dword [ebp - 0xc]
test esi, esi
jns 0x463674
fadd dword [0x6d5fc0]
fstp dword [ebp - 0xc]
fld dword [ebp - 0xc]
mov eax, dword [ebp - 0x20]
fild dword [ebp - 0x20]
test eax, eax
jns 0x46368a
fadd dword [0x6d5fc0]
fstp dword [ebp - 0xc]
fdiv dword [ebp - 0xc]
mov eax, dword [ebp - 0x18]
fstp dword [ebp - 0xc]
fld dword [ebp - 0xc]
fild dword [ebp - 0x18]
test eax, eax
jns 0x4636a6
fadd dword [0x6d5fc0]
fstp dword [ebp - 0xc]
fmul dword [ebp - 0xc]
call fcn.0060b3b0
mov dword [ebp - 0xc], eax
push 0x463d92
mov ecx, 0x75e5bc
call fcn.00456071
mov esi, eax
test esi, esi
je 0x463855
push 0
push 0
mov ecx, esi
call fcn.0046531b
mov ecx, dword [esi + 0x14]
mov eax, dword [ecx]
mov esi, dword [eax + 0x2c]
lea eax, [ebp - 0x2c]
push eax
push ecx
mov ecx, esi
call dword [0x6bfdfc]
call esi
mov edi, eax
test edi, edi
js 0x463768
mov ecx, dword [ebp - 0x2c]
push 2
push dword [ebp - 0xc]
push dword [ebp - 8]
mov eax, dword [ecx]
push dword [ebp - 0x10]
push ecx
mov esi, dword [eax + 0x20]
mov ecx, esi
call dword [0x6bfdfc]
call esi
mov edi, eax
test edi, edi
js 0x463768
mov ecx, dword [ebp - 0x1c]
fldz
push 1
push ecx
push ecx
fstp qword [esp]
push 0
push 0
push 0x7034b8
push dword [ebp - 0x2c]
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 0x20]
mov ecx, esi
call dword [0x6bfdfc]
call esi
mov edi, eax
test edi, edi
js 0x463768
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
mov eax, dword [ecx]
mov esi, dword [eax + 0x14]
lea eax, [ebx + 0xc]
push eax
push 0
push dword [ebp - 0x1c]
push ecx
mov ecx, esi
call dword [0x6bfdfc]
call esi
mov edi, eax
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x24]
jne 0x463777
and dword [ebp - 0x10], 0
test ecx, ecx
je 0x46378f
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x6bfdfc]
call esi
and dword [ebp - 0x14], 0
mov ecx, dword [ebp - 0x24]
test ecx, ecx
je 0x4637aa
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x6bfdfc]
call esi
and dword [ebp - 0x24], 0
mov ecx, dword [ebp - 0x28]
test ecx, ecx
je 0x4637c5
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x6bfdfc]
call esi
and dword [ebp - 0x28], 0
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x4637e0
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x6bfdfc]
call esi
and dword [ebp - 0x1c], 0
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x4637fb
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x6bfdfc]
call esi
and dword [ebp - 0x2c], 0
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x463816
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x6bfdfc]
call esi
and dword [ebp - 0x10], 0
cmp dword [ebx + 0x28], 0
je 0x463358
cmp dword [ebx + 0x24], 0
je 0x463358
push dword [ebx + 0x24]
call dword [sym.imp.GDI32.dll_DeleteObject]
and dword [ebx + 0x24], 0
jmp 0x463358
mov eax, 0x80004005
lea esp, [ebp - 0x38]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00609c1d
leave
ret 4
call fcn.004273da
int3