Function at 0x4224c0
Capabilities:
Copy file
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x44e9c8
mov eax, dword fs:[0]
push eax
sub esp, 0x154
mov eax, dword [0x4612b0]
xor eax, esp
mov dword [esp + 0x150], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4612b0]
xor eax, esp
push eax
lea eax, [esp + 0x168]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x178]
mov edx, dword [ebp + 0x2d0]
sub edx, dword [ebp + 0x2cc]
mov eax, dword [esp + 0x17c]
mov dword [esp + 0x14], ebp
add ebp, 0x2c0
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], ecx
test edx, 0xffffffc0
jne 0x422668
lea eax, [esp + 0x12c]
push eax
sub esp, 0x1c
mov esi, esp
xor ebx, ebx
mov dword [esi + 0x18], 0xf
lea edi, [esi + 4]
mov dword [esi + 0x14], ebx
mov byte [edi], bl
mov eax, dword [esi + 0x18]
mov dword [esp + 0x54], esp
cmp eax, 0x10
jb 0x422561
mov ecx, dword [edi]
jmp 0x422563
mov ecx, edi
cmp ecx, 0x45737c
ja 0x42259e
cmp eax, 0x10
jb 0x422574
mov ecx, dword [edi]
jmp 0x422576
mov ecx, edi
mov edx, dword [esi + 0x14]
add edx, ecx
cmp edx, 0x45737c
jbe 0x42259e
cmp eax, 0x10
jb 0x42258a
mov edi, dword [edi]
push 0x38
mov eax, 0x45737c
sub eax, edi
push eax
push esi
mov ecx, esi
call fcn.00402be0
jmp 0x4225e1
cmp eax, 0x38
jae 0x4225b0
mov ecx, dword [esi + 0x14]
push ecx
push 0x38
mov ecx, esi
call fcn.00403340
mov ecx, dword [esi + 0x18]
cmp ecx, 0x10
jb 0x4225bc
mov eax, dword [edi]
jmp 0x4225be
mov eax, edi
push 0x38
push 0x45737c
push ecx
push eax
call fcn.00439ca9
add esp, 0x10
cmp dword [esi + 0x18], 0x10
mov dword [esi + 0x14], 0x38
jb 0x4225de
mov edi, dword [edi]
mov byte [edi + 0x38], bl
lea esi, [esp + 0x80]
call fcn.004014e0
mov dword [esp + 0x174], ebx
call fcn.00401900
mov esi, 0x10
mov byte [esp + 0x170], 1
cmp dword [eax + 0x18], esi
jb 0x422610
mov eax, dword [eax + 4]
jmp 0x422613
add eax, 4
mov edx, dword [esp + 0x14]
push eax
push 1
push edx
call fcn.0041da70
add esp, 0xc
cmp dword [esp + 0x144], esi
jb 0x42263c
mov eax, dword [esp + 0x130]
push eax
call fcn.00439c49
add esp, 4
lea esi, [esp + 0x60]
mov dword [esp + 0x144], 0xf
mov dword [esp + 0x140], ebx
mov byte [esp + 0x130], bl
call fcn.004037a0
mov eax, 0x8000000a
jmp 0x42310a
mov dword [esp + 0x128], 0xf
mov dword [esp + 0x124], 0
mov byte [esp + 0x114], 0
lea ecx, [esp + 0x1c]
push ecx
mov dword [esp + 0x174], 2
call fcn.0042b5e0
mov byte [esp + 0x170], 3
mov edx, dword [ebp + 0x10]
sub edx, dword [ebp + 0xc]
mov eax, dword [esp + 0x2c]
xor edi, edi
sar edx, 6
mov dword [esp + 0x18], edi
test edx, edx
jbe 0x422725
lea ebx, [ebx]
mov edx, dword [esp + 0x28]
test edx, edx
jne 0x4226cc
xor ecx, ecx
jmp 0x4226d5
mov ecx, dword [esp + 0x30]
sub ecx, edx
sar ecx, 2
mov esi, eax
sub esi, edx
sar esi, 2
cmp esi, ecx
jae 0x4226eb
mov dword [eax], edi
add eax, 4
mov dword [esp + 0x2c], eax
jmp 0x422713
mov esi, eax
cmp edx, eax
jbe 0x4226f6
call fcn.00439b40
mov eax, dword [esp + 0x1c]
push esi
push eax
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x64]
push ecx
lea eax, [esp + 0x2c]
call fcn.0042c9c0
mov eax, dword [esp + 0x2c]
mov edx, dword [ebp + 0x10]
sub edx, dword [ebp + 0xc]
inc edi
sar edx, 6
mov dword [esp + 0x18], edi
cmp edi, edx
jb 0x4226c0
mov ecx, dword [ebp + 0x10]
sub ecx, dword [ebp + 0xc]
xor edi, edi
sar ecx, 6
test ecx, ecx
jbe 0x42277c
sub eax, dword [esp + 0x28]
sar eax, 2
mov esi, eax
call fcn.00439c27
xor edx, edx
div esi
lea eax, [esp + 0x1c]
mov ebx, edx
call fcn.0042bd80
mov esi, eax
mov ebx, edi
lea eax, [esp + 0x1c]
call fcn.0042bd80
cmp eax, esi
je 0x42276a
mov edx, dword [esi]
mov ecx, dword [eax]
mov dword [eax], edx
mov dword [esi], ecx
mov eax, dword [ebp + 0x10]
sub eax, dword [ebp + 0xc]
inc edi
sar eax, 6
cmp edi, eax
mov eax, dword [esp + 0x2c]
jb 0x422734
mov edx, dword [esp + 0x28]
mov ecx, eax
sub ecx, edx
sar ecx, 2
mov dword [esp + 0x18], 0
test ecx, ecx
jbe 0x422d35
jmp 0x4227a0
cmp ecx, dword [esp + 0x18]
jbe 0x422d99
mov esi, edx
cmp edx, eax
jbe 0x4227b5
call fcn.00439b40
mov eax, dword [esp + 0x1c]
mov edi, eax
mov ebx, edi
mov dword [esp + 0x5c], esi
test eax, eax
jne 0x4227e0
call fcn.00439b40
xor eax, eax
mov ecx, dword [esp + 0x18]
lea esi, [esi + ecx*4]
cmp esi, dword [eax + 0x10]
ja 0x4227eb
test edi, edi
je 0x4227e4
mov edi, dword [edi]
jmp 0x4227e6
mov eax, dword [eax]
jmp 0x4227cc
xor edi, edi
cmp esi, dword [edi + 0xc]
jae 0x4227f0
call fcn.00439b40
test ebx, ebx
jne 0x42286a
call fcn.00439b40
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x422805
call fcn.00439b40
mov ebx, dword [esi]
mov eax, ebx
mov ecx, ebp
call fcn.0042b690
cmp dword [eax + 0x3c], 0
je 0x422d15
mov esi, dword [esp + 0x34]
cmp dword [esi + 0x80], 0
je 0x42286e
mov eax, ebx
mov ecx, ebp
call fcn.0042b690
add eax, 0x1c
cmp dword [eax + 0x14], 0
je 0x422d15
cmp dword [esi + 0x80], 0
je 0x42286e
mov eax, ebx
mov ecx, ebp
mov edi, 1
call fcn.0042b690
push 0xffffffffffffffff
add eax, 0x1c
push 0
push eax
lea ecx, [esp + 0x11c]
call fcn.00402be0
jmp 0x4228d3
mov eax, dword [ebx]
jmp 0x4227fb
mov eax, ebx
mov ecx, ebp
call fcn.0042b690
add eax, 0x1c
cmp dword [eax + 0x14], 0
je 0x4228b7
call fcn.00439c27
and eax, 0x80000001
jns 0x422891
dec eax
or eax, 0xfffffffe
inc eax
mov eax, ebx
mov ecx, ebp
jne 0x4228bb
call fcn.0042b690
push 0xffffffffffffffff
add eax, 0x1c
push 0
push eax
lea ecx, [esp + 0x11c]
call fcn.00402be0
mov edi, 1
jmp 0x4228d3
mov eax, ebx
mov ecx, ebp
call fcn.0042b690
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x11c]
call fcn.00402be0
xor edi, edi
xor eax, eax
mov ecx, 0xf
mov dword [esp + 0x144], ecx
mov dword [esp + 0x140], eax
mov byte [esp + 0x130], al
mov dword [esp + 0x160], ecx
mov dword [esp + 0x15c], eax
mov byte [esp + 0x14c], al
mov eax, dword [esp + 0x14]
mov byte [esp + 0x170], 5
mov ecx, dword [eax + 0x10]
sub ecx, dword [eax + 0xc]
mov eax, 0x7e07e07f
imul ecx
sar edx, 7
mov esi, edx
shr esi, 0x1f
add esi, edx
je 0x422d9e
call fcn.00439c27
xor edx, edx
div esi
mov eax, dword [esp + 0x38]
mov esi, dword [esp + 0x14]
mov dword [eax], edx
push edx
mov eax, esi
call fcn.0040f7b0
push 0xffffffffffffffff
add eax, 0x1c
push 0
push eax
lea ecx, [esp + 0x154]
call fcn.00402be0
mov ecx, dword [esp + 0x38]
mov edx, dword [ecx]
push edx
mov eax, esi
call fcn.0040f7b0
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x138]
call fcn.00402be0
mov eax, dword [esp + 0x124]
test eax, eax
je 0x422a53
lea esi, [eax - 1]
cmp eax, esi
ja 0x42299d
call fcn.00438c11
mov eax, dword [esp + 0x124]
cmp dword [esp + 0x128], 0x10
mov ecx, dword [esp + 0x114]
jae 0x4229b5
lea ecx, [esp + 0x114]
cmp byte [ecx + esi], 0x5c
je 0x422a53
or ecx, 0xffffffff
sub ecx, eax
cmp ecx, 1
ja 0x4229d5
call fcn.00438bd9
mov eax, dword [esp + 0x124]
lea esi, [eax + 1]
cmp esi, 0xfffffffe
jbe 0x4229e9
call fcn.00438bd9
mov eax, dword [esp + 0x124]
mov ecx, dword [esp + 0x128]
cmp ecx, esi
jae 0x422a9d
push eax
push esi
lea ecx, [esp + 0x118]
call fcn.00403340
mov eax, dword [esp + 0x124]
test esi, esi
jbe 0x422a53
mov ecx, dword [esp + 0x114]
mov edx, 0x10
cmp dword [esp + 0x128], edx
jae 0x422a2d
lea ecx, [esp + 0x114]
mov byte [ecx + eax], 0x5c
mov eax, dword [esp + 0x114]
mov dword [esp + 0x124], esi
cmp dword [esp + 0x128], edx
jae 0x422a4f
lea eax, [esp + 0x114]
mov byte [eax + esi], 0
push 0
lea edx, [esp + 0x130]
push edx
or eax, 0xffffffff
lea esi, [esp + 0x118]
call fcn.00405750
cmp dword [esp + 0x128], 0x10
mov ecx, dword [esp + 0x114]
jae 0x422a84
lea ecx, [esp + 0x114]
mov eax, dword [esp + 0x14]
mov esi, 0x10
cmp dword [eax + 0x25c], esi
jb 0x422ac4
mov eax, dword [eax + 0x248]
jmp 0x422ac9
test esi, esi
jne 0x422a0f
mov eax, dword [esp + 0x114]
mov dword [esp + 0x124], esi
cmp ecx, 0x10
jae 0x422abf
lea eax, [esp + 0x114]
mov byte [eax], 0
jmp 0x422a53
add eax, 0x248
push 0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
jne 0x422f78
mov eax, ebx
mov ecx, ebp
call fcn.0042b690
inc dword [eax + 0x38]
add eax, 0x38
mov eax, ebx
mov ecx, ebp
call fcn.0042b690
cmp dword [eax + 0x38], 3
jle 0x422cbd
mov eax, ebx
mov ecx, ebp
call fcn.0042b690
cmp dword [eax + 0x18], esi
jb 0x422b10
mov eax, dword [eax + 4]
jmp 0x422b13
add eax, 4
push eax
lea eax, [esp + 0x40]
push eax
sub esp, 0x1c
mov esi, esp
mov dword [esi + 0x18], 0xf
lea edi, [esi + 4]
mov dword [esi + 0x14], 0
mov byte [edi], 0
mov eax, dword [esi + 0x18]
mov dword [esp + 0x7c], esp
cmp eax, 0x10
jb 0x422b42
mov ecx, dword [edi]
jmp 0x422b44
mov ecx, edi
cmp ecx, 0x4573f8
ja 0x422b7f
cmp eax, 0x10
jb 0x422b55
mov ecx, dword [edi]
jmp 0x422b57
mov ecx, edi
mov edx, dword [esi + 0x14]
add edx, ecx
cmp edx, 0x4573f8
jbe 0x422b7f
cmp eax, 0x10
jb 0x422b6b
mov edi, dword [edi]
push 0x3f
mov eax, 0x4573f8
sub eax, edi
push eax
push esi
mov ecx, esi
call fcn.00402be0
jmp 0x422bc3
cmp eax, 0x3f
jae 0x422b91
mov ecx, dword [esi + 0x14]
push ecx
push 0x3f
mov ecx, esi
call fcn.00403340
mov ecx, dword [esi + 0x18]
cmp ecx, 0x10
jb 0x422b9d
mov eax, dword [edi]
jmp 0x422b9f
mov eax, edi
push 0x3f
push 0x4573f8
push ecx
push eax
call fcn.00439ca9
add esp, 0x10
cmp dword [esi + 0x18], 0x10
mov dword [esi + 0x14], 0x3f
jb 0x422bbf
mov edi, dword [edi]
mov byte [edi + 0x3f], 0
lea esi, [esp + 0x84]
call fcn.004014e0
mov ecx, eax
mov byte [esp + 0x178], 8
call fcn.00401760
mov edi, 0x10
mov byte [esp + 0x174], 9
cmp dword [eax + 0x18], edi
jb 0x422bf5
mov eax, dword [eax + 4]
jmp 0x422bf8
add eax, 4
mov edx, dword [esp + 0x18]
push eax
push 1
push edx
call fcn.0041da70
add esp, 0x10
cmp dword [esp + 0x54], edi
jb 0x422c1b
mov eax, dword [esp + 0x40]
push eax
call fcn.00439c49
add esp, 4
xor esi, esi
mov byte [esp + 0x170], 5
mov dword [esp + 0x54], 0xf
mov dword [esp + 0x50], esi
mov byte [esp + 0x40], 0
cmp dword [esp + 0xb0], edi
jb 0x422c4f
mov ecx, dword [esp + 0x9c]
push ecx
call fcn.00439c49
add esp, 4
mov dword [esp + 0xb0], 0xf
mov dword [esp + 0xac], esi
mov byte [esp + 0x9c], 0
cmp dword [esp + 0x94], edi
jb 0x422c82
mov edx, dword [esp + 0x80]
push edx
call fcn.00439c49
add esp, 4
mov dword [esp + 0x94], 0xf
mov dword [esp + 0x90], esi
mov byte [esp + 0x80], 0
cmp dword [esp + 0x78], edi
jb 0x422caf
mov eax, dword [esp + 0x64]
push eax
call fcn.00439c49
add esp, 4
mov eax, ebx
mov ecx, ebp
call fcn.0042b690
mov dword [eax + 0x3c], esi
mov esi, edi
cmp dword [esp + 0x160], esi
jb 0x422cd6
mov ecx, dword [esp + 0x14c]
push ecx
call fcn.00439c49
add esp, 4
mov byte [esp + 0x170], 3
mov dword [esp + 0x160], 0xf
mov dword [esp + 0x15c], 0
mov byte [esp + 0x14c], 0
cmp dword [esp + 0x144], esi
jb 0x422d15
mov edx, dword [esp + 0x130]
push edx
call fcn.00439c49
add esp, 4
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov esi, dword [esp + 0x18]
mov ecx, eax
sub ecx, edx
inc esi
sar ecx, 2
mov dword [esp + 0x18], esi
cmp esi, ecx
jb 0x4227a0
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x74], esp
xor ebx, ebx
push 0x2a
mov ebp, 0xf
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
push 0x457438
lea edi, [esp + 0x60]
mov byte [ecx + 4], bl
call fcn.00402f50
lea esi, [esp + 0xd4]
call fcn.004014e0
mov edx, edi
mov ecx, eax
mov byte [esp + 0x170], 0xa
call fcn.00401a80
mov edi, 0x10
mov byte [esp + 0x170], 0xb
cmp dword [eax + 0x18], edi
jb 0x423083
mov eax, dword [eax + 4]
jmp 0x423086
call fcn.0040fcf0
lea eax, [esp + 0x3c]
push eax
sub esp, 0x1c
mov esi, esp
xor ebp, ebp
mov dword [esi + 0x18], 0xf
lea edi, [esi + 4]
mov dword [esi + 0x14], ebp
mov byte [edi], 0
mov eax, dword [esi + 0x18]
mov ebx, 0x10
mov dword [esp + 0x78], esp
cmp eax, ebx
jb 0x422dce
mov ecx, dword [edi]
jmp 0x422dd0
mov ecx, edi
cmp ecx, 0x4573b8
ja 0x422e09
cmp eax, ebx
jb 0x422de0
mov ecx, dword [edi]
jmp 0x422de2
mov ecx, edi
mov edx, dword [esi + 0x14]
add edx, ecx
cmp edx, 0x4573b8
jbe 0x422e09
cmp eax, ebx
jb 0x422df5
mov edi, dword [edi]
push 0x3a
mov eax, 0x4573b8
sub eax, edi
push eax
push esi
mov ecx, esi
call fcn.00402be0
jmp 0x422e4b
cmp eax, 0x3a
jae 0x422e1b
mov ecx, dword [esi + 0x14]
push ecx
push 0x3a
mov ecx, esi
call fcn.00403340
mov ecx, dword [esi + 0x18]
cmp ecx, ebx
jb 0x422e26
mov eax, dword [edi]
jmp 0x422e28
mov eax, edi
push 0x3a
push 0x4573b8
push ecx
push eax
call fcn.00439ca9
add esp, 0x10
mov dword [esi + 0x14], 0x3a
cmp dword [esi + 0x18], ebx
jb 0x422e47
mov edi, dword [edi]
mov byte [edi + 0x3a], 0
lea esi, [esp + 0x80]
call fcn.004014e0
mov byte [esp + 0x174], 6
call fcn.00401900
mov byte [esp + 0x170], 7
cmp dword [eax + 0x18], ebx
jb 0x422e76
mov eax, dword [eax + 4]
jmp 0x422e79
add eax, 4
mov edx, dword [esp + 0x14]
push eax
push 1
push edx
call fcn.0041da70
add esp, 0xc
cmp dword [esp + 0x54], ebx
jb 0x422e9c
mov eax, dword [esp + 0x40]
push eax
call fcn.00439c49
add esp, 4
mov esi, 0xf
mov dword [esp + 0x54], esi
mov dword [esp + 0x50], ebp
mov byte [esp + 0x40], 0
cmp dword [esp + 0xb0], ebx
jb 0x422ec7
mov ecx, dword [esp + 0x9c]
push ecx
call fcn.00439c49
add esp, 4
mov dword [esp + 0xb0], esi
mov dword [esp + 0xac], ebp
mov byte [esp + 0x9c], 0
cmp dword [esp + 0x94], ebx
jb 0x422ef6
mov edx, dword [esp + 0x80]
push edx
call fcn.00439c49
add esp, 4
mov dword [esp + 0x94], esi
mov dword [esp + 0x90], ebp
mov byte [esp + 0x80], 0
cmp dword [esp + 0x78], ebx
jb 0x422f1f
mov eax, dword [esp + 0x64]
push eax
call fcn.00439c49
add esp, 4
cmp dword [esp + 0x160], ebx
jb 0x422f38
mov ecx, dword [esp + 0x14c]
push ecx
call fcn.00439c49
add esp, 4
mov byte [esp + 0x170], 3
mov dword [esp + 0x160], esi
mov dword [esp + 0x15c], ebp
mov byte [esp + 0x14c], 0
cmp dword [esp + 0x144], ebx
jb 0x422d35
mov edx, dword [esp + 0x130]
push edx
call fcn.00439c49
add esp, 4
jmp 0x422d35
mov esi, dword [esp + 0x34]
mov dword [esi + 0x78], edi
push 0xffffffffffffffff
xor edi, edi
push edi
lea eax, [esp + 0x134]
push eax
lea ecx, [esi + 0x3c]
call fcn.00402be0
push 0xffffffffffffffff
push edi
lea ecx, [esp + 0x118]
push ecx
lea ecx, [esi + 0x58]
call fcn.00402be0
cmp dword [esi + 0x80], edi
jne 0x422fc2
push 0xffffffffffffffff
push edi
lea edx, [esp + 0x150]
push edx
lea ecx, [esi + 0x20]
call fcn.00402be0
mov eax, ebx
mov ecx, ebp
mov dword [esi + 0x74], ebx
call fcn.0042b690
mov esi, 0x10
mov dword [eax + 0x38], edi
cmp dword [esp + 0x160], esi
jb 0x422fef
mov eax, dword [esp + 0x14c]
push eax
call fcn.00439c49
add esp, 4
mov ebx, 0xf
mov dword [esp + 0x160], ebx
mov dword [esp + 0x15c], edi
mov byte [esp + 0x14c], 0
cmp dword [esp + 0x144], esi
jb 0x423023
mov ecx, dword [esp + 0x130]
push ecx
call fcn.00439c49
add esp, 4
mov eax, dword [esp + 0x28]
mov dword [esp + 0x144], ebx
mov dword [esp + 0x140], edi
mov byte [esp + 0x130], 0
cmp eax, edi
je 0x42304a
push eax
call fcn.00439c49
add esp, 4
mov edx, dword [esp + 0x1c]
push edx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
call fcn.00439c49
add esp, 4
cmp dword [esp + 0x128], esi
jb 0x42307c
mov eax, dword [esp + 0x114]
push eax
call fcn.00439c49
add esp, 4
xor eax, eax
jmp 0x42310a
add eax, 4
mov ecx, dword [esp + 0x14]
push eax
push 1
push ecx
call fcn.0041da70
add esp, 0xc
cmp dword [esp + 0x54], edi
jb 0x4230a9
mov edx, dword [esp + 0x40]
push edx
call fcn.00439c49
add esp, 4
lea esi, [esp + 0xb8]
mov dword [esp + 0x54], ebp
mov dword [esp + 0x50], ebx
mov byte [esp + 0x40], 0
call fcn.004037a0
mov eax, dword [esp + 0x28]
cmp eax, ebx
je 0x4230d3
push eax
call fcn.00439c49
add esp, 4
mov eax, dword [esp + 0x1c]
push eax
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
call fcn.00439c49
add esp, 4
cmp dword [esp + 0x128], edi
jb 0x423105
mov ecx, dword [esp + 0x114]
push ecx
call fcn.00439c49
add esp, 4
mov eax, 0x80004005
mov ecx, dword [esp + 0x168]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x150]
xor ecx, esp
call fcn.00439641
add esp, 0x160
ret 8