Function at 0x434c80
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d3cbd
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push esi
push edi
mov eax, dword [0x655140]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [edi + 0xa0], 3
call fcn.00402de0
mov ecx, eax
test ecx, ecx
je 0x434f9e
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
push 3
mov dword [ebp - 4], 0
lea eax, [ebp - 0x14]
push dword [ebp + 8]
push str.rid_d_type_d
push eax
call fcn.00409210
mov ebx, dword [ebp - 0x14]
add esp, 0xc
add ebx, 0xfffffff0
mov dword [ebp - 0x18], esp
mov esi, esp
mov ecx, ebx
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x10], ebx
call fcn.00408e50
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 1
call fcn.00445f40
mov ecx, eax
mov byte [ebp - 4], 0
call fcn.004460b0
mov dword [edi + 0x90], eax
test eax, eax
jne 0x434e46
mov eax, dword [edi + 0xa0]
cmp eax, 2
jne 0x434d88
mov eax, dword [ebp + 8]
push 0x2000
push 0
push 0
push 0
movzx eax, ax
push eax
push dword [0x666a08]
call dword [sym.imp.USER32.dll_LoadImageW]
push eax
push ecx
mov esi, esp
mov dword [edi + 0x90], eax
mov ecx, ebx
mov dword [ebp + 8], esp
mov dword [ebp - 0x18], esi
call fcn.00408e50
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 2
call fcn.00445f40
mov ecx, eax
mov byte [ebp - 4], 0
call fcn.00446220
jmp 0x434e46
cmp eax, 3
jne 0x434e6f
xor ebx, ebx
mov dword [ebp - 0x24], ebx
mov byte [ebp - 4], al
mov eax, dword [ebp + 8]
push 0x636a74
movzx eax, ax
push eax
push dword [0x666a08]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
mov dword [ebp - 0x20], esi
test esi, esi
jne 0x434dbf
mov dword [ebp + 8], eax
jmp 0x434e06
push esi
push dword [0x666a08]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x24], ebx
test ebx, ebx
jne 0x434dda
mov dword [ebp - 0x20], eax
jmp 0x434e03
push esi
push dword [0x666a08]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push ecx
mov edx, esi
mov ecx, eax
call fcn.004349e0
add esp, 4
mov dword [edi + 0x90], eax
mov dword [ebp + 8], ebx
push dword [edi + 0x90]
push ecx
mov ecx, dword [ebp - 0x10]
mov esi, esp
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x1c], esi
call fcn.00408e50
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 4
call fcn.00445f40
mov byte [ebp - 4], 3
mov ecx, eax
call fcn.00446220
cmp dword [ebp + 8], 0
je 0x434e43
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov ebx, dword [ebp - 0x10]
mov eax, dword [edi + 0x90]
mov dword [edi + 0x98], 0
mov dword [edi + 0x9c], 0
test eax, eax
jne 0x434f4b
xor ecx, ecx
jmp 0x434f5c
cmp eax, 4
jne 0x434f1c
xor ebx, ebx
mov dword [ebp - 0x24], ebx
mov byte [ebp - 4], 5
mov eax, dword [ebp + 8]
push 0x636a7c
movzx eax, ax
push eax
push dword [0x666a08]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
mov dword [ebp - 0x20], esi
test esi, esi
jne 0x434ea7
mov dword [ebp + 8], eax
jmp 0x434eee
push esi
push dword [0x666a08]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x24], ebx
test ebx, ebx
jne 0x434ec2
mov dword [ebp - 0x20], eax
jmp 0x434eeb
push esi
push dword [0x666a08]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push ecx
mov edx, esi
mov ecx, eax
call fcn.004349e0
add esp, 4
mov dword [edi + 0x90], eax
mov dword [ebp + 8], ebx
push dword [edi + 0x90]
push ecx
mov ecx, dword [ebp - 0x10]
mov esi, esp
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x18], esi
call fcn.00408e50
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 6
call fcn.00445f40
mov byte [ebp - 4], 5
jmp 0x434e2f
cmp eax, 1
jne 0x434e46
mov eax, dword [ebp + 8]
push 0
push 0x30
push 0x30
push 1
movzx eax, ax
push eax
push dword [0x666a08]
call dword [sym.imp.USER32.dll_LoadImageW]
mov dword [edi + 0xa4], eax
jmp 0x434e46
lea ecx, [ebp - 0x3c]
push ecx
push 0x18
push eax
call dword [sym.imp.GDI32.dll_GetObjectW]
movzx ecx, word [ebp - 0x2a]
xor eax, eax
mov dword [ebp - 4], 0xffffffff
cmp ecx, 0x20
sete al
mov dword [edi + 0x8c], eax
mov eax, 0xffffffff
lock xadd dword [ebx + 0xc], eax
dec eax
test eax, eax
jg 0x434f88
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push 0x80004005
call fcn.00402a80
int3