Function at 0x4259a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58c5b6
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x5f31c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x24], ebx
mov byte [ebp - 4], 4
call fcn.0042b4c7
mov ecx, eax
mov byte [ebp - 4], 3
test ecx, ecx
je 0x4260e6
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x1c], eax
xor eax, eax
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 7
call fcn.0042b4c7
mov ecx, eax
mov byte [ebp - 4], 6
test ecx, ecx
je 0x4260f0
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x20], esi
mov ecx, dword [ebp + 8]
lea edx, [ebp - 0x30]
push edx
push ecx
mov byte [ebp - 4], 8
mov eax, dword [ecx]
call dword [eax + 0x54]
push dword [ebp - 0x30]
lea eax, [ebp - 0x1c]
push dword [ebp + 0x14]
push str._s_d
push eax
call fcn.00404820
mov edi, dword [ebp - 0x1c]
add esp, 0x10
nop word [eax + eax]
mov ecx, dword [edi - 0x10]
test ecx, ecx
je 0x425a60
mov eax, dword [ecx]
call dword [eax + 0x10]
test eax, eax
jne 0x425a70
mov byte [ebp - 4], 0xa
call fcn.0042b4c7
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
mov byte [ebp - 4], 0xb
test eax, eax
je 0x4260e6
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
push dword [esi - 0xc]
add eax, 0x10
mov byte [ebp - 4], 9
push esi
push dword [edi - 0xc]
mov dword [ebp - 0x28], eax
or ebx, 1
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], ebx
push edi
push eax
call fcn.00404080
mov eax, dword [ebp + 0x10]
xor ebx, ebx
add esp, 0x14
cmp dword [eax + 4], ebx
jle 0x425ad0
mov eax, dword [eax]
lea ecx, [ebp - 0x28]
push ecx
lea eax, [eax + ebx*4]
push eax
call fcn.00424b00
add esp, 8
test al, al
jne 0x425ad3
mov eax, dword [ebp + 0x10]
inc ebx
cmp ebx, dword [eax + 4]
jl 0x425ab1
or ebx, 0xffffffff
and dword [ebp - 0x18], 0xfffffffe
or eax, 0xffffffff
mov edx, dword [ebp - 0x28]
mov byte [ebp - 4], 8
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x425af6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp ebx, 0xffffffff
je 0x425b1f
mov eax, dword [ebp - 0x2c]
inc eax
push eax
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x20]
push 0x59ef84
push eax
call fcn.00404820
mov esi, dword [ebp - 0x20]
add esp, 0xc
mov ebx, dword [ebp - 0x18]
jmp 0x425a50
cmp dword [ebp - 0x2c], 0
je 0x425b34
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00424d50
mov edi, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x30]
cmp eax, 0xc350
je 0x425bdb
cmp eax, 0xc352
je 0x425bdb
mov eax, dword [ebp + 0xc]
add eax, 0x18
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00424b00
add esp, 8
or ebx, 0xffffffff
test al, al
je 0x425f36
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x425b82
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x425b99
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 0x12
test eax, eax
je 0x425baa
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov edx, dword [ebp + 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x425f08
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 8]
lea edx, [ebp - 0x28]
push edx
push ecx
mov dword [ebp - 0x28], 0
mov eax, dword [ecx]
call dword [eax + 0x5c]
mov ebx, dword [ebp - 0x28]
mov dword [ebp - 0x2c], ebx
mov byte [ebp - 4], 0xc
call fcn.0042b4c7
mov ecx, eax
mov byte [ebp - 4], 8
test ecx, ecx
je 0x4260fa
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x18], esi
mov byte [ebp - 4], 0xd
test ebx, ebx
je 0x425e14
test ebx, 0xffff0000
jne 0x425d23
movzx ebx, bx
push ebx
mov byte [ebp - 4], 0xe
call fcn.0042b318
mov dword [ebp - 0x34], eax
mov byte [ebp - 4], 0xd
test eax, eax
je 0x425e1f
mov ecx, ebx
shr ecx, 4
push 6
inc ecx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x38], eax
test eax, eax
je 0x425e1f
push eax
push dword [ebp - 0x34]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x425e1f
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
je 0x425e1f
push dword [ebp - 0x38]
push dword [ebp - 0x34]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
lea edx, [eax + ebx]
mov eax, dword [ebp - 0x2c]
movzx ecx, ax
and ecx, 0xf
jbe 0x425cb9
cmp ebx, edx
jae 0x425e1f
movzx eax, word [ebx]
lea ebx, [ebx + eax*2]
add ebx, 2
sub ecx, 1
jne 0x425ca3
cmp ebx, edx
jae 0x425e1f
cmp word [ebx], 0
je 0x425e1f
movzx edx, word [ebx]
mov ecx, 1
mov eax, dword [esi - 8]
sub ecx, dword [esi - 4]
sub eax, edx
or eax, ecx
mov dword [ebp - 0x34], edx
jge 0x425cf1
push edx
lea ecx, [ebp - 0x18]
call fcn.00408b40
mov esi, dword [ebp - 0x18]
mov edx, dword [ebp - 0x34]
movzx ecx, word [ebx]
lea eax, [ebx + 2]
push ecx
push eax
push edx
push esi
call fcn.00570154
push eax
call fcn.004038a0
mov eax, dword [ebp - 0x34]
add esp, 0x14
cmp eax, dword [esi - 8]
jg 0x426104
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
jmp 0x425e1f
lea ecx, [ebx + 2]
mov ax, word [ebx]
add ebx, 2
test ax, ax
jne 0x425d26
sub ebx, ecx
sar ebx, 1
je 0x425e14
mov edx, dword [ebp - 0x2c]
mov eax, dword [esi - 0xc]
sub edx, esi
sar edx, 1
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], edx
test ebx, ebx
js 0x426104
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, ebx
or eax, ecx
jge 0x425d73
push ebx
lea ecx, [ebp - 0x18]
call fcn.00408b40
mov esi, dword [ebp - 0x18]
mov edx, dword [ebp - 0x38]
lea ecx, [ebx + ebx]
mov eax, dword [esi - 8]
cmp edx, dword [ebp - 0x34]
ja 0x425dba
lea edx, [esi + edx*2]
test ecx, ecx
je 0x425e00
test esi, esi
jne 0x425d96
call fcn.00566952
mov dword [eax], 0x16
jmp 0x425dfb
test edx, edx
jne 0x425da7
call fcn.00566952
mov dword [eax], 0x16
jmp 0x425dfb
add eax, eax
cmp eax, ecx
jb 0x425df0
push ecx
push edx
push esi
call fcn.005630b0
add esp, 0xc
jmp 0x425e00
add eax, eax
test ecx, ecx
je 0x425e00
test esi, esi
jne 0x425dd1
call fcn.00566952
mov dword [eax], 0x16
jmp 0x425dfb
cmp eax, ecx
jb 0x425de4
push ecx
push dword [ebp - 0x2c]
push esi
call fcn.005630b0
add esp, 0xc
jmp 0x425e00
push eax
push 0
push esi
call fcn.00563630
add esp, 0xc
call fcn.00566952
mov dword [eax], 0x22
call fcn.005665ff
cmp ebx, dword [esi - 8]
jg 0x426104
xor eax, eax
mov dword [esi - 0xc], ebx
mov word [esi + ebx*2], ax
jmp 0x425e1f
lea ecx, [ebp - 0x18]
call fcn.00404600
mov esi, dword [ebp - 0x18]
push 0x14
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 0xf
push eax
lea ecx, [ebp - 0x18]
call fcn.00406990
push eax
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 0x10
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.00424ba0
mov ecx, dword [ebp + 0xc]
add ecx, 0x18
push ecx
push eax
call fcn.00424b00
mov edx, dword [ebp - 0x38]
or ebx, 0xffffffff
add esp, 0x14
mov byte [ebp - 0xd], al
add edx, 0xfffffff0
mov ecx, ebx
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x425e73
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x34]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x425e8d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov eax, ebx
cmp byte [ebp - 0xd], 0
je 0x425f1d
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x425eae
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x20]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x425ec8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x425edf
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 0x11
test eax, eax
je 0x425ef0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 0x14]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x425f08
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov byte [ebp - 4], 8
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x425f33
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x20]
mov ecx, dword [ebp + 0x10]
lea eax, [ebp - 0x1c]
push eax
call fcn.00424c60
mov ecx, dword [0x5f7b78]
lea edx, [ebp - 0x14]
push edx
push ecx
mov eax, dword [ecx]
call dword [eax + 0x38]
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x42610e
mov ecx, dword [eax]
lea edx, [ebp - 0x24]
push edx
push dword [ebp + 8]
push eax
call dword [ecx + 0x10]
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x34], eax
test eax, eax
jne 0x425fab
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x425f8b
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x425fa2
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x13
jmp 0x42603e
lea eax, [edi - 0x10]
nop
push ecx
mov ebx, esp
push eax
mov dword [ebp - 0x2c], ebx
call fcn.00403fb0
add esp, 4
add eax, 0x10
mov dword [ebx], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp - 0x34]
call fcn.004259a0
add esp, 0x10
mov dword [ebp - 0x34], eax
test eax, eax
jne 0x426077
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x38]
push edx
push dword [ebp - 0x24]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x38]
test eax, eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x24], eax
lea eax, [edi - 0x10]
jne 0x425fb0
or ebx, 0xffffffff
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x426023
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x42603a
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x15
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x42604b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov edx, dword [ebp + 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x426063
mov ecx, dword [edx]
push edx
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
or ebx, 0xffffffff
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x426091
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x4260a8
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 0x14
test eax, eax
je 0x4260b9
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 0x14]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x4260d1
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00403c70
push 0x80004005
call fcn.00403c70
push 0x80004005
call fcn.00403c70
push 0x80070057
call fcn.00403c70
push str.get_ControlViewWalker__NULL
lea ecx, [ebp - 0x38]
call fcn.004021a0
push 0x5dd464
lea eax, [ebp - 0x38]
push eax
call fcn.00562c89
int3