Function at 0x5a2cd0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ebf60
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x9c
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 0x10], esp
cmp eax, edi
je 0x5a2d02
mov dword [eax], edi
mov dword [eax + 4], edi
mov eax, dword [ebp + 0x10]
cmp eax, edi
je 0x5a2d0e
mov dword [eax], edi
mov dword [eax + 4], edi
mov ecx, dword [ebp + 0x14]
cmp ecx, edi
je 0x5a2d1d
push 0xffffffffffffffff
push edi
call fcn.00461e80
mov ecx, dword [ebp + 0x18]
cmp ecx, edi
je 0x5a2d2c
push 0xffffffffffffffff
push edi
call fcn.00461e80
cmp dword [0x66a84c], edi
je 0x5a2d48
mov eax, dword [ebp + 8]
push 2
push edi
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov ebx, eax
mov dword [ebp - 0x14], ebx
jmp 0x5a2d6d
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp + 8]
call fcn.00454f20
mov eax, dword [eax]
push 2
push edi
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov ebx, eax
lea ecx, [ebp + 8]
mov dword [ebp - 0x14], ebx
call fcn.00455730
cmp ebx, edi
jne 0x5a2d86
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov dword [ebp - 4], edi
mov dword [ebp - 0x2c], 0x5ff2b4
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x24], edi
lea edx, [ebp - 0x2c]
mov byte [ebp - 4], 1
push edx
push 0x5a3430
push 1
push 0x10
push ebx
call dword [sym.imp.KERNEL32.dll_EnumResourceLanguagesA]
cmp dword [ebp - 0x24], edi
jne 0x5a2dce
lea eax, [ebp - 0x64]
push 0x614f00
push eax
mov dword [ebp - 0x64], 0x134
call fcn.0044436c
xor edx, edx
xor eax, eax
xor esi, esi
cmp esi, dword [ebp - 0x24]
jge 0x5a2dfd
mov ecx, dword [ebp - 0x28]
cmp edx, edi
mov cx, word [ecx + esi*2]
jne 0x5a2dee
mov eax, ecx
mov edx, 1
inc esi
jmp 0x5a2dd4
mov edi, eax
and edi, 0x3ff
cmp edi, 9
jne 0x5a2e2a
mov eax, ecx
push eax
push 1
push 0x10
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceExA]
mov edi, eax
test edi, edi
jne 0x5a2e36
lea edx, [ebp - 0xa0]
push 0x614f00
push edx
mov dword [ebp - 0xa0], 0x14f
call fcn.0044436c
cmp ax, cx
jbe 0x5a2e31
mov eax, ecx
xor edi, edi
inc esi
jmp 0x5a2dd4
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x5a2e57
lea eax, [ebp - 0x6c]
push 0x614f00
push eax
mov dword [ebp - 0x6c], 0x153
call fcn.0044436c
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x5a2e79
lea ecx, [ebp - 0x3c]
push 0x614f00
push ecx
mov dword [ebp - 0x3c], 0x157
call fcn.0044436c
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
mov dword [ebp - 0x2c], 0x5ff2b4
mov eax, dword [ebp - 0x28]
mov byte [ebp - 4], 2
test eax, eax
je 0x5a2eaf
mov edx, dword [ebp - 0x24]
mov ecx, eax
mov ebx, edx
dec edx
test ebx, ebx
je 0x5a2ea6
add ecx, 2
jmp 0x5a2e9a
push eax
call fcn.005c8d61
add esp, 4
cmp edi, 6
mov dword [ebp - 4], 4
mov dword [ebp + 8], esi
jae 0x5a2eee
lea eax, [ebp - 0x94]
push 0x614f00
push eax
mov dword [ebp - 0x94], 0x18c
call fcn.0044436c
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, 0x5a2d71
ret
lea edx, [esi + 6]
lea eax, [edi - 6]
mov ecx, edx
cmp eax, 2
jb 0x5a2f0b
mov bx, word [ecx]
add ecx, 2
test bx, bx
je 0x5a2f20
sub eax, 2
jmp 0x5a2ef6
lea ecx, [ebp - 0x44]
push 0x614f00
push ecx
mov dword [ebp - 0x44], 0x190
call fcn.0044436c
push 0x659a58
push edx
call fcn.004430a0
add esp, 8
test eax, eax
je 0x5a2f47
lea edx, [ebp - 0x74]
push 0x614f00
push edx
mov dword [ebp - 0x74], 0x194
call fcn.0044436c
cmp edi, 0x28
jae 0x5a2f61
lea eax, [ebp - 0x4c]
push 0x614f00
push eax
mov dword [ebp - 0x4c], 0x198
call fcn.0044436c
mov eax, dword [ebp + 0xc]
add esi, 0x28
sub edi, 0x28
test eax, eax
je 0x5a2f98
mov ecx, dword [ebp + 8]
xor eax, eax
mov ax, word [ecx + 2]
cmp eax, edi
jb 0x5a2f7d
mov eax, edi
cmp eax, 0x10
jb 0x5a2f98
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 8]
xor edx, edx
xor ebx, ebx
or edx, eax
mov eax, dword [ebp + 0xc]
or ecx, ebx
mov dword [eax], edx
mov dword [eax + 4], ecx
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x5a2fc9
mov ecx, dword [ebp + 8]
xor eax, eax
mov ax, word [ecx + 2]
cmp eax, edi
jb 0x5a2fae
mov eax, edi
cmp eax, 0x18
jb 0x5a2fc9
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0x10]
xor edx, edx
xor ebx, ebx
or edx, eax
mov eax, dword [ebp + 0x10]
or ecx, ebx
mov dword [eax], edx
mov dword [eax + 4], ecx
mov ecx, dword [ebp + 8]
xor eax, eax
mov ax, word [ecx + 2]
add eax, 3
shr eax, 2
shl eax, 2
cmp edi, eax
ja 0x5a2ffa
lea edx, [ebp - 0x8c]
push 0x614f00
push edx
mov dword [ebp - 0x8c], 0x1be
call fcn.0044436c
sub edi, eax
add esi, eax
cmp edi, 6
mov dword [ebp + 0x10], esi
jae 0x5a301b
lea eax, [ebp - 0x54]
push 0x614f00
push eax
mov dword [ebp - 0x54], 0x1e7
call fcn.0044436c
mov ax, word [esi]
mov ecx, eax
and ecx, 0xffff
cmp edi, ecx
jae 0x5a303f
lea edx, [ebp - 0x7c]
push 0x614f00
push edx
mov dword [ebp - 0x7c], 0x1ea
call fcn.0044436c
cmp ax, 6
jae 0x5a305a
lea eax, [ebp - 0x5c]
push 0x614f00
push eax
mov dword [ebp - 0x5c], 0x1ed
call fcn.0044436c
lea ebx, [esi + 6]
lea eax, [edi - 6]
mov ecx, ebx
cmp eax, 2
jb 0x5a3077
mov dx, word [ecx]
add ecx, 2
test dx, dx
je 0x5a3092
sub eax, 2
jmp 0x5a3062
lea eax, [ebp - 0x9c]
push 0x614f00
push eax
mov dword [ebp - 0x9c], 0x1f1
call fcn.0044436c
push 0x659a38
push ebx
call fcn.004430a0
add esp, 8
test eax, eax
jne 0x5a33cc
cmp edi, 0x24
jae 0x5a30c2
lea ecx, [ebp - 0x30]
push 0x614f00
push ecx
mov dword [ebp - 0x30], 0x1fe
call fcn.0044436c
add esi, 0x24
sub edi, 0x24
push ebx
mov dword [ebp + 0xc], esi
mov dword [ebp - 0x80], edi
call fcn.00441ab0
mov ecx, dword [ebp + 0x10]
lea edx, [eax + eax + 0xb]
shr edx, 2
xor eax, eax
add esp, 4
mov ax, word [ecx]
shl edx, 2
sub eax, edx
mov dword [ebp + 0x10], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp + 8], esi
cmp eax, 6
jb 0x5a3406
mov esi, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
mov cx, word [esi]
mov eax, ecx
and eax, 0xffff
cmp edx, eax
jae 0x5a312c
lea edx, [ebp - 0x84]
push 0x614f00
push edx
mov dword [ebp - 0x84], 0x21f
call fcn.0044436c
cmp cx, 6
jae 0x5a3147
lea eax, [ebp - 0x34]
push 0x614f00
push eax
mov dword [ebp - 0x34], 0x222
call fcn.0044436c
lea edi, [esi + 6]
add eax, 0xfffffffa
mov ecx, edi
cmp eax, 2
jb 0x5a3164
mov dx, word [ecx]
add ecx, 2
test dx, dx
je 0x5a3179
sub eax, 2
jmp 0x5a314f
lea eax, [ebp - 0x38]
push 0x614f00
push eax
mov dword [ebp - 0x38], 0x226
call fcn.0044436c
push edi
call fcn.00441ab0
lea ecx, [eax + eax + 0xb]
mov eax, dword [ebp + 8]
shr ecx, 2
xor edx, edx
add esp, 4
mov dx, word [eax]
shl ecx, 2
cmp edx, ecx
jae 0x5a31ad
lea ecx, [ebp - 0x40]
push 0x614f00
push ecx
mov dword [ebp - 0x40], 0x22a
call fcn.0044436c
push edi
call fcn.00441ab0
lea edx, [eax + eax + 0xb]
push edi
shr edx, 2
lea esi, [esi + edx*4]
mov dword [ebp + 0xc], esi
call fcn.00441ab0
mov ecx, dword [ebp + 8]
lea eax, [eax + eax + 0xb]
mov ebx, dword [ebp + 0x14]
xor edi, edi
mov di, word [ecx]
add esp, 8
shr eax, 2
shl eax, 2
sub edi, eax
mov dword [ebp - 0x18], edi
cmp edi, 6
jae 0x5a321d
mov edx, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0x10]
mov ax, word [edx]
add eax, 3
shr eax, 2
shl eax, 2
cmp ecx, eax
jae 0x5a3215
lea eax, [ebp - 0x48]
push 0x614f00
push eax
mov dword [ebp - 0x48], 0x26a
call fcn.0044436c
sub dword [ebp + 0x10], eax
jmp 0x5a30ee
mov cx, word [esi]
mov eax, ecx
and eax, 0xffff
cmp edi, eax
jae 0x5a3240
lea ecx, [ebp - 0x50]
push 0x614f00
push ecx
mov dword [ebp - 0x50], 0x248
call fcn.0044436c
cmp cx, 6
jae 0x5a325b
lea edx, [ebp - 0x58]
push 0x614f00
push edx
mov dword [ebp - 0x58], 0x24b
call fcn.0044436c
lea ecx, [esi + 6]
add eax, 0xfffffffa
cmp eax, 2
jb 0x5a3276
mov dx, word [ecx]
add ecx, 2
test dx, dx
je 0x5a328b
sub eax, 2
jmp 0x5a3261
lea eax, [ebp - 0x60]
push 0x614f00
push eax
mov dword [ebp - 0x60], 0x24f
call fcn.0044436c
test ebx, ebx
je 0x5a32b7
lea eax, [esi + 6]
lea ecx, [ebp - 0x68]
push eax
call fcn.0045a830
mov ecx, dword [ebx + 4]
push eax
push ecx
mov ecx, ebx
mov byte [ebp - 4], 5
call fcn.00462510
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 4
call fcn.0045b0a0
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x5a336e
lea eax, [esi + 6]
push eax
call fcn.00441ab0
lea ecx, [eax + eax + 0xb]
xor edx, edx
mov dx, word [esi]
shr ecx, 2
shl ecx, 2
mov esi, edx
sub esi, ecx
shr esi, 1
lea edi, [esi + esi + 2]
push edi
call fcn.005c8d38
mov ecx, edi
mov ebx, eax
mov edx, ecx
xor eax, eax
mov edi, ebx
add esp, 8
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [ebp + 0xc]
lea edi, [esi + esi]
add eax, 6
push eax
call fcn.00441ab0
mov edx, dword [ebp + 0xc]
lea ecx, [eax + eax + 0xb]
shr ecx, 2
mov eax, edi
mov edi, ebx
lea esi, [edx + ecx*4]
mov ecx, eax
add esp, 4
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x78]
call fcn.0045a830
mov ecx, dword [ebp + 0x18]
push eax
mov byte [ebp - 4], 6
mov edx, dword [ecx + 4]
push edx
call fcn.00462510
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 4
call fcn.0045b0a0
push ebx
call fcn.005c8d61
mov edi, dword [ebp - 0x18]
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x14]
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0x80]
mov ax, word [esi]
add eax, 3
shr eax, 2
shl eax, 2
cmp ecx, eax
jae 0x5a339e
lea eax, [ebp - 0x88]
push 0x614f00
push eax
mov dword [ebp - 0x88], 0x261
call fcn.0044436c
add esi, eax
cmp edi, eax
mov dword [ebp + 0xc], esi
jae 0x5a33c2
lea ecx, [ebp - 0x90]
push 0x614f00
push ecx
mov dword [ebp - 0x90], 0x265
call fcn.0044436c
sub edi, eax
mov dword [ebp - 0x18], edi
jmp 0x5a31e3
mov edx, dword [ebp + 0x10]
xor eax, eax
mov ax, word [edx]
add eax, 3
shr eax, 2
shl eax, 2
cmp edi, eax
jae 0x5a2ffa
lea eax, [ebp - 0x98]
push 0x614f00
push eax
mov dword [ebp - 0x98], 0x1f7
call fcn.0044436c
mov eax, 0x5a3406
ret
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov eax, 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x14