Function at 0x4023cc
Capabilities:
Extract resource via kernel32 functions
Resolve function by parsing pe exports

Disassembly:
push 0x48
push 0x41eb70
call fcn.00416830
mov edi, edx
mov dword [ebp - 0x30], edi
mov esi, ecx
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x54], edi
mov ecx, dword [edi]
mov dword [ebp - 0x2c], ecx
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x34], ebx
mov eax, ebx
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], ebx
test ecx, ecx
jne 0x40240f
mov edx, str.WDEP_1.0_404_File_not_found_or_can_not_be_accessed_r_n
mov ecx, esi
call fcn.00403f84
jmp 0x4028a1
mov dword [ebp - 4], ebx
push 4
push 0x3000
push 0x8000
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov dword [ebp - 0x28], eax
test eax, eax
jne 0x402444
mov edx, str.WDEP_1.0_500_Can_not_allocate_resources_r_n
mov ecx, esi
call fcn.00403f84
jmp 0x402840
lea eax, [ebp - 0x24]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], eax
mov esi, dword [ebp - 0x2c]
mov esi, dword [esi + 0x3c]
mov edi, dword [edi]
mov edx, str.WDEP_1.0_200_OK_r_n_headers_:
mov ecx, eax
call fcn.00401e84
movzx eax, word [esi + edi + 0x16]
push eax
movzx eax, word [esi + edi + 0x14]
push eax
push dword [esi + edi + 0x10]
push dword [esi + edi + 0xc]
push dword [esi + edi + 8]
movzx eax, word [esi + edi + 6]
push eax
movzx eax, word [esi + edi + 4]
push eax
push str._ImageFileHeader_:_Machine_:_u__NumberOfSections_:_u__TimeDateStamp_:_u__PointerToSymbolTable_:_u__NumberOfSymbols_:_u__SizeOfOptionalHeader_:_u__Characteristics_:_u_
push 0x4000
push dword [ebp - 0x28]
call fcn.00401033
add esp, 0x28
mov edx, dword [ebp - 0x28]
lea ecx, [ebp - 0x24]
call fcn.00401e84
movzx edx, word [esi + edi + 0x18]
cmp edx, 0x10b
je 0x4025a4
cmp edx, 0x20b
jne 0x402840
mov ecx, dword [esi + edi + 0x50]
mov dword [ebp - 0x2c], ecx
mov edx, dword [esi + edi + 0x84]
cmp edx, 6
jbe 0x4024ec
mov eax, dword [esi + edi + 0xb8]
mov dword [ebp - 0x34], eax
mov eax, dword [esi + edi + 0xbc]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x44], eax
push edx
push dword [esi + edi + 0x80]
push dword [esi + edi + 0x7c]
push dword [esi + edi + 0x78]
push dword [esi + edi + 0x74]
push dword [esi + edi + 0x70]
push dword [esi + edi + 0x6c]
push dword [esi + edi + 0x68]
push dword [esi + edi + 0x64]
push dword [esi + edi + 0x60]
movzx eax, word [esi + edi + 0x5e]
push eax
movzx eax, word [esi + edi + 0x5c]
push eax
push dword [esi + edi + 0x58]
push dword [esi + edi + 0x54]
push ecx
push dword [esi + edi + 0x4c]
movzx eax, word [esi + edi + 0x4a]
push eax
movzx eax, word [esi + edi + 0x48]
push eax
movzx eax, word [esi + edi + 0x46]
push eax
movzx eax, word [esi + edi + 0x44]
push eax
movzx eax, word [esi + edi + 0x42]
push eax
movzx eax, word [esi + edi + 0x40]
push eax
push dword [esi + edi + 0x3c]
push dword [esi + edi + 0x38]
push dword [esi + edi + 0x34]
push dword [esi + edi + 0x30]
push dword [esi + edi + 0x2c]
push dword [esi + edi + 0x28]
push dword [esi + edi + 0x24]
push dword [esi + edi + 0x20]
push dword [esi + edi + 0x1c]
movzx eax, byte [esi + edi + 0x1b]
push eax
movzx eax, byte [esi + edi + 0x1a]
push eax
movzx eax, word [esi + edi + 0x18]
push eax
push str._ImageOptionalHeader_:_Magic_:_u__MajorLinkerVersion_:_u__MinorLinkerVersion_:_u__SizeOfCode_:_u__SizeOfInitializedData_:_u__SizeOfUninitializedData_:_u__AddressOfEntryPoint_:_u__BaseOfCode_:_u__ImageBase_:_llu__SectionAlignment_:_u__FileAlignment_:_u__MajorOperatingSystemVersion_:_u__MinorOperatingSystemVersion_:_u__MajorImageVersion_:_u__MinorImageVersion_:_u__MajorSubsystemVersion_:_u__MinorSubsystemVersion_:_u__Win32VersionValue_:_u__SizeOfImage_:_u__SizeOfHeaders_:_u__CheckSum_:_u__Subsystem_:_u__DllCharacteristics_:_u__SizeOfStackReserve_:_llu__SizeOfStackCommit_:_llu__SizeOfHeapReserve_:_llu__SizeOfHeapCommit_:_llu__LoaderFlags_:_u__NumberOfRvaAndSizes_:_u
push 0x4000
push dword [ebp - 0x28]
call fcn.00401033
add esp, 0x94
jmp 0x402667
mov ecx, dword [esi + edi + 0x50]
mov dword [ebp - 0x2c], ecx
cmp dword [esi + edi + 0x74], 6
jbe 0x4025c9
mov eax, dword [esi + edi + 0xa8]
mov dword [ebp - 0x34], eax
mov eax, dword [esi + edi + 0xac]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x44], eax
push dword [esi + edi + 0x74]
push dword [esi + edi + 0x70]
push dword [esi + edi + 0x6c]
push dword [esi + edi + 0x68]
push dword [esi + edi + 0x64]
push dword [esi + edi + 0x60]
movzx eax, word [esi + edi + 0x5e]
push eax
movzx eax, word [esi + edi + 0x5c]
push eax
push dword [esi + edi + 0x58]
push dword [esi + edi + 0x54]
push ecx
push dword [esi + edi + 0x4c]
movzx eax, word [esi + edi + 0x4a]
push eax
movzx eax, word [esi + edi + 0x48]
push eax
movzx eax, word [esi + edi + 0x46]
push eax
movzx eax, word [esi + edi + 0x44]
push eax
movzx eax, word [esi + edi + 0x42]
push eax
movzx eax, word [esi + edi + 0x40]
push eax
push dword [esi + edi + 0x3c]
push dword [esi + edi + 0x38]
push dword [esi + edi + 0x34]
push dword [esi + edi + 0x30]
push dword [esi + edi + 0x2c]
push dword [esi + edi + 0x28]
push dword [esi + edi + 0x24]
push dword [esi + edi + 0x20]
push dword [esi + edi + 0x1c]
movzx eax, byte [esi + edi + 0x1b]
push eax
movzx eax, byte [esi + edi + 0x1a]
push eax
push edx
push str._ImageOptionalHeader_:_Magic_:_u__MajorLinkerVersion_:_u__MinorLinkerVersion_:_u__SizeOfCode_:_u__SizeOfInitializedData_:_u__SizeOfUninitializedData_:_u__AddressOfEntryPoint_:_u__BaseOfCode_:_u__BaseOfData_:_u__ImageBase_:_u__SectionAlignment_:_u__FileAlignment_:_u__MajorOperatingSystemVersion_:_u__MinorOperatingSystemVersion_:_u__MajorImageVersion_:_u__MinorImageVersion_:_u__MajorSubsystemVersion_:_u__MinorSubsystemVersion_:_u__Win32VersionValue_:_u__SizeOfImage_:_u__SizeOfHeaders_:_u__CheckSum_:_u__Subsystem_:_u__DllCharacteristics_:_u__SizeOfStackReserve_:_u__SizeOfStackCommit_:_u__SizeOfHeapReserve_:_u__SizeOfHeapCommit_:_u__LoaderFlags_:_u__NumberOfRvaAndSizes_:_u
push 0x4000
push dword [ebp - 0x28]
call fcn.00401033
add esp, 0x84
mov edx, dword [ebp - 0x28]
lea ecx, [ebp - 0x24]
call fcn.00401e84
mov edi, dword [ebp - 0x30]
mov ecx, dword [edi]
mov esi, dword [ebp - 0x34]
add esi, ecx
mov dword [ebp - 0x4c], esi
mov eax, dword [ebp - 0x2c]
cmp eax, 0x1c
jb 0x402754
cmp esi, ecx
jb 0x402754
add ecx, eax
cmp esi, ecx
ja 0x402754
lea eax, [esi + 0x1c]
cmp eax, ecx
ja 0x402754
mov edx, str.__DebugDirectory_:_
lea ecx, [ebp - 0x24]
call fcn.00401e84
mov ecx, ebx
mov dword [ebp - 0x48], ecx
mov edi, dword [ebp - 0x38]
cmp edi, 0x1c
jb 0x402751
cmp dword [esi + 0xc], 0x14
jne 0x4026ed
mov edx, dword [esi + 0x14]
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffffc
cmp edx, eax
jae 0x4026ed
cmp dword [ebp - 0x3c], 0
jne 0x4026ed
mov eax, dword [ebp - 0x30]
mov eax, dword [eax]
mov eax, dword [edx + eax]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x58], eax
test ecx, ecx
je 0x4026fe
mov edx, 0x41cee0
lea ecx, [ebp - 0x24]
call fcn.00401e84
push dword [esi + 0x18]
push dword [esi + 0x14]
push dword [esi + 0x10]
push dword [esi + 0xc]
movzx eax, word [esi + 0xa]
push eax
movzx eax, word [esi + 8]
push eax
push dword [esi + 4]
push dword [esi]
push str._Characteristics_:_u__TimeDateStamp_:_u__MajorVersion_:_u__MinorVersion_:_u__Type_:_u__SizeOfData_:_u__AddressOfRawData_:_u__PointerToRawData_:_u
push 0x4000
push dword [ebp - 0x28]
call fcn.00401033
add esp, 0x2c
mov edx, dword [ebp - 0x28]
lea ecx, [ebp - 0x24]
call fcn.00401e84
sub edi, 0x1c
mov dword [ebp - 0x44], edi
add esi, 0x1c
mov dword [ebp - 0x4c], esi
mov ecx, dword [ebp - 0x48]
inc ecx
mov dword [ebp - 0x48], ecx
jmp 0x4026bd
mov edi, dword [ebp - 0x30]
mov edx, 0x41df60
lea ecx, [ebp - 0x24]
call fcn.00401e84
mov eax, dword [edi]
mov dword [ebp - 0x30], eax
push ebx
push 1
push 0x10
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceExW]
mov esi, ebx
mov dword [ebp - 0x50], esi
test eax, eax
je 0x402797
push eax
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x40278b
jmp 0x402797
cmp word [eax + 2], bx
je 0x402797
lea esi, [eax + 0x28]
mov dword [ebp - 0x50], esi
test esi, esi
je 0x4027c7
push dword [esi + 0x14]
push dword [esi + 0x10]
push dword [esi + 0xc]
push dword [esi + 8]
push str.__Version_:_dwFileVersionMS_:_u__dwFileVersionLS_:_u__dwProductVersionMS_:_u__dwProductVersionLS_:_u
push 0x4000
push dword [ebp - 0x28]
call fcn.00401033
add esp, 0x1c
mov edx, dword [ebp - 0x28]
lea ecx, [ebp - 0x24]
call fcn.00401e84
push dword [ebp - 0x3c]
push str.__dllcharex_:_u
push 0x4000
push dword [ebp - 0x28]
call fcn.00401033
add esp, 0x10
mov edx, dword [ebp - 0x28]
lea ecx, [ebp - 0x24]
call fcn.00401e84
mov ecx, dword [edi]
call fcn.00402139
mov esi, eax
test esi, esi
je 0x402824
mov edx, str.__manifest_:_
lea ecx, [ebp - 0x24]
call fcn.00401e84
mov edx, esi
lea ecx, [ebp - 0x24]
call fcn.00401e84
mov edx, 0x41e074
lea ecx, [ebp - 0x24]
call fcn.00401e84
mov edx, esi
xor ecx, ecx
call fcn.00403eca
mov edx, 0x41e078
lea ecx, [ebp - 0x24]
call fcn.00401e84
push dword [ebp - 0x40]
xor edx, edx
inc edx
lea ecx, [ebp - 0x24]
call fcn.00401f49
pop ecx
mov dword [ebp - 4], 0xfffffffe
jmp 0x402885
cmp dword [ebp - 0x28], 0
je 0x4028a1
push 0x8000
push ebx
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret