Function at 0x4ad730
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
mov edi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4ae5ca
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [ebx + 0x194], 0
je 0x4ae59a
lea esi, [ebx + 0x3c8]
mov eax, dword [0x4ae5d8]
not eax
and eax, dword [esi + 8]
mov dword [esi + 8], eax
mov eax, dword [0x4ae5dc]
not eax
and eax, dword [esi + 0xc]
mov dword [esi + 0xc], eax
mov eax, dword [0x4ae5e0]
not eax
and eax, dword [esi + 0x10]
mov dword [esi + 0x10], eax
mov eax, dword [0x4ae5e4]
not eax
and eax, dword [esi + 0x144]
mov dword [esi + 0x144], eax
mov eax, dword [0x4ae5e8]
not eax
and eax, dword [esi + 0x17c]
mov dword [esi + 0x17c], eax
mov ax, word [0x4ae5ec]
not eax
and ax, word [esi + 0x208]
mov word [esi + 0x208], ax
mov eax, dword [ebx + 0x1a8]
call fcn.0063e0c8
test al, al
je 0x4ad7e8
or dword [esi + 8], 0x1000000
mov eax, dword [ebx + 0x1ac]
call fcn.0063e0c8
test al, al
je 0x4ad7fe
or dword [esi + 8], 0x2000000
mov eax, dword [ebx + 0x1b0]
call fcn.0063e0c8
test al, al
je 0x4ad814
or dword [esi + 8], 0x4000000
cmp edi, dword [ebx + 0x1b4]
jne 0x4ad827
lea eax, [esi + 0xc0]
call fcn.004a9424
mov eax, dword [ebx + 0x1c0]
call fcn.00421eb0
test al, al
je 0x4ad848
mov eax, dword [ebx + 0x1c0]
mov eax, dword [eax + 0x158]
mov dword [esi + 0xa9], eax
mov eax, dword [ebx + 0x1c4]
call fcn.0063e0c8
test al, al
je 0x4ad85e
or dword [esi + 0x10], 0x100
mov eax, dword [ebx + 0x1c8]
call fcn.0063e0c8
test al, al
je 0x4ad874
or dword [esi + 0x10], 0x200
mov eax, dword [ebx + 0x1cc]
call fcn.0063e0c8
test al, al
je 0x4ad88a
or dword [esi + 0x10], 0x400
mov eax, dword [ebx + 0x1d0]
call fcn.0063e0c8
test al, al
je 0x4ad8a0
or dword [esi + 0x10], 0x800
mov eax, dword [ebx + 0x1d4]
call fcn.0063e0c8
test al, al
je 0x4ad8b6
or dword [esi + 8], 0x8000000
mov eax, dword [ebx + 0x1d8]
call fcn.0063e0c8
test al, al
je 0x4ad8cc
or dword [esi + 8], 0x20000000
cmp edi, dword [ebx + 0x1dc]
jne 0x4ad8d9
call fcn.004705d0
mov eax, dword [ebx + 0x1e0]
call fcn.0063cd0c
mov byte [esi + 0xa8], al
cmp edi, dword [ebx + 0x1e4]
jne 0x4ad8fa
mov eax, dword [esi + 0x71]
call fcn.004aae9c
lea edx, [ebp - 0x20]
mov eax, dword [ebx + 0x1e8]
call fcn.006466f8
mov edx, dword [ebp - 0x20]
lea eax, [esi + 0xb1]
call fcn.004038bc
mov eax, dword [ebx + 0x1f0]
call fcn.0063e0c8
test al, al
je 0x4ad929
or dword [esi + 0xc], 4
mov eax, dword [ebx + 0x1f4]
call fcn.0063cd0c
mov byte [esi + 0x148], al
mov eax, dword [ebx + 0x1f8]
call fcn.0063e0c8
test al, al
je 0x4ad94d
or dword [esi + 0xc], 8
mov eax, dword [ebx + 0x1fc]
call fcn.0063e0c8
test al, al
je 0x4ad963
or dword [esi + 0x144], 1
cmp edi, dword [ebx + 0x208]
jne 0x4ad9bc
mov eax, dword [ebx + 0x208]
call fcn.0063cca8
mov dword [ebp - 0x18], eax
mov eax, dword [ebx + 0x204]
call fcn.0063cd0c
test eax, eax
jne 0x4ad9a3
cmp dword [ebp - 0x18], 3
jne 0x4ad994
or dword [esi + 0xc], 0x10
jmp 0x4ad9bc
and dword [esi + 0xc], 0xffffffef
mov al, byte [ebp - 0x18]
mov byte [esi + 0x140], al
jmp 0x4ad9bc
cmp dword [ebp - 0x18], 3
jne 0x4ad9af
or dword [esi + 0xc], 0x20
jmp 0x4ad9bc
and dword [esi + 0xc], 0xffffffdf
mov al, byte [ebp - 0x18]
mov byte [esi + 0x141], al
mov eax, dword [ebx + 0x20c]
call fcn.0063e0c8
test al, al
je 0x4ad9d2
or dword [esi + 0x144], 2
mov eax, dword [ebx + 0x210]
call fcn.0063e0c8
test al, al
je 0x4ad9e5
or dword [esi + 0xc], 0x40
mov eax, dword [ebx + 0x214]
call fcn.0063e0c8
test al, al
je 0x4ad9f8
or dword [esi + 0x10], 2
mov eax, dword [ebx + 0x218]
call fcn.0063e0c8
test al, al
je 0x4ada0e
or dword [esi + 0x144], 8
mov eax, dword [ebx + 0x21c]
call fcn.0063e0c8
test al, al
je 0x4ada24
or dword [esi + 0xc], 0x80
mov eax, dword [ebx + 0x220]
call fcn.0063e0c8
test al, al
je 0x4ada37
or dword [esi + 0x10], 4
cmp edi, dword [ebx + 0x224]
jne 0x4ada4a
lea eax, [esi + 0x170]
call fcn.004ac144
mov eax, dword [ebx + 0x228]
call fcn.0063e0c8
test al, al
je 0x4ada60
or dword [esi + 0xc], 0x100
mov eax, dword [ebx + 0x22c]
call fcn.0063e0c8
test al, al
je 0x4ada76
or dword [esi + 0xc], 0x200
mov eax, dword [ebx + 0x230]
call fcn.0063e0c8
test al, al
je 0x4ada8f
or dword [esi + 0x144], 0x100
mov byte [esi + 0x16f], 0xff
mov eax, dword [ebx + 0x238]
call fcn.0063e0c8
test al, al
je 0x4adaac
and byte [esi + 0x16f], 0xfe
mov eax, dword [ebx + 0x23c]
call fcn.0063e0c8
test al, al
je 0x4adac2
and byte [esi + 0x16f], 0xfb
mov eax, dword [ebx + 0x240]
call fcn.0063e0c8
test al, al
je 0x4adad8
and byte [esi + 0x16f], 0xef
mov eax, dword [ebx + 0x244]
call fcn.0063e0c8
test al, al
je 0x4adaee
and byte [esi + 0x16f], 0xbf
mov eax, dword [ebx + 0x248]
call fcn.0063e0c8
test al, al
je 0x4adb04
and byte [esi + 0x16f], 0xfd
mov eax, dword [ebx + 0x24c]
call fcn.0063e0c8
test al, al
je 0x4adb1a
and byte [esi + 0x16f], 0xf7
mov eax, dword [ebx + 0x250]
call fcn.0063e0c8
test al, al
je 0x4adb30
and byte [esi + 0x16f], 0xdf
mov eax, dword [ebx + 0x254]
call fcn.0063e0c8
test al, al
je 0x4adb46
and byte [esi + 0x16f], 0x7f
mov eax, dword [ebx + 0x25c]
call fcn.0063e0c8
test al, al
je 0x4adb5c
or dword [esi + 0x17c], 0x10
mov eax, dword [ebx + 0x260]
call fcn.0063e0c8
test al, al
je 0x4adb72
or dword [esi + 0x17c], 1
mov eax, dword [ebx + 0x264]
call fcn.0063e0c8
test al, al
je 0x4adb88
or dword [esi + 0x17c], 0x40
mov eax, dword [ebx + 0x268]
call fcn.0063e0c8
test al, al
je 0x4adb9e
or dword [esi + 0x17c], 2
mov eax, dword [ebx + 0x26c]
call fcn.0063e0c8
test al, al
je 0x4adbb7
or dword [esi + 0x17c], 0x80
mov eax, dword [ebx + 0x270]
call fcn.0063e0c8
test al, al
je 0x4adbcd
or dword [esi + 0x17c], 4
mov eax, dword [ebx + 0x274]
call fcn.0063e0c8
test al, al
je 0x4adbe6
or dword [esi + 0x17c], 0x100
mov eax, dword [ebx + 0x278]
call fcn.0063e0c8
test al, al
je 0x4adbfc
or dword [esi + 0x17c], 8
mov eax, dword [ebx + 0x27c]
call fcn.0063e0c8
test al, al
je 0x4adc15
or dword [esi + 0x17c], 0x400
mov eax, dword [ebx + 0x280]
call fcn.0063e0c8
test al, al
je 0x4adc2b
or dword [esi + 0x17c], 0x20
mov eax, dword [ebx + 0x284]
call fcn.0063e0c8
test al, al
je 0x4adc44
or dword [esi + 0x17c], 0x8000
mov eax, dword [ebx + 0x288]
call fcn.0063e0c8
test al, al
je 0x4adc5d
or dword [esi + 0x17c], 0x800
mov eax, dword [ebx + 0x28c]
call fcn.0063e0c8
test al, al
jne 0x4adc76
or dword [esi + 0x17c], 0x10000
mov eax, dword [ebx + 0x290]
call fcn.0063e0c8
test al, al
jne 0x4adc8f
or dword [esi + 0x17c], 0x100000
cmp edi, dword [ebx + 0x294]
jne 0x4add1c
call fcn.006562d0
mov dword [ebp - 4], eax
mov eax, dword [0x672428]
test byte [eax + 0xb], 0x10
setne al
mov byte [ebp - 0x11], al
mov eax, dword [0x672428]
and dword [eax + 8], 0xefffffff
mov eax, dword [0x67256c]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
call fcn.0062d5d4
cmp byte [ebp - 0x11], 0
je 0x4adcdf
mov eax, dword [0x672428]
or dword [eax + 8], 0x10000000
push 0x4ae5f8
push 0
push 0
push 0
push 0
push 0
push 0
push ebx
push 0x4aee98
mov ecx, 0x4ae614
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x6dc]
call fcn.00465230
test al, al
je 0x4add14
mov byte [ebx + 0x3c4], 1
mov eax, dword [ebp - 4]
call fcn.004028c0
cmp edi, dword [ebx + 0x298]
jne 0x4add2e
mov eax, dword [0x4aa70c]
call fcn.0062c3f4
mov eax, dword [ebx + 0x29c]
call fcn.0063e0c8
test al, al
je 0x4add44
or dword [esi + 8], 0x10000000
cmp edi, dword [ebx + 0x29c]
jne 0x4add53
mov byte [ebx + 0x3c4], 1
mov eax, dword [ebx + 0x2a0]
mov eax, dword [eax + 0x188]
mov eax, dword [eax + 0x160]
mov dword [esi + 0x1c0], eax
mov eax, dword [ebx + 0x2a4]
call fcn.0063e0c8
and eax, 0x7f
mov dword [esi + 0x19c], eax
mov eax, dword [ebx + 0x2a8]
call fcn.0063e0c8
test al, al
je 0x4add92
or dword [esi + 0x10], 1
mov eax, dword [ebx + 0x2ac]
call fcn.0063e0c8
test al, al
je 0x4adda5
or dword [esi + 0x10], 8
mov eax, dword [ebx + 0x2b0]
call fcn.0063e0c8
test al, al
je 0x4addbb
or dword [esi + 0xc], 0x400
mov eax, dword [ebx + 0x2b4]
call fcn.0063e0c8
test al, al
je 0x4addd1
or dword [esi + 0xc], 0x800
mov eax, dword [ebx + 0x2bc]
call fcn.0063cd0c
test eax, eax
jne 0x4addea
or dword [esi + 0x17c], 0x200000
mov eax, dword [ebx + 0x2c4]
call fcn.0063cd0c
mov byte [esi + 0x200], al
mov eax, dword [ebx + 0x2cc]
call fcn.0063cd0c
test eax, eax
jne 0x4ade0e
or dword [esi + 0x10], 0x10
mov eax, dword [ebx + 0x2d4]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
call fcn.00421eb0
test al, al
je 0x4ade31
mov eax, dword [ebp - 0x1c]
call fcn.00421b30
mov dword [esi + 0x204], eax
cmp edi, dword [ebx + 0x2e0]
jne 0x4adeb6
lea edx, [ebp - 8]
mov eax, dword [0x674b9c]
call fcn.00634050
lea eax, [ebp - 8]
call fcn.0062b120
lea edx, [ebp - 8]
mov eax, 0x4ae624
call fcn.0062abfc
test al, al
je 0x4adeb6
mov eax, dword [ebp - 8]
call fcn.0065b8e4
sub ax, 0x2f
je 0x4ade73
sub ax, 0x2d
jne 0x4ade7f
mov eax, 0x4ae64c
call fcn.00629668
jmp 0x4ade39
lea edx, [ebp - 0x20]
xor eax, eax
call fcn.00634050
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 8]
call fcn.0065ce24
test al, al
je 0x4adea0
lea eax, [ebp - 8]
call fcn.00403880
mov eax, 0x674b9c
mov edx, dword [ebp - 8]
call fcn.004038bc
xor edx, edx
mov eax, ebx
call fcn.004aef14
mov eax, dword [ebx + 0x2e4]
call fcn.0063e0c8
test al, al
je 0x4adecd
or word [esi + 0x208], 0x40
mov eax, dword [ebx + 0x2e8]
call fcn.0063e0c8
test al, al
je 0x4adee5
or word [esi + 0x208], 0x100
mov eax, dword [ebx + 0x2ec]
call fcn.0063e0c8
test al, al
je 0x4adefd
or word [esi + 0x208], 0x200
mov eax, dword [ebx + 0x2f0]
call fcn.0063e0c8
test al, al
je 0x4adf10
or dword [esi + 0x10], 0x20
mov eax, dword [ebx + 0x2f4]
call fcn.0063e0c8
test al, al
je 0x4adf27
or word [esi + 0x208], 2
mov eax, dword [ebx + 0x2f8]
call fcn.0063e0c8
test al, al
je 0x4adf3e
or word [esi + 0x208], 4
mov eax, dword [ebx + 0x2fc]
call fcn.0063e0c8
test al, al
je 0x4adf55
or word [esi + 0x208], 8
mov eax, dword [ebx + 0x300]
call fcn.0063e0c8
test al, al
je 0x4adf6c
or word [esi + 0x208], 1
mov eax, dword [ebx + 0x304]
call fcn.0063e0c8
test al, al
je 0x4adf7f
or dword [esi + 0x10], 0x40
mov eax, dword [ebx + 0x308]
call fcn.0063e0c8
test al, al
je 0x4adf95
or dword [esi + 0xc], 0x1000
cmp edi, dword [ebx + 0x30c]
jne 0x4adfa8
lea eax, [esi + 0x245]
call fcn.004ab658
cmp edi, dword [ebx + 0x310]
jne 0x4adfee
mov eax, dword [ebx + 0x310]
call fcn.0063e0c8
test al, al
je 0x4adfd9
mov eax, 3
mov dword [esi + 0x216], eax
mov edx, eax
mov eax, dword [ebx + 0x314]
call fcn.00421bd8
jmp 0x4adfee
xor eax, eax
mov dword [esi + 0x216], eax
mov dl, 1
mov eax, dword [ebx + 0x314]
call fcn.00421b58
cmp edi, dword [ebx + 0x314]
jne 0x4ae017
mov eax, dword [ebx + 0x314]
call fcn.00421eb0
test al, al
je 0x4ae017
mov eax, dword [ebx + 0x314]
mov eax, dword [eax + 0x158]
mov dword [esi + 0x216], eax
cmp edi, dword [ebx + 0x318]
jne 0x4ae02a
lea eax, [esi + 0x208]
call fcn.00464234
cmp edi, dword [ebx + 0x320]
jne 0x4ae07e
mov eax, dword [ebx + 0x320]
call fcn.0063cd0c
test eax, eax
jl 0x4ae07e
mov eax, dword [ebx + 0x320]
call fcn.0063cd0c
mov edx, dword [ebx + 0x6e0]
mov edx, dword [edx + 0x1c]
mov edx, dword [edx + eax*4]
mov eax, dword [esi + 0x26c]
call fcn.0062def8
mov eax, dword [ebx + 0x32c]
mov edx, dword [eax]
call dword [edx + 0x38]
mov edx, edi
mov eax, ebx
call fcn.004aef14
mov eax, ebx
call fcn.004aee30
cmp edi, dword [ebx + 0x324]
jne 0x4ae1cf
lea edx, [ebp - 0x20]
mov eax, dword [ebx + 0x320]
call fcn.006466f8
cmp dword [ebp - 0x20], 0
je 0x4ae0cb
lea edx, [ebp - 0x24]
mov eax, dword [ebx + 0x320]
call fcn.006466f8
mov edx, dword [ebp - 0x24]
mov cl, 1
mov eax, ebx
call fcn.004aed14
inc eax
jne 0x4ae0cb
lea edx, [ebp - 0xc]
mov eax, dword [ebx + 0x320]
call fcn.006466f8
jmp 0x4ae0fe
xor eax, eax
mov dword [ebp - 0x18], eax
inc dword [ebp - 0x18]
lea ecx, [ebp - 0x28]
mov eax, 0x4ae670
mov edx, dword [ebp - 0x18]
call fcn.0065da0c
mov eax, dword [ebp - 0x28]
lea edx, [ebp - 0xc]
call fcn.0065c958
xor ecx, ecx
mov edx, dword [ebp - 0xc]
mov eax, ebx
call fcn.004aed14
test eax, eax
jge 0x4ae0d0
push ebx
push 0x4aed68
lea eax, [ebp - 0xc]
mov cl, 1
mov edx, 0x4ae688
call fcn.0042964c
test al, al
je 0x4ae1cf
xor ecx, ecx
mov edx, dword [ebp - 0xc]
mov eax, ebx
call fcn.004aed14
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffff
jne 0x4ae1ac
mov dl, 1
mov eax, dword [0x61e598]
call fcn.0062dec0
mov dword [ebp - 0x10], eax
mov edx, dword [esi + 0x26c]
mov eax, dword [ebp - 0x10]
call fcn.0062def8
mov eax, dword [ebp - 0x10]
add eax, 4
mov edx, dword [ebp - 0xc]
call fcn.004038bc
mov edx, dword [ebp - 0x10]
mov eax, dword [ebx + 0x6e0]
call fcn.00656c78
mov eax, dword [ebx + 0x320]
mov eax, dword [eax + 0x120]
mov edx, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov byte [ebx + 0x194], 0
mov eax, dword [ebx + 0x320]
mov eax, dword [eax + 0x120]
mov edx, dword [eax]
call dword [edx + 0xc]
mov edx, eax
dec edx
mov eax, dword [ebx + 0x320]
call fcn.0063cd28
mov byte [ebx + 0x194], 1
jmp 0x4ae1c6
mov eax, dword [ebx + 0x6e0]
mov eax, dword [eax + 0x1c]
mov edx, dword [ebp - 0x18]
mov eax, dword [eax + edx*4]
mov edx, dword [esi + 0x26c]
call fcn.0062def8
xor edx, edx
mov eax, ebx
call fcn.004aef14
cmp edi, dword [ebx + 0x328]
jne 0x4ae23a
mov eax, dword [ebx + 0x320]
call fcn.0063cd0c
cmp eax, 0x11
jge 0x4ae1f3
mov eax, 0x4ae6a0
call fcn.00629668
jmp 0x4ae23a
mov eax, dword [ebx + 0x320]
call fcn.0063cd0c
mov dword [ebp - 0x18], eax
mov byte [ebx + 0x194], 0
mov eax, dword [ebx + 0x320]
mov eax, dword [eax + 0x120]
mov edx, dword [ebp - 0x18]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov byte [ebx + 0x194], 1
mov edx, dword [ebp - 0x18]
mov eax, dword [ebx + 0x6e0]
call fcn.00656e70
xor edx, edx
mov eax, ebx
call fcn.004aef14
cmp edi, dword [ebx + 0x330]
jne 0x4ae282
mov eax, dword [ebx + 0x32c]
call fcn.0063e9e4
movzx eax, byte [eax + 0x66b318]
mov edx, dword [ebx + 0x634]
mov ecx, dword [ebx + 0x330]
mov ecx, dword [ecx + 0x188]
mov ecx, dword [ecx + 0x160]
mov dword [edx + eax*4 + 8], ecx
mov eax, dword [ebx + 0x32c]
mov edx, dword [eax]
call dword [edx + 0x38]
mov eax, ebx
call fcn.004aee30
mov ax, word [0x4ae6dc]
mov word [esi + 0xb5], ax
cmp edi, dword [ebx + 0x338]
jne 0x4ae343
mov byte [ebx + 0x194], 0
mov eax, dword [ebx + 0x338]
call fcn.0063e0c8
test al, al
jne 0x4ae2f3
test byte [esi + 0x17d], 0x10
je 0x4ae2f3
mov eax, 0x4ae6e0
mov cl, 0x28
mov dl, 3
call fcn.00629794
cmp ax, 6
jne 0x4ae2e4
and dword [esi + 0x17c], 0xffffefff
or dword [esi + 0x17c], 0x2000
jmp 0x4ae33c
mov dl, 1
mov eax, dword [ebx + 0x338]
call fcn.0063e0d4
jmp 0x4ae33c
mov eax, dword [ebx + 0x338]
call fcn.0063e0c8
test al, al
je 0x4ae33c
test byte [esi + 0x17d], 0x10
jne 0x4ae33c
test byte [esi + 0x17d], 0x20
je 0x4ae33c
mov eax, 0x4ae7b4
mov cl, 0x29
mov dl, 3
call fcn.00629794
cmp ax, 6
jne 0x4ae33c
or dword [esi + 0x17c], 0x1000
and dword [esi + 0x17c], 0xffffdfff
mov byte [ebx + 0x194], 1
mov eax, dword [ebx + 0x338]
call fcn.0063e0c8
test al, al
je 0x4ae35b
or word [esi + 0xb5], 0x80
mov eax, dword [ebx + 0x33c]
call fcn.0063e0c8
test al, al
je 0x4ae373
or word [esi + 0xb5], 0x100
mov eax, dword [ebx + 0x340]
call fcn.0063e0c8
test al, al
je 0x4ae38a
or word [esi + 0xb5], 1
mov eax, dword [ebx + 0x348]
call fcn.0063e0c8
test al, al
je 0x4ae3a1
or word [esi + 0xb5], 2
mov eax, dword [ebx + 0x350]
call fcn.0063e0c8
test al, al
je 0x4ae3b8
or word [esi + 0xb5], 4
mov eax, dword [ebx + 0x344]
call fcn.0063e0c8
test al, al
je 0x4ae3cf
or word [esi + 0xb5], 8
mov eax, dword [ebx + 0x34c]
call fcn.0063e0c8
test al, al
je 0x4ae3e6
or word [esi + 0xb5], 0x10
mov eax, dword [ebx + 0x354]
call fcn.0063e0c8
test al, al
je 0x4ae3fd
or word [esi + 0xb5], 0x40
cmp edi, dword [ebx + 0x358]
jne 0x4ae40a
call fcn.004a9b7c
mov eax, dword [ebx + 0x360]
call fcn.0063e0c8
test al, al
je 0x4ae41d
or dword [esi + 0xc], 2
mov eax, dword [ebx + 0x364]
call fcn.0063e0c8
test al, al
je 0x4ae430
or dword [esi + 0xc], 1
mov eax, dword [ebx + 0x370]
call fcn.0063cd0c
mov byte [esi + 0xb7], al
mov eax, dword [0x672428]
mov al, byte [eax + 0xb7]
cmp al, byte [esi + 0xb7]
je 0x4ae46c
mov eax, dword [0x672428]
mov dl, byte [esi + 0xb7]
mov byte [eax + 0xb7], dl
mov eax, ebx
call fcn.004aecb8
mov eax, dword [ebx + 0x374]
call fcn.0063cd0c
mov byte [esi + 0xb8], al
cmp edi, dword [ebx + 0x378]
jne 0x4ae490
lea eax, [esi + 0x1e4]
call fcn.004ab9c8
mov eax, dword [ebx + 0x37c]
call fcn.0063e0c8
test al, al
je 0x4ae4a6
or dword [esi + 0xc], 0x2000
cmp edi, dword [ebx + 0x380]
jne 0x4ae4eb
mov eax, ebx
call fcn.004aeecc
test al, al
je 0x4ae4eb
mov eax, dword [ebx + 0x384]
mov edx, dword [eax]
call dword [edx + 0x28]
test al, al
je 0x4ae4eb
lea edx, [ebp - 0x20]
mov eax, dword [ebx + 0x384]
call fcn.006371a0
mov eax, dword [ebp - 0x20]
push eax
call fcn.004796d0
lea edx, [ebx + 0x3c8]
pop ecx
call fcn.0047eedc
cmp edi, dword [ebx + 0x388]
jne 0x4ae591
mov eax, dword [ebx + 0x38c]
mov edx, dword [eax]
call dword [edx + 0x28]
test al, al
je 0x4ae591
lea edx, [ebp - 0x20]
mov eax, dword [ebx + 0x38c]
call fcn.006371a0
mov edx, dword [ebp - 0x20]
lea ecx, [ebp - 0x28]
mov eax, 0x4ae830
call fcn.0065d968
mov eax, dword [ebp - 0x28]
mov cx, word [0x4ae874]
mov dl, 3
call fcn.0062941c
cmp ax, 6
jne 0x4ae591
push 0
lea ecx, [ebp - 0x24]
mov edx, 0x4ae880
mov al, 9
call fcn.006260e8
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.00479824
mov eax, dword [ebp - 0x20]
push eax
lea edx, [ebp - 0x24]
mov eax, dword [ebx + 0x38c]
call fcn.006371a0
mov eax, dword [ebp - 0x24]
push eax
call sub.kernel32.dll_CopyFileW
call fcn.006271d0
call fcn.00501d74
mov byte [eax + 0x290], 1
mov dword [ebx + 0x148], 2
mov edx, edi
mov eax, ebx
call fcn.004aef14
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ae5d1
lea eax, [ebp - 0x28]
call fcn.00403274
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.00403898
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00403898
ret