Function at 0x1006243b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov eax, 0xd500
lea ebp, [esp - 0x70]
call fcn.100b44d0
lea eax, [ebp + 0x78]
push edi
push eax
mov dword [ebp + 0x4c], ecx
call fcn.1003f9c4
mov eax, dword [ebp + 0x78]
xor edi, edi
cmp word [eax], di
pop ecx
jne 0x10062469
xor eax, eax
jmp 0x100629d6
push ebx
push esi
mov esi, 0x100c6a64
push esi
lea ecx, [ebp + 0x50]
call fcn.100501eb
push esi
lea ecx, [ebp + 0x5c]
call fcn.100501eb
push 2
mov byte [ebp + 0x67], 0
mov byte [ebp + 0x6b], 0x20
mov byte [ebp + 0x66], 0
mov byte [ebp + 0x6c], 0
mov dword [ebp + 0x58], 0xff000000
pop ebx
jmp 0x10062656
push ebx
lea eax, [ebp + 0x78]
push eax
push 0x100cc014
call fcn.10048195
add esp, 0xc
test al, al
je 0x100624c0
mov byte [ebp + 0x67], 1
jmp 0x10062656
push ebx
lea eax, [ebp + 0x78]
push eax
push 0x100cbca4
call fcn.10048195
add esp, 0xc
test al, al
je 0x100624df
mov byte [ebp + 0x6b], 2
jmp 0x10062656
push 4
pop esi
push esi
lea eax, [ebp + 0x78]
push eax
push str._udm
call fcn.10048195
add esp, 0xc
test al, al
je 0x10062501
mov byte [ebp + 0x6b], 0x40
jmp 0x10062656
push ebx
lea eax, [ebp + 0x78]
push eax
push 0x100d033c
call fcn.10048195
add esp, 0xc
test al, al
je 0x10062520
mov byte [ebp + 0x6b], 1
jmp 0x10062656
push ebx
lea eax, [ebp + 0x78]
push eax
push 0x100cc7a4
call fcn.10048195
add esp, 0xc
test al, al
je 0x1006253f
mov byte [ebp + 0x6b], 0x10
jmp 0x10062656
push 3
push dword [ebp + 0x78]
push 0x100d0338
call fcn.10040df5
add esp, 0xc
test al, al
lea eax, [ebp + 0x78]
je 0x10062583
add dword [ebp + 0x78], 6
push eax
mov byte [ebp + 0x6b], 0x10
call fcn.1003f9c4
mov eax, dword [ebp + 0x78]
cmp word [eax], di
pop ecx
je 0x10062575
mov word [eax], di
add dword [ebp + 0x78], ebx
lea eax, [ebp + 0x78]
push eax
call fcn.10005b74
jmp 0x10062655
push esi
push eax
push 0x100d0330
call fcn.10048195
add esp, 0xc
test al, al
je 0x100625ab
add dword [ebp + 0x78], esi
lea eax, [ebp + 0x78]
push eax
mov byte [ebp + 0x66], 1
call fcn.1003f9c4
jmp 0x10062655
push esi
push dword [ebp + 0x78]
push str._src
call fcn.10040df5
add esp, 0xc
test al, al
je 0x100625fc
add dword [ebp + 0x78], 8
mov eax, dword [ebp + 0x78]
xor ecx, ecx
mov cx, word [eax]
mov eax, ecx
call fcn.10002df6
test al, al
je 0x100625e0
mov dword [ebp + 0x58], 5
jmp 0x10062656
cmp cx, 0x3a
jne 0x10062656
add dword [ebp + 0x78], ebx
lea eax, [ebp + 0x58]
push eax
lea eax, [ebp + 0x78]
push eax
mov dword [ebp + 0x58], edi
call fcn.10053a89
pop ecx
jmp 0x10062655
push 5
lea eax, [ebp + 0x78]
push eax
push str._utf8
call fcn.10048195
add esp, 0xc
test al, al
je 0x10062619
mov byte [ebp + 0x6c], 1
jmp 0x10062656
push ebx
lea eax, [ebp + 0x78]
push eax
push 0x100c7a50
call fcn.10048195
add esp, 0xc
test al, al
jne 0x10062662
mov esi, dword [ebp + 0x78]
push 1
push esi
push 0x100c8014
call fcn.10040d9e
add esp, 0xc
test al, al
jne 0x10062662
cmp word [esi], 0x2d
jne 0x10062662
lea eax, [ebp + 0x78]
push eax
call fcn.10008e60
pop ecx
mov eax, dword [ebp + 0x78]
cmp word [eax], di
jne 0x100624a1
mov eax, dword [ebp + 0x78]
mov dword [ebp + 0x18], eax
cmp word [eax], 0x22
lea eax, [ebp + 0x50]
jne 0x1006269f
mov ecx, dword [ebp + 0x4c]
push edi
push 0x2c
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.1003aaa0
mov esi, dword [ebp + 0x50]
mov ecx, dword [ebp + 0x4c]
push edi
push 0x2c
lea eax, [ebp + 0x5c]
push eax
lea eax, [ebp + 0x78]
push eax
mov dword [ebp + 0x44], esi
call fcn.1003aaa0
jmp 0x10062727
push 0x2c
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.1004907a
mov eax, dword [ebp + 0x78]
mov esi, dword [ebp + 0x50]
add esp, 0xc
cmp word [eax], 0x2c
mov dword [ebp + 0x44], esi
jne 0x100626dc
add dword [ebp + 0x78], ebx
push 0x2c
lea eax, [ebp + 0x5c]
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.1004907a
push dword [ebp + 0x5c]
call fcn.100132bf
add esp, 0x10
jmp 0x1006272a
push 1
lea eax, [ebp + 0x48]
push eax
lea eax, [ebp + 0x18]
push eax
mov dword [ebp + 0x48], edi
call fcn.1001a65a
add esp, 0xc
push dword [ebp + 0x48]
lea ecx, [ebp + 0x50]
push dword [ebp + 0x18]
mov dword [ebp + 0x60], eax
call fcn.10046247
mov esi, dword [ebp + 0x50]
push edi
lea eax, [ebp + 0x48]
push eax
lea eax, [ebp + 0x60]
push eax
mov dword [ebp + 0x44], esi
call fcn.1001a65a
add esp, 0xc
push dword [ebp + 0x48]
lea ecx, [ebp + 0x5c]
push dword [ebp + 0x60]
call fcn.10046247
mov eax, dword [ebp + 0x5c]
cmp word [eax], di
mov dword [ebp + 0x40], eax
je 0x100629bd
cmp word [esi], di
je 0x100629bd
push esi
push 0x100d031c
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
neg eax
sbb al, al
inc al
mov byte [ebp + 0x68], al
xor ebx, ebx
cmp byte [ebp + 0x6b], 2
je 0x100627b3
push edi
call fcn.100b632f
pop ecx
mov ebx, eax
call fcn.1004217a
add ebx, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
add ebx, eax
mov eax, dword [0x100e3da8]
shl eax, 4
add ebx, eax
xor dword [0x100e3da8], ebx
mov eax, ebx
and eax, 3
cmp al, 3
mov dword [ebp + 0x54], ebx
jne 0x1006275c
test bh, 0xf0
je 0x1006275c
test bh, 0xf
je 0x1006275c
mov ax, word [ebp + 0x56]
test al, 0xf0
je 0x1006275c
test al, 0xf
je 0x1006275c
test ah, 0xf
je 0x1006275c
mov al, ah
and al, 0x88
cmp al, 0x80
jne 0x1006275c
cmp byte [ebp + 0x6b], 0x10
je 0x10062b4c
mov esi, ebx
and esi, 0xfffffff
cmp ebx, edi
je 0x100627cf
xor ebx, 0x5aa59669
xor eax, eax
cmp byte [ebp + 0x6b], 0x20
mov dword [ebp + 0x54], ebx
jne 0x100627dd
push 0x14
pop eax
cmp byte [ebp + 0x6b], 0x40
jne 0x100627e6
push 0x18
pop eax
xor ebx, eax
cmp ax, di
mov word [ebp + 0x54], bx
je 0x100627fa
cmp bx, di
je 0x10062754
lea ecx, [ebp - 0xc]
call fcn.10049e50
lea ecx, [ebp + 0x1c]
call fcn.10049e50
mov eax, dword [ebp + 0x44]
mov dword [ebp + 0x38], esi
xor esi, esi
cmp word [eax], 0x26
sete byte [ebp + 0x6a]
cmp byte [ebp + 0x6a], 0
je 0x100628d1
mov ecx, dword [ebp + 0x4c]
push edi
push 0xffffffffffffffff
push edi
push eax
call fcn.10010cdd
cmp eax, edi
mov dword [ebp + 0x60], eax
je 0x100629a2
mov esi, dword [eax + 0x10]
shr esi, 1
lea eax, [esi + 0xc]
push eax
lea ecx, [ebp - 4]
lea ebx, [esi + esi]
call fcn.10046168
mov ecx, dword [ebp + 0x60]
mov eax, dword [ebp - 4]
push ebx
push dword [ecx + 4]
mov dword [ebp + 0x4c], eax
push eax
call fcn.100144ff
mov eax, dword [ebp + 0x4c]
push 0xa
add eax, ebx
push edi
push eax
call fcn.100b40f0
add esp, 0x18
mov dword [ebp + 4], ebx
push edi
push 0x80
push 2
push edi
push 7
push 0x40000001
push dword [ebp + 0x40]
lea ecx, [ebp + 0x20]
call fcn.10005b9d
cmp dword [ebp + 0x20], edi
je 0x10062928
push edi
push edi
lea ecx, [ebp - 0xd490]
mov byte [ebp + 0x30], 1
call fcn.100405eb
mov bl, byte [ebp + 0x6b]
cmp bl, 0x20
lea eax, [ebp - 0xc]
mov dword [ebp - 0x5c], eax
lea eax, [ebp + 0x1c]
mov dword [ebp - 0x58], eax
mov byte [ebp + 0x69], 0x53
jne 0x10062948
mov byte [ebp + 0x69], 0x61
jmp 0x10062951
cmp byte [ebp + 0x68], 0
je 0x100628e1
mov eax, dword [0x100e1348]
mov dword [ebp - 8], eax
jmp 0x10062877
push edi
push 0x80
push 3
push edi
push 7
push 1
push eax
lea ecx, [ebp - 8]
call fcn.10005b9d
cmp byte [0x100e2e70], 0
je 0x1006291f
push edi
push 0xfffffffffffffff6
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
push dword [ebp - 8]
push str.infile0x_p_0x_p_bstin_d_r_n
push 0x100e3108
call fcn.10011029
add esp, 0x14
cmp dword [ebp - 8], edi
jne 0x10062877
mov esi, 0x100cf3d0
lea ecx, [ebp + 0x20]
mov dword [ebp + 0x1c], esi
call fcn.10049e23
mov dword [ebp - 0xc], esi
lea ecx, [ebp - 8]
call fcn.10049e23
xor esi, esi
inc esi
jmp 0x100629c2
cmp bl, 0x40
jne 0x10062951
mov byte [ebp + 0x69], 0x4d
lea ecx, [ebp + 0x60]
call fcn.10046123
cmp dword [ebp + 0x58], edi
jge 0x10062968
cmp byte [ebp + 0x69], 0x53
je 0x10062a37
cmp byte [ebp + 0x66], 0
jne 0x10062a37
cmp byte [ebp + 0x6a], 0
jne 0x10062996
movsx eax, byte [ebp + 0x6c]
push eax
lea eax, [ebp - 4]
push eax
push dword [ebp - 8]
call fcn.10049f3d
add esp, 0xc
lea ecx, [ebp - 8]
mov esi, eax
call fcn.10002d56
cmp esi, edi
jg 0x100629de
lea ecx, [ebp + 0x60]
call fcn.1003f96c
mov esi, 0x100cf3d0
lea ecx, [ebp + 0x20]
mov dword [ebp + 0x1c], esi
call fcn.10049e23
lea ecx, [ebp - 8]
mov dword [ebp - 0xc], esi
call fcn.10049e23
mov esi, 0x80070057
lea ecx, [ebp + 0x5c]
call fcn.1003f96c
lea ecx, [ebp + 0x50]
call fcn.1003f96c
mov eax, esi
pop esi
pop ebx
pop edi
add ebp, 0x70
leave
ret 8
cmp byte [ebp + 0x6a], 0
jne 0x10062a0e
cmp esi, 1
jle 0x10062a0e
mov eax, dword [ebp - 4]
lea ecx, [eax + 2]
cmp word [ecx], 0x7f
ja 0x10062a0e
cmp bl, 0x20
je 0x100629ff
cmp bl, 0x40
jne 0x10062a0e
lea edx, [esi + esi]
push edx
push ecx
push eax
call fcn.100144b5
add esp, 0xc
dec esi
cmp dword [ebp + 0x58], edi
jge 0x10062a1a
mov dword [ebp + 0x58], 5
cmp byte [ebp + 0x6a], 0
jne 0x10062a31
push dword [ebp + 0x58]
push esi
push dword [ebp - 4]
call fcn.1004a0f0
add esp, 0xc
mov esi, eax
lea eax, [esi + esi]
mov dword [ebp + 4], eax
push 7
mov esi, 0x100cdab0
pop edi
mov al, byte [esi]
inc dword [ebp + 0x3c]
mov byte [ebp + 0x6c], al
push 1
lea eax, [ebp + 0x6c]
push eax
lea ecx, [ebp + 0x20]
call fcn.10042ddb
inc esi
dec edi
jne 0x10062a3f
mov al, byte [ebp + 0x69]
inc dword [ebp + 0x3c]
mov byte [ebp + 0x6c], al
push 1
lea eax, [ebp + 0x6c]
push eax
lea ecx, [ebp + 0x20]
call fcn.10042ddb
push 4
mov dword [ebp + 0x3c], 8
lea esi, [ebp + 0x54]
pop edi
mov al, byte [esi]
inc dword [ebp + 0x3c]
mov byte [ebp + 0x6c], al
push 1
lea eax, [ebp + 0x6c]
push eax
lea ecx, [ebp + 0x20]
call fcn.10042ddb
inc esi
dec edi
jne 0x10062a7d
xor eax, eax
lea edi, [ebp - 0xc496]
mov dword [ebp + 0x3c], 0xc
stosd dword es:[edi], eax
xor esi, esi
lea ecx, [ebp - 0xc]
call fcn.10042e95
cmp eax, 0xffffffff
je 0x10062acd
movsx ecx, si
inc esi
mov byte [ebp + ecx - 0xc496], al
inc byte [ebp - 0xc473]
cmp si, 4
jl 0x10062aa9
push 4
lea esi, [ebp - 0xc496]
pop edi
cmp byte [ebp + 0x67], 0
je 0x10062ae3
mov al, byte [esi]
mov byte [ebp + 0x6c], al
jmp 0x10062ae7
mov byte [ebp + 0x6c], 0
inc dword [ebp + 0x3c]
push 1
lea eax, [ebp + 0x6c]
push eax
lea ecx, [ebp + 0x20]
call fcn.10042ddb
inc esi
dec edi
jne 0x10062ad6
push 0
mov dword [ebp + 0x3c], 0x10
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea ecx, [ebp - 0xd490]
call fcn.10040825
push dword [ebp + 0x20]
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
cmp byte [ebp + 0x68], 0
je 0x10062b29
and dword [ebp - 8], 0
lea ecx, [ebp + 0x60]
call fcn.1003f96c
mov esi, 0x100cf3d0
lea ecx, [ebp + 0x20]
mov dword [ebp + 0x1c], esi
call fcn.10049e23
mov dword [ebp - 0xc], esi
lea ecx, [ebp - 8]
jmp 0x10062c3c
lea ecx, [ebp - 0x30]
mov dword [ebp + 0x54], edi
call fcn.10049eac
lea ecx, [ebp - 0x54]
call fcn.10049eac
push edi
mov esi, 0x80
push esi
push 3
push edi
push 7
push 1
push dword [ebp + 0x44]
lea ecx, [ebp - 0x2c]
call fcn.10005b9d
cmp dword [ebp - 0x2c], edi
je 0x10062bc0
push 8
pop ebx
lea ecx, [ebp - 0x30]
call fcn.10042ee8
dec ebx
jne 0x10062b80
xor ebx, ebx
lea ecx, [ebp - 0x30]
call fcn.10042ee8
mov byte [ebp + ebx + 0x54], al
inc ebx
cmp ebx, 4
jl 0x10062b8d
cmp dword [ebp + 0x54], edi
jne 0x10062bc0
push edi
push esi
push 2
push edi
push 7
push 0x40000001
push dword [ebp + 0x40]
lea ecx, [ebp - 0x50]
call fcn.10005b9d
cmp dword [ebp - 0x50], edi
jne 0x10062bdb
mov esi, 0x100cf3e0
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x54], esi
call fcn.10049e23
mov dword [ebp - 0x30], esi
lea ecx, [ebp - 0x2c]
jmp 0x1006293e
push edi
push edi
lea ecx, [ebp - 0xd490]
mov byte [ebp - 0x40], 1
call fcn.100405eb
cmp dword [ebp - 0x14], edi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x54]
mov dword [ebp - 0x58], eax
je 0x10062c04
xor dword [ebp - 0x14], 0x5aa59669
push 4
pop esi
lea ecx, [ebp - 0x30]
call fcn.10042ee8
dec esi
jne 0x10062c07
lea ecx, [ebp - 0xd490]
call fcn.10040a30
push dword [ebp - 0x50]
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
mov esi, 0x100cf3e0
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x54], esi
call fcn.10049e23
mov dword [ebp - 0x30], esi
lea ecx, [ebp - 0x2c]
call fcn.10049e23
xor esi, esi
jmp 0x100629c2