Function at 0x434be0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x514105
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x565300]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebx + 0xa0], 3
call fcn.00404590
mov ecx, eax
test ecx, ecx
je 0x434f6c
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.00439f60
mov esi, dword [ebp - 0x14]
lea eax, [esi - 0x10]
push eax
call fcn.00403fb0
add esp, 0x14
mov dword [ebp - 0x10], eax
lea ecx, [eax + 0x10]
mov dword [ebp - 0x1c], ecx
mov byte [ebp - 4], 1
call fcn.00402820
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 2
cmp dword [eax + 0x68], 0
jne 0x434cca
push ecx
mov edi, esp
push dword [ebp - 0x10]
mov dword [ebp - 0x24], edi
call fcn.00403fb0
mov ecx, dword [ebp - 0x18]
add esp, 4
add eax, 0x10
add ecx, 0x30
mov dword [edi], eax
call fcn.004426d0
mov dword [ebp - 0x24], eax
test eax, eax
je 0x434cca
mov edx, dword [ebp - 0x10]
or edi, 0xffffffff
mov byte [ebp - 4], 0
mov ecx, edi
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x434cbf
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x24]
mov dword [ebx + 0x90], eax
jmp 0x434d77
push ecx
mov edi, esp
push dword [ebp - 0x10]
mov dword [ebp - 0x24], edi
call fcn.00403fb0
mov ecx, dword [ebp - 0x18]
add esp, 4
add eax, 0x10
mov dword [edi], eax
call fcn.004426d0
mov edx, dword [ebp - 0x10]
or edi, 0xffffffff
mov dword [ebp - 0x24], eax
mov ecx, edi
mov byte [ebp - 4], 0
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x434d0c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x24]
mov dword [ebx + 0x90], eax
test eax, eax
jne 0x434d77
mov eax, dword [ebx + 0xa0]
cmp eax, 2
jne 0x434da0
mov eax, dword [ebp + 8]
push 0x2000
push 0
push 0
push 0
movzx eax, ax
push eax
push dword [0x5690e8]
call dword [sym.imp.USER32.dll_LoadImageW]
push eax
push ecx
mov dword [ebx + 0x90], eax
mov edi, esp
lea eax, [esi - 0x10]
mov dword [ebp + 8], esp
push eax
mov dword [ebp - 0x24], edi
call fcn.00403fb0
add eax, 0x10
add esp, 4
mov dword [edi], eax
mov byte [ebp - 4], 3
call fcn.00402820
mov ecx, eax
mov byte [ebp - 4], 0
call fcn.00402d60
or edi, 0xffffffff
mov eax, dword [ebx + 0x90]
mov dword [ebx + 0x98], 0
mov dword [ebx + 0x9c], 0
test eax, eax
jne 0x434f1b
xor ecx, ecx
jmp 0x434f2c
cmp eax, 3
jne 0x434e53
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
push ecx
mov byte [ebp - 4], 4
mov ecx, esp
mov eax, dword [ebp + 8]
movzx eax, ax
push ecx
mov dword [ecx], eax
mov eax, esp
lea ecx, [ebp - 0x20]
mov dword [eax], 0x52ddcc
call fcn.0043b730
test al, al
je 0x434e08
push dword [ebp - 0x1c]
push dword [0x5690e8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push dword [ebp - 0x20]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push ecx
mov edx, edi
mov ecx, eax
call fcn.00434540
add esp, 4
mov dword [ebx + 0x90], eax
push dword [ebx + 0x90]
lea eax, [esi - 0x10]
push ecx
mov edi, esp
mov dword [ebp + 8], esp
push eax
mov dword [ebp - 0x24], edi
call fcn.00403fb0
add eax, 0x10
add esp, 4
mov dword [edi], eax
mov byte [ebp - 4], 5
call fcn.00402820
mov byte [ebp - 4], 4
mov ecx, eax
call fcn.00402d60
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x434d74
push eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
jmp 0x434d74
cmp eax, 4
jne 0x434eed
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
push ecx
mov byte [ebp - 4], 6
mov ecx, esp
mov eax, dword [ebp + 8]
movzx eax, ax
push ecx
mov dword [ecx], eax
mov eax, esp
lea ecx, [ebp - 0x20]
mov dword [eax], 0x52ddd4
call fcn.0043b730
test al, al
je 0x434ebb
push dword [ebp - 0x1c]
push dword [0x5690e8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push dword [ebp - 0x20]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push ecx
mov edx, edi
mov ecx, eax
call fcn.00434540
add esp, 4
mov dword [ebx + 0x90], eax
push dword [ebx + 0x90]
lea eax, [esi - 0x10]
push ecx
mov edi, esp
mov dword [ebp + 8], esp
push eax
mov dword [ebp - 0x24], edi
call fcn.00403fb0
add eax, 0x10
add esp, 4
mov dword [edi], eax
mov byte [ebp - 4], 7
call fcn.00402820
mov byte [ebp - 4], 6
jmp 0x434e35
cmp eax, 1
jne 0x434d77
push 0
push 0x30
push 0x30
push eax
mov eax, dword [ebp + 8]
movzx eax, ax
push eax
push dword [0x5690e8]
call dword [sym.imp.USER32.dll_LoadImageW]
mov dword [ebx + 0xa4], eax
jmp 0x434d77
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
add esi, 0xfffffff0
mov dword [ebx + 0x8c], eax
lock xadd dword [esi + 0xc], edi
dec edi
test edi, edi
jg 0x434f56
mov ecx, dword [esi]
push esi
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.00404110
int3