Function at 0x469eb0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b646a
mov eax, dword fs:[0]
push eax
sub esp, 0xcc
mov eax, dword [0x4e706c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 2
lea ecx, [ebp + 0x38]
cmp dword [ebp + 0x4c], 8
lea eax, [ebp + 0x20]
push 0x409
cmovae ecx, dword [ebp + 0x38]
cmp dword [ebp + 0x34], 8
push ecx
cmovae eax, dword [ebp + 0x20]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceExW]
mov esi, eax
test esi, esi
je 0x46a317
push esi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test edi, edi
jne 0x46a02e
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0xd8]
mov esi, eax
call fcn.0045f3e0
mov byte [ebp - 4], 3
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x469f49
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4eb558
call fcn.004105c0
add esp, 4
mov edx, str.d:jenkinsworkspace_n_sucommon_src_sucommon_resourcefileextractor.cpp
mov ecx, eax
call fcn.0040f7a0
mov edx, 0x4c9104
mov ecx, eax
call fcn.0040f7a0
push 0x50
mov ecx, eax
call fcn.0040dda0
mov edx, 0x4c932c
mov ecx, eax
call fcn.0040f7a0
mov edx, str.Error_getting
mov ecx, eax
call fcn.0040f7a0
cmp dword [ebp + 0x34], 8
lea edx, [ebp + 0x20]
push dword [ebp + 0x30]
cmovae edx, dword [ebp + 0x20]
mov ecx, eax
call fcn.004105c0
add esp, 4
mov edx, 0x4d4c84
mov ecx, eax
call fcn.0040f7a0
cmp dword [ebp + 0x4c], 8
lea edx, [ebp + 0x38]
push dword [ebp + 0x48]
cmovae edx, dword [ebp + 0x38]
mov ecx, eax
call fcn.004105c0
add esp, 4
mov edx, str._size:
mov ecx, eax
call fcn.0040f7a0
push esi
mov ecx, eax
call fcn.00418700
push eax
call fcn.0040fb10
mov edx, dword [ebp - 0xc4]
add esp, 4
cmp edx, 8
jb 0x46a3d1
mov ecx, dword [ebp - 0xd8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x46a3c7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46a4c1
jmp 0x46a3c7
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x46a0f0
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0xd8]
mov esi, eax
call fcn.0045f3e0
mov byte [ebp - 4], 4
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x46a061
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4eb558
call fcn.004105c0
add esp, 4
mov edx, str.d:jenkinsworkspace_n_sucommon_src_sucommon_resourcefileextractor.cpp
mov ecx, eax
call fcn.0040f7a0
mov edx, 0x4c9104
mov ecx, eax
call fcn.0040f7a0
push 0x58
mov ecx, eax
call fcn.0040dda0
mov edx, 0x4c932c
mov ecx, eax
call fcn.0040f7a0
mov edx, str.Error_loading
mov ecx, eax
call fcn.0040f7a0
cmp dword [ebp + 0x34], 8
lea edx, [ebp + 0x20]
push dword [ebp + 0x30]
cmovae edx, dword [ebp + 0x20]
mov ecx, eax
call fcn.004105c0
add esp, 4
mov edx, 0x4d4c84
mov ecx, eax
call fcn.0040f7a0
cmp dword [ebp + 0x4c], 8
lea edx, [ebp + 0x38]
push dword [ebp + 0x48]
cmovae edx, dword [ebp + 0x38]
mov ecx, eax
call fcn.004105c0
add esp, 4
mov edx, str._resource:
jmp 0x469fd3
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push 0
mov esi, eax
call fcn.0048a139
add esp, 4
lea eax, [ebp - 0xc0]
push 0xb0
push 0
push eax
call fcn.00487250
add esp, 4
lea eax, [ebp + 8]
lea ecx, [ebp - 0xc0]
push 0x32
push eax
call fcn.004387d0
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0xc0]
mov eax, dword [eax + 4]
test byte [ebp + eax - 0xb4], 6
je 0x46a241
lea ecx, [ebp - 0xd8]
call fcn.0045f3e0
mov byte [ebp - 4], 7
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x46a15f
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4eb558
call fcn.004105c0
add esp, 4
mov edx, str.d:jenkinsworkspace_n_sucommon_src_sucommon_resourcefileextractor.cpp
mov ecx, eax
call fcn.0040f7a0
mov edx, 0x4c9104
mov ecx, eax
call fcn.0040f7a0
push 0x67
mov ecx, eax
call fcn.0040dda0
mov edx, 0x4c932c
mov ecx, eax
call fcn.0040f7a0
mov edx, str.Error_creating
mov ecx, eax
call fcn.0040f7a0
cmp dword [ebp + 0x1c], 8
lea edx, [ebp + 8]
push dword [ebp + 0x18]
cmovae edx, dword [ebp + 8]
mov ecx, eax
call fcn.004105c0
add esp, 4
mov edx, str._on_disk__
mov ecx, eax
call fcn.0040f7a0
mov esi, eax
call fcn.0048a126
mov ecx, esi
push dword [eax]
call fcn.0040dda0
mov edx, 0x4d4cec
mov ecx, eax
call fcn.0040f7a0
push eax
call fcn.0040fb10
mov edx, dword [ebp - 0xc4]
add esp, 4
cmp edx, 8
jb 0x46a231
mov ecx, dword [ebp - 0xd8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x46a227
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46a4c1
push edx
push ecx
call fcn.0046f0d0
add esp, 8
lea ecx, [ebp - 0xc0]
call fcn.00423970
jmp 0x46a3d1
push 0
call fcn.0048a139
add esp, 4
lea ecx, [ebp - 0xc0]
push 0
push edi
push esi
call fcn.00457950
mov eax, dword [ebp - 0xc0]
mov eax, dword [eax + 4]
mov eax, dword [ebp + eax - 0xb4]
shr eax, 2
test al, 1
je 0x46a2fa
lea ecx, [ebp - 0xd8]
call fcn.0045f3e0
mov byte [ebp - 4], 8
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x46a28f
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4eb558
call fcn.004105c0
add esp, 4
mov edx, str.d:jenkinsworkspace_n_sucommon_src_sucommon_resourcefileextractor.cpp
mov ecx, eax
call fcn.0040f7a0
mov edx, 0x4c9104
mov ecx, eax
call fcn.0040f7a0
push 0x6d
mov ecx, eax
call fcn.0040dda0
mov edx, 0x4c932c
mov ecx, eax
call fcn.0040f7a0
mov edx, str.Error_writing
mov ecx, eax
call fcn.0040f7a0
cmp dword [ebp + 0x1c], 8
lea edx, [ebp + 8]
push dword [ebp + 0x18]
cmovae edx, dword [ebp + 8]
mov ecx, eax
call fcn.004105c0
add esp, 4
mov edx, str._to_disk__
jmp 0x46a1c5
lea ecx, [ebp - 0xc0]
call fcn.00438760
lea ecx, [ebp - 0xc0]
call fcn.00423970
mov bl, 1
jmp 0x46a3d3
lea ecx, [ebp - 0xd8]
call fcn.0045f3e0
mov byte [ebp - 4], 9
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x46a331
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4eb558
call fcn.004105c0
add esp, 4
mov edx, str.d:jenkinsworkspace_n_sucommon_src_sucommon_resourcefileextractor.cpp
mov ecx, eax
call fcn.0040f7a0
mov edx, 0x4c9104
mov ecx, eax
call fcn.0040f7a0
push 0x74
mov ecx, eax
call fcn.0040dda0
mov edx, 0x4c932c
mov ecx, eax
call fcn.0040f7a0
mov edx, str.Resource
mov ecx, eax
call fcn.0040f7a0
cmp dword [ebp + 0x34], 8
lea edx, [ebp + 0x20]
push dword [ebp + 0x30]
cmovae edx, dword [ebp + 0x20]
mov ecx, eax
call fcn.004105c0
add esp, 4
mov edx, 0x4d4c84
mov ecx, eax
call fcn.0040f7a0
cmp dword [ebp + 0x4c], 8
lea edx, [ebp + 0x38]
push dword [ebp + 0x48]
cmovae edx, dword [ebp + 0x38]
mov ecx, eax
call fcn.004105c0
add esp, 4
mov edx, str._not_found
mov ecx, eax
call fcn.0040f7a0
jmp 0x469fe2
push edx
push ecx
call fcn.0046f0d0
add esp, 8
xor bl, bl
mov edx, dword [ebp + 0x1c]
cmp edx, 8
jb 0x46a40d
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x46a403
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46a4c1
push edx
push ecx
call fcn.0046f0d0
add esp, 8
mov edx, dword [ebp + 0x34]
xor eax, eax
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 7
mov word [ebp + 8], ax
cmp edx, 8
jb 0x46a457
mov ecx, dword [ebp + 0x20]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x46a44d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46a4c1
push edx
push ecx
call fcn.0046f0d0
add esp, 8
mov edx, dword [ebp + 0x4c]
xor eax, eax
mov dword [ebp + 0x30], 0
mov dword [ebp + 0x34], 7
mov word [ebp + 0x20], ax
cmp edx, 8
jb 0x46a4a1
mov ecx, dword [ebp + 0x38]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x46a497
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46a4c1
push edx
push ecx
call fcn.0046f0d0
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046ebaf
mov esp, ebp
pop ebp
ret 0x48
call fcn.0048a05c
int3