Function at 0x44cfd0
Capabilities:
Extract resource via kernel32 functions
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51c3a0
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x565240]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov edi, ecx
mov ecx, dword [esi + 0x20]
push ecx
mov dword [ebp - 0x28], eax
call dword [0x51f828]
push eax
call fcn.00457101
mov ebx, eax
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x58], ebx
call fcn.00456abe
xor eax, eax
mov dword [ebp - 4], eax
cmp ebx, eax
je 0x44d02b
mov eax, dword [ebx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
lea ecx, [ebp - 0x44]
call fcn.00457115
lea ecx, [ebp - 0x54]
call fcn.00456abe
mov byte [ebp - 4], 1
test ebx, ebx
je 0x44d04e
mov ebx, dword [ebx + 4]
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
lea ecx, [ebp - 0x54]
call fcn.00457115
test edi, edi
jne 0x44d066
xor eax, eax
jmp 0x44d069
mov eax, dword [edi + 4]
mov edx, dword [ebp - 0x50]
push eax
push edx
call fcn.0045747a
mov ecx, dword [edi + 4]
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x78]
push eax
push 0x18
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov eax, dword [ebp - 0x74]
cdq
idiv dword [ebp + 0x10]
mov ebx, dword [ebp - 0x70]
lea edx, [ebp - 0x24]
push edx
mov edi, eax
imul edi, dword [ebp + 0xc]
mov dword [ebp - 0x2c], eax
xor eax, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 0x20]
push eax
call dword [0x51f850]
cmp dword [esi + 0x10c], 0
jne 0x44d0c7
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], ebx
mov ecx, dword [ebp - 0x28]
call fcn.00457443
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
sub ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x58]
push eax
mov eax, dword [edx + 4]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ecx, dword [ebp - 0x28]
push eax
call fcn.004573e9
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x44d0fd
mov eax, dword [eax + 4]
mov ecx, dword [ebp - 0x40]
push eax
push ecx
call fcn.0045747a
mov edx, dword [ebp - 0x50]
mov ecx, dword [esi + 0xd0]
push 0xcc0020
push 0
push edi
push edx
mov dword [ebp - 0x60], eax
mov eax, dword [esi + 0xc8]
push eax
mov eax, dword [ebp - 0x40]
push ecx
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LCMapStringW]
test eax, eax
jne 0x44d158
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0
call fcn.00457196
lea ecx, [ebp - 0x44]
mov dword [ebp - 4], 0xffffffff
call fcn.00457196
xor al, al
jmp 0x44d47e
mov eax, dword [esi + 0xcc]
mov edx, dword [ebp - 0x18]
push 0xcc0020
mov ecx, ebx
sub ecx, eax
push ecx
mov ecx, dword [ebp - 0x50]
push edi
push ecx
push eax
sub edx, eax
mov eax, dword [esi + 0xd0]
push eax
push edx
mov edx, dword [ebp - 0x40]
push 0
push edx
call dword [sym.imp.KERNEL32.dll_LCMapStringW]
test eax, eax
je 0x44d136
mov ecx, dword [esi + 0xd4]
mov edx, dword [ebp - 0x1c]
push 0xcc0020
push 0
mov eax, edi
sub eax, ecx
add eax, dword [ebp - 0x2c]
sub edx, ecx
push eax
mov eax, dword [ebp - 0x50]
push eax
mov eax, dword [esi + 0xc8]
push eax
push ecx
mov ecx, dword [ebp - 0x40]
push 0
push edx
push ecx
call dword [sym.imp.KERNEL32.dll_LCMapStringW]
test eax, eax
je 0x44d136
mov ecx, dword [esi + 0xcc]
mov edx, dword [ebp - 0x18]
mov eax, ebx
sub eax, ecx
mov dword [ebp - 0x28], eax
sub edx, ecx
mov ecx, dword [ebp - 0x1c]
sub ecx, dword [esi + 0xd4]
push 0xcc0020
mov eax, edi
sub eax, dword [esi + 0xd4]
mov dword [ebp - 0x30], edx
add eax, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x28]
push edx
mov edx, dword [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x50]
push eax
mov eax, dword [esi + 0xcc]
push eax
mov eax, dword [esi + 0xd4]
push eax
mov eax, dword [ebp - 0x40]
push edx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_LCMapStringW]
test eax, eax
je 0x44d136
push 4
lea ecx, [ebp - 0x44]
call fcn.0045685c
cmp dword [esi + 0x10c], 0
mov eax, dword [esi + 0xc8]
mov ecx, dword [esi + 0xd0]
push 0xcc0020
je 0x44d295
mov edx, ebx
sub edx, dword [esi + 0xcc]
sub edx, eax
push edx
mov edx, dword [ebp - 0x2c]
sub edx, dword [esi + 0xd4]
sub edx, ecx
push edx
mov edx, dword [ebp - 0x18]
sub edx, dword [esi + 0xcc]
push eax
add ecx, edi
push ecx
sub edx, eax
sub edx, dword [ebp - 0x20]
lea ecx, [ebp - 0x54]
push ecx
mov ecx, dword [esi + 0xd0]
push edx
mov edx, dword [ebp - 0x1c]
sub edx, dword [esi + 0xd4]
sub edx, ecx
sub edx, dword [ebp - 0x24]
push edx
push eax
push ecx
lea ecx, [ebp - 0x44]
call fcn.0044da10
jmp 0x44d2c6
push eax
lea edx, [ecx + edi]
push edx
lea edx, [ebp - 0x54]
push edx
mov edx, dword [ebp - 0x18]
sub edx, eax
sub edx, dword [esi + 0xcc]
sub edx, dword [ebp - 0x20]
push edx
mov edx, dword [ebp - 0x1c]
sub edx, ecx
sub edx, dword [esi + 0xd4]
sub edx, dword [ebp - 0x24]
push edx
push eax
push ecx
lea ecx, [ebp - 0x44]
call fcn.0044da50
mov edx, dword [esi + 0xd4]
mov ecx, dword [esi + 0xd0]
mov eax, dword [ebp - 0x2c]
sub eax, edx
sub eax, ecx
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x1c]
push 0xcc0020
sub eax, edx
mov edx, dword [esi + 0xc8]
push edx
mov edx, dword [ebp - 0x30]
push edx
push 0
lea edx, [ecx + edi]
push edx
mov edx, dword [ebp - 0x50]
push edx
mov edx, dword [esi + 0xc8]
sub eax, ecx
sub eax, dword [ebp - 0x24]
push edx
push eax
mov eax, dword [ebp - 0x40]
push 0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
mov edx, dword [esi + 0xd4]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [esi + 0xcc]
sub eax, edx
sub eax, dword [esi + 0xd0]
push 0xcc0020
mov dword [ebp - 0x30], eax
mov eax, ebx
sub eax, ecx
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x1c]
sub eax, edx
mov edx, dword [ebp - 0x18]
sub eax, dword [esi + 0xd0]
sub edx, ecx
sub eax, dword [ebp - 0x24]
push ecx
mov dword [ebp - 0x34], edx
mov edx, dword [ebp - 0x30]
push edx
mov edx, dword [ebp - 0x28]
push edx
mov edx, dword [esi + 0xd0]
add edx, edi
push edx
mov edx, dword [ebp - 0x50]
push edx
push ecx
mov ecx, dword [ebp - 0x40]
push eax
mov eax, dword [ebp - 0x34]
push eax
mov eax, dword [esi + 0xd0]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
mov edx, dword [esi + 0xcc]
mov eax, dword [esi + 0xc8]
mov ecx, ebx
sub ecx, edx
sub ecx, eax
mov dword [ebp - 0x34], ecx
mov ecx, dword [ebp - 0x18]
sub ecx, edx
mov edx, dword [ebp - 0x34]
push 0xcc0020
push edx
mov edx, dword [esi + 0xd0]
push edx
mov edx, dword [ebp - 0x50]
push eax
sub ecx, eax
push edi
push edx
push ecx
mov ecx, dword [esi + 0xd0]
push ecx
push eax
mov eax, dword [ebp - 0x40]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
mov edx, dword [esi + 0xcc]
mov eax, dword [esi + 0xc8]
mov ecx, dword [esi + 0xd4]
push 0xcc0020
sub ebx, edx
sub ebx, eax
sub edi, ecx
add edi, dword [ebp - 0x2c]
mov dword [ebp - 0x34], ebx
push dword [ebp - 0x34]
mov ebx, edi
mov edi, dword [ebp - 0x18]
push ecx
push eax
push ebx
mov ebx, dword [ebp - 0x50]
sub edi, edx
mov edx, dword [ebp - 0x1c]
push ebx
sub edi, eax
push edi
push ecx
sub edx, ecx
mov ecx, dword [ebp - 0x40]
push eax
push edx
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
mov eax, dword [ebp - 0x5c]
test eax, eax
je 0x44d418
mov eax, dword [eax + 4]
mov edx, dword [ebp - 0x50]
push eax
push edx
call fcn.0045747a
mov eax, dword [ebp - 0x60]
test eax, eax
je 0x44d42c
mov eax, dword [eax + 4]
push eax
mov eax, dword [ebp - 0x40]
push eax
call fcn.0045747a
mov ecx, dword [ebp - 0x58]
mov edx, dword [ecx + 4]
mov eax, dword [esi + 0x20]
push edx
push eax
call dword [0x51f824]
lea ecx, [ebp - 0x54]
call fcn.00457180
lea ecx, [ebp - 0x44]
call fcn.00457180
lea ecx, [ebp - 0x54]
mov dword [esi + 0x90], 1
mov byte [ebp - 4], 0
call fcn.00457196
lea ecx, [ebp - 0x44]
mov dword [ebp - 4], 0xffffffff
call fcn.00457196
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call 0x53fe86
mov esp, ebp
pop ebp
ret 0xc