Function at 0x402ac0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x43650a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x6c0
mov eax, dword [0x446214]
push ebx
push esi
mov dword [esp + 0x20], ecx
push edi
lea ecx, [esp + 0x60]
mov dword [esp + 0x6c4], eax
call fcn.0040c1c0
mov ecx, dword [0x447168]
push 0x438754
xor ebx, ebx
push 0x83
mov dword [esp + 0x6dc], ebx
call fcn.00408000
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
cmp esi, ebx
je 0x402c24
mov ecx, dword [0x447168]
push esi
call fcn.00408000
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [0x447168]
push esi
mov dword [esp + 0x1c], eax
call fcn.00408000
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
lea edi, [eax + 1]
push edi
mov dword [esp + 0x18], eax
call fcn.00429e88
mov esi, eax
mov ecx, edi
mov edx, ecx
shr ecx, 2
xor eax, eax
mov edi, esi
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
push eax
push ecx
push esi
mov dword [esp + 0x30], esi
call fcn.0041b3c0
add esp, 0x10
push ebx
push ebx
push esi
lea ecx, [esp + 0x6c]
call fcn.0040f1e0
push str.TheConfigure
lea ecx, [esp + 0x64]
call fcn.0040b1f0
mov edx, eax
cmp edx, ebx
mov dword [esp + 0x14], edx
jne 0x402bc6
push esi
call fcn.00429e8d
add esp, 4
jmp 0x402c24
xor eax, eax
mov word [esp + 0x4b8], bx
mov ecx, 0x81
lea edi, [esp + 0x4ba]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
xor eax, eax
mov word [esp + 0x2b0], bx
mov ecx, 0x81
lea edi, [esp + 0x2b2]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov word [esp + 0xa8], bx
xor eax, eax
mov ecx, 0x81
lea edi, [esp + 0xaa]
rep stosd dword es:[edi], eax
push str.Application
mov ecx, edx
stosw word es:[edi], ax
call fcn.0040b430
cmp eax, ebx
jne 0x402c5e
mov eax, dword [esp + 0x94]
cmp eax, 0x447210
mov dword [esp + 0x6d4], 0xffffffff
mov dword [esp + 0x60], 0x438678
je 0x402c4e
push eax
call fcn.00429e8d
add esp, 4
lea ecx, [esp + 0x60]
call fcn.0040ad40
xor eax, eax
jmp 0x402fe2
mov ecx, eax
call fcn.0040b3a0
cmp eax, ebx
mov dword [esp + 0x10], eax
je 0x402dc4
jmp 0x402c77
mov eax, dword [esp + 0x10]
mov esi, dword [eax + 0x20]
mov ecx, dword [eax + 0x18]
add esi, 8
cmp ecx, ebx
jne 0x402c88
xor edi, edi
jmp 0x402c9b
mov edx, dword [ecx]
call dword [edx + 0x2c]
cmp eax, ebx
jne 0x402c95
xor edi, edi
jmp 0x402c9b
mov edi, dword [eax + 0x20]
add edi, 8
mov ecx, dword [0x447168]
lea eax, [esp + 0x2b0]
push eax
push esi
call fcn.00404850
mov ecx, eax
call fcn.004046c0
lea ecx, [esp + 0xa8]
push ecx
mov ecx, dword [0x447168]
push edi
call fcn.00404850
mov ecx, eax
call fcn.004046c0
lea edx, [esp + 0xa8]
mov esi, 7
push edx
mov dword [esp + 0x44], esi
mov dword [esp + 0x40], ebx
mov word [esp + 0x30], bx
call fcn.0041ad33
add esp, 4
push eax
lea eax, [esp + 0xac]
push eax
lea ecx, [esp + 0x30]
call fcn.00402230
lea ecx, [esp + 0x2b0]
push ecx
mov byte [esp + 0x6d8], 1
mov dword [esp + 0x60], esi
mov dword [esp + 0x5c], ebx
mov word [esp + 0x4c], bx
call fcn.0041ad33
add esp, 4
push eax
lea edx, [esp + 0x2b4]
push edx
lea ecx, [esp + 0x4c]
call fcn.00402230
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 0xc34]
mov edx, dword [ecx]
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x48]
push eax
mov byte [esp + 0x6dc], 2
call dword [edx]
mov eax, dword [esp + 0x5c]
mov edi, 8
cmp eax, edi
jb 0x402d76
mov ecx, dword [esp + 0x48]
push ecx
call fcn.00429e8d
add esp, 4
cmp dword [esp + 0x40], edi
mov dword [esp + 0x5c], esi
mov dword [esp + 0x58], ebx
mov word [esp + 0x48], bx
mov byte [esp + 0x6d4], 0
jb 0x402d9e
mov edx, dword [esp + 0x2c]
push edx
call fcn.00429e8d
add esp, 4
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x40], esi
mov dword [esp + 0x3c], ebx
mov word [esp + 0x2c], bx
call fcn.0040b4d0
cmp eax, ebx
mov dword [esp + 0x10], eax
jne 0x402c73
mov esi, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
push str.UpdateSoft
call fcn.0040b430
cmp eax, ebx
jne 0x402df1
lea ecx, [esp + 0x60]
mov dword [esp + 0x6d4], 0xffffffff
call fcn.00401600
xor eax, eax
jmp 0x402fe2
mov ecx, eax
call fcn.0040b3a0
mov edi, eax
cmp edi, ebx
mov dword [esp + 0x10], edi
je 0x402fc0
jmp 0x402e10
mov edi, dword [esp + 0x10]
lea esp, [esp]
push 4
call fcn.00429e5d
add esp, 4
mov dword [esp + 0x1c], eax
cmp eax, ebx
mov byte [esp + 0x6d4], 3
je 0x402e33
mov ecx, eax
call fcn.004088a0
jmp 0x402e35
xor eax, eax
mov ecx, eax
mov byte [esp + 0x6d4], 0
mov dword [esp + 0x14], eax
call fcn.00408a70
mov edi, dword [edi + 0x20]
mov ecx, dword [esp + 0x10]
add edi, 8
mov dword [esp + 0x1c], edi
call fcn.0040b3a0
mov esi, eax
cmp esi, ebx
je 0x402f0f
mov ecx, dword [esi + 0x18]
mov ebx, dword [esi + 0x20]
mov eax, dword [ecx]
add ebx, 8
call dword [eax + 0x2c]
test eax, eax
jne 0x402e7d
mov dword [esp + 0x18], eax
jmp 0x402e87
mov eax, dword [eax + 0x20]
add eax, 8
mov dword [esp + 0x18], eax
xor eax, eax
mov ecx, 0x82
lea edi, [esp + 0x2b0]
rep stosd dword es:[edi], eax
mov ecx, 0x82
lea edi, [esp + 0xa8]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x2b0]
push ecx
mov ecx, dword [0x447168]
push ebx
call fcn.00404850
mov ecx, eax
call fcn.004046c0
mov eax, dword [esp + 0x18]
mov ecx, dword [0x447168]
lea edx, [esp + 0xa8]
push edx
push eax
call fcn.00404850
mov ecx, eax
call fcn.004046c0
lea ecx, [esp + 0xa8]
push ecx
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x2b4]
push edx
call fcn.004088b0
mov ecx, esi
call fcn.0040b4d0
mov esi, eax
test esi, esi
jne 0x402e65
mov edi, dword [esp + 0x1c]
xor ebx, ebx
mov ecx, dword [0x447168]
lea eax, [esp + 0x4b8]
push eax
push edi
call fcn.00404850
mov ecx, eax
call fcn.004046c0
lea ecx, [esp + 0x4b8]
mov esi, 7
push ecx
mov dword [esp + 0x44], esi
mov dword [esp + 0x40], ebx
mov word [esp + 0x30], bx
call fcn.0041ad33
add esp, 4
push eax
lea edx, [esp + 0x4bc]
push edx
lea ecx, [esp + 0x30]
call fcn.00402230
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 0xe48]
mov edx, dword [ecx]
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x2c]
push eax
mov byte [esp + 0x6dc], 4
call dword [edx]
cmp dword [esp + 0x40], 8
mov byte [esp + 0x6d4], 0
jb 0x402f9a
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.00429e8d
add esp, 4
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x40], esi
mov dword [esp + 0x3c], ebx
mov word [esp + 0x2c], bx
call fcn.0040b4d0
cmp eax, ebx
mov dword [esp + 0x10], eax
jne 0x402e08
mov esi, dword [esp + 0x20]
push esi
call fcn.00429e8d
add esp, 4
lea ecx, [esp + 0x60]
mov dword [esp + 0x6d4], 0xffffffff
call fcn.00401600
mov eax, 1
mov ecx, dword [esp + 0x6cc]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x6c4]
call fcn.0041a963
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret