Function at 0x439d50
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e7394
mov eax, dword fs:[0]
push eax
sub esp, 0x124
mov eax, dword [0x52610c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0xe8]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x12c], 0
push 0xd
push str.Authorization
mov dword [ebp - 0x110], eax
mov byte [ebp - 0x102], 0
mov dword [ebp - 0xd4], 0xf
mov dword [ebp - 0xd8], 0
mov byte [ebp - 0xe8], 0
call fcn.00409aa0
push 0xffffffffffffffff
mov dword [ebp - 4], 0
lea ecx, [ebp - 0xd0]
push 0
push esi
mov dword [ebp - 0xbc], 0xf
mov dword [ebp - 0xc0], 0
mov byte [ebp - 0xd0], 0
call fcn.00409640
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 1
call fcn.004770f0
mov byte [ebp - 4], 2
cmp dword [eax + 0x10], 0
jbe 0x439e27
lea ecx, [ebp - 0x70]
call fcn.004770f0
mov esi, eax
mov byte [ebp - 4], 3
mov ecx, 1
jmp 0x439e3d
lea ecx, [ebp - 0x28]
call fcn.00429260
mov esi, eax
mov dword [ebp - 4], 4
mov ecx, 2
push 3
mov dword [ebp - 0x12c], ecx
mov dword [ebp - 0x128], ecx
lea ecx, [ebp - 0xb8]
push 0x508be4
mov dword [ebp - 0xa4], 0xf
mov dword [ebp - 0xa8], 0
mov byte [ebp - 0xb8], 0
call fcn.00409aa0
push esi
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0x8c], 0xf
mov dword [ebp - 0x90], 0
mov byte [ebp - 0xa0], 0
call fcn.00407610
mov eax, dword [ebp - 0x128]
test al, 2
je 0x439edf
mov ecx, dword [ebp - 0x14]
and eax, 0xfffffffd
mov dword [ebp - 0x128], eax
cmp ecx, 0x10
jb 0x439ecd
lea eax, [ecx + 1]
push eax
push dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
call fcn.00409950
mov eax, dword [ebp - 0x128]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
test al, 1
je 0x439f0a
mov eax, dword [ebp - 0x5c]
cmp eax, 0x10
jb 0x439ef8
inc eax
lea ecx, [ebp - 0x70]
push eax
push dword [ebp - 0x70]
call fcn.00409950
mov dword [ebp - 0x5c], 0xf
mov dword [ebp - 0x60], 0
mov byte [ebp - 0x70], 0
mov eax, dword [ebp - 0x2c]
cmp eax, 0x10
jb 0x439f1f
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00409950
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
mov dword [ebp - 4], 5
mov dword [ebp - 0x10c], 0
mov dword [ebp - 0x108], 0
call fcn.00403280
mov esi, eax
mov dword [ebp - 0x10c], esi
mov byte [ebp - 4], 6
lea edi, [ebp - 0xe8]
push edi
lea ecx, [ebp - 0x10c]
call fcn.00431880
push eax
add eax, 0x10
lea ecx, [ebp - 0x10c]
push eax
push esi
lea eax, [ebp - 0x12c]
push eax
call fcn.00413680
add edi, 0x30
lea eax, [ebp - 0x88]
cmp edi, eax
je 0x439f9c
mov esi, dword [ebp - 0x10c]
jmp 0x439f63
push fcn.004135b0
push 2
push 0x30
lea eax, [ebp - 0xe8]
mov byte [ebp - 4], 8
push eax
call fcn.004a01b2
movaps xmm0, xmmword [0x50c800]
movups xmmword [ebp - 0xb8], xmm0
mov dword [ebp - 0xa8], 0x163b171f
mov word [ebp - 0xa4], 0x4f
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 9
call fcn.004768d0
mov edx, eax
mov byte [ebp - 4], 0xa
xor ecx, ecx
nop word [eax + eax]
mov al, byte [ebp + ecx - 0xb7]
xor al, byte [ebp - 0xb8]
mov byte [ebp + ecx - 0xa2], al
mov al, byte [ebp + ecx - 0xb6]
xor al, byte [ebp - 0xb8]
mov byte [ebp + ecx - 0xa1], al
mov al, byte [ebp + ecx - 0xb5]
xor al, byte [ebp - 0xb8]
mov byte [ebp + ecx - 0xa0], al
mov al, byte [ebp + ecx - 0xb4]
xor al, byte [ebp - 0xb8]
mov byte [ebp + ecx - 0x9f], al
mov al, byte [ebp + ecx - 0xb3]
xor al, byte [ebp - 0xb8]
mov byte [ebp + ecx - 0x9e], al
add ecx, 5
cmp ecx, 0x14
jb 0x439ff0
lea eax, [ebp - 0xa2]
mov byte [ebp - 0x8e], 0
push eax
push edx
lea eax, [ebp - 0x70]
push eax
call fcn.004078b0
mov byte [ebp - 4], 0xb
push dword [ebp - 0x110]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0044a410
lea ecx, [ebp - 0x10c]
mov byte [ebp - 4], 0xc
push ecx
mov edx, eax
lea ecx, [ebp - 0x58]
call fcn.00414680
add esp, 0x1c
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x43a0b5
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00409950
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
mov eax, dword [ebp - 0x5c]
cmp eax, 0x10
jb 0x43a0dc
inc eax
lea ecx, [ebp - 0x70]
push eax
push dword [ebp - 0x70]
call fcn.00409950
mov dword [ebp - 0x5c], 0xf
mov dword [ebp - 0x60], 0
mov byte [ebp - 0x70], 0
mov eax, dword [ebp - 0x2c]
cmp eax, 0x10
jb 0x43a103
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00409950
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
mov byte [ebp - 4], 0x11
xorps xmm0, xmm0
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0xa7], 0
mov byte [ebp - 0xa3], 0
movups xmmword [ebp - 0xb7], xmm0
test ecx, ecx
jne 0x43a158
lea ecx, [ebp - 0x58]
call fcn.00409550
mov ecx, dword [ebp - 0x10c]
push ecx
push dword [ecx]
lea ecx, [ebp - 0x110]
push ecx
jmp 0x43a553
cmp dword [ebp - 0x44], 0x10
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
add eax, ecx
cmp dword [ebp - 0x44], 0x10
lea ecx, [ebp - 0x58]
cmovae ecx, dword [ebp - 0x58]
push eax
push ecx
lea ecx, [ebp - 0x114]
call fcn.0043d480
lea ecx, [ebp - 0x114]
mov byte [ebp - 4], 0x12
call fcn.0043c2f0
test al, al
sete cl
mov byte [ebp - 0x101], cl
mov byte [ebp - 4], 0x13
or edi, 0xffffffff
mov esi, dword [ebp - 0x110]
test esi, esi
je 0x43a1cd
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x43a1cd
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x43a1c7
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov cl, byte [ebp - 0x101]
test cl, cl
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x58]
jne 0x43a53e
cmp dword [ebp - 0x44], 0x10
mov eax, dword [ebp - 0x48]
cmovae ecx, dword [ebp - 0x58]
add eax, ecx
cmp dword [ebp - 0x44], 0x10
lea ecx, [ebp - 0x58]
cmovae ecx, dword [ebp - 0x58]
push eax
push ecx
lea ecx, [ebp - 0x130]
call fcn.0043d480
sub esp, 0x28
mov byte [ebp - 4], 0x14
mov eax, esp
lea edx, [ebp - 0x130]
lea ecx, [ebp - 0x124]
push 1
mov dword [eax + 0x24], 0
call fcn.0043c3e0
add esp, 0x2c
mov byte [ebp - 4], 0x17
mov esi, dword [ebp - 0x12c]
test esi, esi
je 0x43a254
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x43a254
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x43a254
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0xd0]
push 6
push str.status
mov dword [ebp - 0xbc], 0xf
mov dword [ebp - 0xc0], 0
mov byte [ebp - 0xd0], 0
call fcn.00409aa0
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0xb8]
push 3
push 0x508bf0
mov dword [ebp - 0xa4], 0xf
mov dword [ebp - 0xa8], 0
mov byte [ebp - 0xb8], 0
call fcn.00409aa0
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0xa0]
push 4
push str.body
mov dword [ebp - 0x8c], 0xf
mov dword [ebp - 0x90], 0
mov byte [ebp - 0xa0], 0
call fcn.00409aa0
mov byte [ebp - 4], 0x1a
lea eax, [ebp - 0x88]
mov byte [ebp - 0x110], 0
lea ecx, [ebp - 0x34]
push dword [ebp - 0x110]
mov dword [ebp - 0x34], 0
push eax
lea eax, [ebp - 0xd0]
mov dword [ebp - 0x30], 0
push eax
mov dword [ebp - 0x2c], 0
call fcn.0043d640
lea edx, [ebp - 0x34]
mov byte [ebp - 4], 0x1b
lea ecx, [ebp - 0x124]
call fcn.0044b2a0
mov esi, dword [ebp - 0x34]
test al, al
sete byte [ebp - 0x101]
test esi, esi
je 0x43a376
push dword [ebp - 0x110]
mov edx, dword [ebp - 0x30]
push ecx
mov ecx, esi
call fcn.00413f40
mov ecx, dword [ebp - 0x2c]
mov eax, 0x2aaaaaab
sub ecx, esi
add esp, 8
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push esi
call fcn.00413f90
push fcn.00409550
push 3
push 0x18
lea eax, [ebp - 0xd0]
mov byte [ebp - 4], 0x16
push eax
call fcn.004a01b2
cmp byte [ebp - 0x101], 0
jne 0x43a530
push 4
push str.body
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.00409aa0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x1c
push eax
lea ecx, [ebp - 0x124]
call fcn.0043c550
push eax
lea ecx, [ebp - 0x38]
call fcn.00447860
mov byte [ebp - 4], 0x1e
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x43a3f2
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00409950
movzx eax, byte [ebp - 0x38]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
sub eax, 0
je 0x43a528
sub eax, 1
je 0x43a425
sub eax, 1
jne 0x43a437
mov ecx, dword [ebp - 0x30]
mov eax, dword [ecx]
cmp eax, dword [ecx + 4]
jmp 0x43a42c
mov eax, dword [ebp - 0x30]
cmp dword [eax + 4], 0
sete al
test al, al
jne 0x43a528
lea eax, [ebp - 0xa0]
push eax
lea ecx, [ebp - 0x38]
call fcn.0044aa10
mov edx, eax
mov byte [ebp - 4], 0x1f
lea ecx, [ebp - 0x88]
call fcn.0040c2e0
mov byte [ebp - 4], 0x21
mov eax, dword [ebp - 0x8c]
cmp eax, 0x10
jb 0x43a479
inc eax
lea ecx, [ebp - 0xa0]
push eax
push dword [ebp - 0xa0]
call fcn.00409950
cmp dword [ebp - 0x74], 0x10
lea ecx, [ebp - 0x88]
mov eax, dword [ebp - 0x78]
cmovae ecx, dword [ebp - 0x88]
add eax, ecx
mov dword [ebp - 0x8c], 0xf
cmp dword [ebp - 0x74], 0x10
lea ecx, [ebp - 0x88]
push eax
cmovae ecx, dword [ebp - 0x88]
push ecx
lea ecx, [ebp - 0x114]
mov dword [ebp - 0x90], 0
mov byte [ebp - 0xa0], 0
call fcn.0043d480
lea ecx, [ebp - 0x114]
mov byte [ebp - 4], 0x22
call fcn.0043c2f0
test al, al
sete cl
mov byte [ebp - 0x101], cl
mov byte [ebp - 4], 0x23
mov esi, dword [ebp - 0x110]
test esi, esi
je 0x43a515
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x43a515
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x43a50f
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov cl, byte [ebp - 0x101]
test cl, cl
mov byte [ebp - 4], 0x21
lea ecx, [ebp - 0x88]
je 0x43a58f
call fcn.00409550
lea ecx, [ebp - 0x38]
call fcn.0044a3c0
lea ecx, [ebp - 0x124]
call fcn.0044a3c0
lea ecx, [ebp - 0x58]
call fcn.00409550
mov eax, dword [ebp - 0x10c]
push eax
push dword [eax]
lea eax, [ebp - 0x110]
push eax
lea ecx, [ebp - 0x10c]
call fcn.00412ad0
push dword [ebp - 0x10c]
call fcn.0049fc80
mov al, byte [ebp - 0x102]
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049fc55
mov esp, ebp
pop ebp
ret 8
cmp dword [ebp - 0x74], 0x10
mov eax, dword [ebp - 0x78]
cmovae ecx, dword [ebp - 0x88]
add eax, ecx
cmp dword [ebp - 0x74], 0x10
lea ecx, [ebp - 0x88]
cmovae ecx, dword [ebp - 0x88]
push eax
push ecx
lea ecx, [ebp - 0x130]
call fcn.0043d480
sub esp, 0x28
mov byte [ebp - 4], 0x24
mov eax, esp
lea edx, [ebp - 0x130]
lea ecx, [ebp - 0x68]
push 1
mov dword [eax + 0x24], 0
call fcn.0043c3e0
mov cl, byte [ebp - 0x124]
add esp, 0x2c
mov al, byte [ebp - 0x68]
mov edx, dword [ebp - 0x118]
mov byte [ebp - 0x124], al
mov eax, dword [ebp - 0x60]
mov byte [ebp - 0x68], cl
mov ecx, dword [ebp - 0x11c]
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x60], ecx
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x118], eax
mov dword [ebp - 0x5c], edx
call fcn.0044a3c0
mov byte [ebp - 4], 0x25
mov esi, dword [ebp - 0x12c]
test esi, esi
je 0x43a64a
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x43a64a
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x43a64a
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov byte [ebp - 4], 0x21
movzx eax, byte [ebp - 0x124]
sub eax, 0
je 0x43a858
sub eax, 1
je 0x43a675
sub eax, 1
jne 0x43a68a
mov ecx, dword [ebp - 0x11c]
mov eax, dword [ecx]
cmp eax, dword [ecx + 4]
jmp 0x43a67f
mov eax, dword [ebp - 0x11c]
cmp dword [eax + 4], 0
sete al
test al, al
jne 0x43a858
lea eax, [ebp - 0x124]
push eax
lea ecx, [ebp - 0x6c]
call fcn.00446de0
mov ecx, dword [ebp - 0x6c]
movzx eax, byte [ecx]
sub eax, 1
je 0x43a6bd
sub eax, 1
je 0x43a6b2
mov dword [ebp - 0x5c], 1
jmp 0x43a6c5
mov eax, dword [ecx + 8]
mov eax, dword [eax + 4]
mov dword [ebp - 0x64], eax
jmp 0x43a6c5
mov eax, dword [ecx + 8]
mov eax, dword [eax]
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0x6c]
push eax
push ecx
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x124]
call fcn.0043ce30
mov ecx, eax
call fcn.00447000
test al, al
jne 0x43a858
push 7
push str.startNo
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], al
call fcn.00409aa0
lea eax, [ebp - 0x100]
mov byte [ebp - 4], 0x26
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x124]
call fcn.0043c550
mov ecx, eax
call fcn.0044aa10
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x43a73e
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00409950
cmp dword [ebp - 0xf0], 0
jbe 0x43a7b0
lea ecx, [ebp - 0x100]
mov byte [ebp - 0x101], 1
call fcn.00409550
lea ecx, [ebp - 0x88]
call fcn.00409550
lea ecx, [ebp - 0x38]
call fcn.0044a3c0
lea ecx, [ebp - 0x124]
call fcn.0044a3c0
lea ecx, [ebp - 0x58]
call fcn.00409550
mov ecx, dword [ebp - 0x10c]
push ecx
push dword [ecx]
lea ecx, [ebp - 0x110]
push ecx
lea ecx, [ebp - 0x10c]
call fcn.00412ad0
push dword [ebp - 0x10c]
call fcn.0049fc80
mov al, byte [ebp - 0x101]
jmp 0x43a56f
mov eax, dword [ebp - 0xec]
cmp eax, 0x10
jb 0x43a7ce
inc eax
lea ecx, [ebp - 0x100]
push eax
push dword [ebp - 0x100]
call fcn.00409950
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0xec], 0xf
mov dword [ebp - 0xf0], 0
mov byte [ebp - 0x100], 0
cmp eax, 0x10
jb 0x43a804
inc eax
lea ecx, [ebp - 0x88]
push eax
push dword [ebp - 0x88]
call fcn.00409950
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x74], 0xf
mov dword [ebp - 0x78], 0
mov byte [ebp - 0x88], 0
call fcn.0044a3c0
lea ecx, [ebp - 0x124]
call fcn.0044a3c0
mov eax, dword [ebp - 0x44]
cmp eax, 0x10
jb 0x43a841
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.00409950
mov dword [ebp - 0x44], 0xf
mov dword [ebp - 0x48], 0
mov byte [ebp - 0x58], 0
jmp 0x43a543
mov eax, dword [ebp - 0x74]
cmp eax, 0x10
jb 0x43a873
inc eax
lea ecx, [ebp - 0x88]
push eax
push dword [ebp - 0x88]
call fcn.00409950
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x74], 0xf
mov dword [ebp - 0x78], 0
mov byte [ebp - 0x88], 0
call fcn.0044a3c0
lea ecx, [ebp - 0x124]
call fcn.0044a3c0
mov eax, dword [ebp - 0x44]
cmp eax, 0x10
jb 0x43a841
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.00409950
mov dword [ebp - 0x44], 0xf
mov dword [ebp - 0x48], 0
mov byte [ebp - 0x58], 0
jmp 0x43a543