Function at 0x438fe0
Capabilities:
Authenticate hmac
Check for software breakpoints
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x298
mov edx, dword [esp + 0x2b8]
mov dword [esp + 0x7f], 0xe48040
mov dword [esp + 0x7c], 0x4010ec83
mov dword [esp + 0x78], 0x48e78948
mov dword [esp + 0x74], 0xce8948fc
lea edi, [esp + 0x98]
lea eax, [esp + 0x74]
mov ecx, 3
xchg esi, eax
rep movsd dword es:[edi], dword [esi]
xchg esi, eax
lea edi, [esp + 0xa4]
lea eax, [esp + 0x80]
mov ecx, 1
xchg esi, eax
rep movsw word es:[edi], word [esi]
xchg esi, eax
movzx eax, byte [esp + 0x82]
mov byte [esp + 0xa6], al
mov ebp, edx
cmp edx, 4
jb 0x439058
mov ebp, 4
lea ebx, [esp + 0xa7]
test edx, edx
je 0x439434
xor eax, eax
mov dword [esp], ebp
jmp 0x439079
inc eax
cmp eax, ebp
je 0x43924e
cmp eax, 3
ja case.default.0x43907e
jmp dword [eax*4 + 0x43d6c8]
mov dword [esp + 8], 0x5744de80
lea ecx, [esp + 0xc]
mov byte [ecx + 2], 0
mov word [ecx], 0
mov ecx, 0xe
mov edi, 0xf1
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ebp, byte [esp + ecx - 6]
mov edx, edi
xor edx, ecx
and edx, ebp
xor edx, ecx
add dl, 0xba
mov byte [esp + ecx - 6], dl
inc ecx
dec edi
cmp ecx, 0x15
jne 0x4390b0
lea esi, [esp + 8]
mov edx, esi
mov edi, ebx
xor ecx, ecx
xchg esi, edx
rep movsd dword es:[edi], dword [esi]
xchg esi, edx
mov edx, esi
mov edi, ebx
mov ecx, 1
xchg esi, edx
rep movsw word es:[edi], word [esi]
xchg esi, edx
movzx ecx, byte [esp + 0xa]
mov byte [ebx + 2], cl
add ebx, 3
mov ebp, dword [esp]
jmp case.default.0x43907e
mov esi, ebx
mov dword [esp + 8], 0x7188f2b0
mov byte [esp + 0xc], 0x40
mov dword [esp + 0xd], 0
mov ebx, 0x75606e6e
lea edi, [esp + 8]
movzx ebp, byte [edi]
mov ecx, ebx
or ecx, ebp
not ecx
lea edx, [ebx - 0x75606e00]
and edx, ebp
or edx, ecx
mov ecx, edx
not ecx
and ecx, 0xd6
and edx, 0x29
sub edx, ecx
inc dl
mov byte [edi], dl
inc edi
dec ebx
cmp ebx, 0x75606e65
jne 0x439120
lea edx, [esp + 8]
mov ecx, 1
mov ebx, esi
mov edi, esi
xchg esi, edx
rep movsd dword es:[edi], dword [esi]
xchg esi, edx
add ebx, 4
lea edx, [esp + 0xc]
mov edi, ebx
xor ecx, ecx
xchg esi, edx
rep movsw word es:[edi], word [esi]
xchg esi, edx
mov ebp, dword [esp]
jmp case.default.0x43907e
mov esi, ebx
mov dword [esp + 8], 0x7b8cca8c
mov byte [esp + 0xc], 0x44
mov dword [esp + 0xd], 0
mov ecx, 0x8a8fb110
nop
nop
nop
nop
movzx edx, byte [esp + ecx + 0x75704ef8]
mov ebx, edx
and ebx, ecx
add bl, bl
sub dl, bl
movzx edx, dl
add edx, ecx
add dl, 0xb0
mov byte [esp + ecx + 0x75704ef8], dl
inc ecx
cmp ecx, 0x8a8fb119
jne 0x4391a0
lea edx, [esp + 8]
mov ecx, 1
mov ebx, esi
mov edi, esi
xchg esi, edx
rep movsd dword es:[edi], dword [esi]
xchg esi, edx
add ebx, 4
lea edx, [esp + 0xc]
mov edi, ebx
xor ecx, ecx
xchg esi, edx
rep movsw word es:[edi], word [esi]
xchg esi, edx
jmp case.default.0x43907e
mov dword [esp + 8], 0x41b0c69c
mov byte [esp + 0xc], 0x58
mov dword [esp + 0xd], 0
xor ecx, ecx
nop
nop
nop
nop
nop
nop
nop
mov edx, ecx
add dl, 0x8f
xor dl, byte [esp + ecx + 8]
add dl, 0x35
mov byte [esp + ecx + 8], dl
inc ecx
cmp ecx, 9
jne 0x439210
lea edx, [esp + 8]
mov edi, ebx
mov ecx, 1
xchg esi, edx
rep movsd dword es:[edi], dword [esi]
xchg esi, edx
add ebx, 4
lea edx, [esp + 0xc]
xor ecx, ecx
mov edi, ebx
xchg esi, edx
rep movsw word es:[edi], word [esi]
xchg esi, edx
jmp case.default.0x43907e
mov eax, dword [esp + 0x2b8]
cmp eax, 3
jbe 0x439434
and eax, 1
je 0x439288
mov edx, 0x43dbe2
mov esi, 0x43dbe2
mov edi, ebx
xor ecx, ecx
xchg esi, esi
rep movsd dword es:[edi], dword [esi]
xchg esi, esi
mov edi, ebx
mov ecx, 1
xchg esi, edx
rep movsw word es:[edi], word [esi]
xchg esi, edx
add ebx, 2
mov edx, dword [esp + 0x2b8]
lea ecx, [edx*8]
mov esi, 0xffffffff
mov edi, 0xffffffff
cmp ecx, 0x7ffffffe
ja 0x439911
xor eax, 1
and edx, 0xfffffffe
sub edx, eax
cmp edx, 4
jb 0x439434
mov eax, edx
jmp 0x4392dd
mov eax, dword [esp]
dec eax
cmp eax, 3
jbe 0x439434
mov dword [esp], eax
lea eax, [eax*8]
cmp eax, 0x7e
ja 0x439390
mov dword [esp + 8], 0x21c892cc
mov word [esp + 0xc], 0x3d0
lea ecx, [esp + 0x10]
mov word [ecx + 2], 0
mov dword [ecx - 2], 0
mov ecx, 0xc1
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [esp + ecx - 0xb9]
lea esi, [ecx - 0x35e6be00]
mov edi, esi
or edi, edx
or esi, ecx
and esi, edx
sub edi, esi
mov edx, edi
and edx, 1
xor edi, 1
lea edx, [edi + edx*2]
add dl, 0x3a
mov byte [esp + ecx - 0xb9], dl
inc ecx
cmp ecx, 0xcd
jne 0x439320
lea edx, [esp + 8]
mov ecx, 1
mov edi, ebx
xchg esi, edx
rep movsd dword es:[edi], dword [esi]
xchg esi, edx
lea edi, [ebx + 4]
lea edx, [esp + 0xc]
xor ecx, ecx
xchg esi, edx
rep movsw word es:[edi], word [esi]
xchg esi, edx
movzx ecx, byte [esp + 0xc]
mov byte [ebx + 4], cl
mov byte [ebx + 3], al
add ebx, 5
jmp 0x4392d0
mov ebp, ebx
mov dword [esp + 8], 0xf3fcfab8
mov dword [esp + 0xc], 0xaf7e7d7c
mov byte [esp + 0x10], pe_nt_image_headers32
lea ecx, [esp + 0x10]
mov byte [ecx + 5], 0
mov dword [ecx + 1], 0
mov ecx, 0x221c96b
mov esi, 0x45de3694
movzx edi, byte [esp + esi - 0x45de368c]
mov ebx, ecx
and ebx, 0x200404c
mov edx, esi
and edx, 0x45de1433
or edx, ebx
xor edx, 0x33
or edx, edi
lea ebx, [esi - 0x45de3600]
or ebx, edi
not edx
add ebx, ecx
add ebx, 0xfdde3701
or ebx, edx
add bl, 0x1c
mov byte [esp + esi - 0x45de368c], bl
dec ecx
inc esi
cmp ecx, 0x221c95d
jne 0x4393c0
lea edx, [esp + 8]
mov edi, ebp
mov ecx, 2
xchg esi, edx
rep movsd dword es:[edi], dword [esi]
xchg esi, edx
lea esi, [ebp + 8]
lea edx, [esp + 0x10]
xor ecx, ecx
mov edi, esi
xchg esi, edx
rep movsw word es:[edi], word [esi]
xchg esi, edx
mov dword [ebp + 3], eax
mov ebx, esi
jmp 0x4392d0
mov dword [esp + 0x68], ebx
mov dword [esp + 8], 0x31e24a04
lea eax, [esp + 0xc]
mov dword [esp + 0x64], eax
mov byte [esp + 0xc], 0xd0
mov dword [esp + 0xd], 0
mov dword [esp + 0x10], 0
mov ecx, 0x22a7ee2d
mov ebp, 0x22a7ee2e
mov edi, 0xd2
nop
nop
nop
nop
movzx edx, byte [esp + ecx - 0x22a7ee25]
mov dword [esp], edx
mov eax, edi
xor eax, ecx
and eax, edx
xor eax, ecx
lea edx, [eax + eax]
not edx
add edx, eax
lea ebx, [edi - 0x22a7ef00]
or ebx, edx
lea esi, [ecx + ebx]
inc esi
mov edx, esi
or edx, 0xfffffffd
inc edx
mov eax, esi
and eax, 0xfffffffd
imul eax, edx
add eax, dword [esp]
or esi, 2
add ebx, ebp
shr ebx, 1
and ebx, 1
imul ebx, esi
add ebx, ebx
sub eax, ebx
add eax, ecx
lea edx, [eax + eax]
and edx, 2
xor eax, 1
add eax, 0x52b8591e
mov esi, eax
and esi, edx
xor eax, edx
lea eax, [eax + esi*2]
mov byte [esp + ecx - 0x22a7ee25], al
inc ecx
inc ebp
dec edi
cmp ecx, 0x22a7ee39
jne 0x439470
lea eax, [esp + 8]
mov edx, dword [esp + 0x68]
mov edi, edx
mov ecx, 1
xchg esi, eax
rep movsd dword es:[edi], dword [esi]
xchg esi, eax
lea esi, [edx + 4]
mov edi, esi
xor ecx, ecx
mov eax, dword [esp + 0x64]
xchg esi, eax
rep movsw word es:[edi], word [esi]
xchg esi, eax
mov dword [esp + 0x93], 0xc3fc8948
mov dword [esp + 0x90], 0x48d2ff41
mov dword [esp + 0x84], 0xba49c031
mov eax, dword [esp + 0x2ac]
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x2b0]
mov dword [esp + 0x8c], eax
lea eax, [esp + 0x84]
mov edi, esi
mov ecx, 4
xchg esi, eax
rep movsd dword es:[edi], dword [esi]
xchg esi, eax
lea edi, [edx + 0x14]
lea eax, [esp + 0x94]
mov ecx, 1
xchg esi, eax
rep movsw word es:[edi], word [esi]
xchg esi, eax
movzx eax, byte [esp + 0x96]
mov byte [edx + 0x16], al
lea eax, [esp + 0x98]
neg eax
lea ebx, [edx + eax]
add ebx, 0x17
mov dword [esp + 4], 0
mov eax, ebx
and eax, 0x5a
mov ecx, ebx
xor ecx, 0x5a
lea eax, [ecx + eax*2]
mov dword [esp + 0x70], eax
mov dword [esp + 8], 0xb8bbba85
mov eax, 0x4c146adf
mov ecx, 0xb3eb9520
nop
nop
movzx esi, byte [esp + eax - 0x4c146ad7]
mov edx, eax
and edx, esi
add edx, edx
lea edi, [eax + esi]
mov ebp, ecx
sub ebp, esi
and ebp, edx
not edx
and edx, edi
sub edx, ebp
add dl, 0xa5
mov byte [esp + eax - 0x4c146ad7], dl
inc eax
dec ecx
cmp eax, 0x4c146ae3
jne 0x4395b0
mov esi, dword [esp + 8]
mov eax, dword [0x446f44]
test eax, eax
je 0x439640
xor ecx, ecx
mov edx, dword [0x446f48]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edx + ecx*8], 0x3e416e49
je 0x439610
inc ecx
cmp eax, ecx
jne 0x439600
jmp 0x439640
mov eax, dword [edx + ecx*8 + 4]
cmp eax, esi
je 0x439640
lea ecx, [esp + 0x70]
lea edx, [esp + 4]
push 0x40
push 0x3000
push ecx
push 0
push edx
push 0xffffffffffffffff
push 6
push eax
push dword [0x446f4c]
call fcn.00437050
add esp, 0x24
mov esi, eax
test esi, esi
js 0x4398e0
mov dword [esp + 8], 0x8d3b4095
mov dword [esp + 0xc], 0xdbaf428f
mov dword [esp + 0x10], 0x37ca8447
mov dword [esp + 0x14], 0xdbdadddc
mov dword [esp + 0x18], 0xd1265680
mov dword [esp + 0x1c], 0x6aea116b
mov dword [esp + 0x20], 0xe3a02a0e
mov dword [esp + 0x24], 0xebeaedd3
mov dword [esp + 0x28], 0xe51ee761
mov dword [esp + 0x2c], 0x99f2f5f4
mov dword [esp + 0x30], 0x2e6c2864
mov dword [esp + 0x34], 0x98e63173
mov dword [esp + 0x38], 0xfc89c9a
mov dword [esp + 0x3c], 0x2f469204
mov dword [esp + 0x40], 0x3e463703
mov dword [esp + 0x44], 0xd10956cc
mov dword [esp + 0x48], 0x5bdd596b
mov dword [esp + 0x4c], 0x133d1938
mov dword [esp + 0x50], 0x5b971110
mov dword [esp + 0x54], 0xd5935530
mov dword [esp + 0x58], 0xe66ed939
mov dword [esp + 0x5c], 0x172105d2
lea edx, [esp + 0x60]
mov dword [esp + 0x60], 0x210c
xor edi, edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, edi
xor eax, 0x152f73b1
mov ecx, edi
or ecx, 0x4e
and ecx, eax
mov eax, edi
and eax, 2
mov esi, ecx
or ecx, 2
imul ecx, eax
xor eax, 2
and esi, 0x7d
imul esi, eax
mov eax, edi
xor eax, 0x4e
add eax, esi
add eax, ecx
xor al, byte [esp + edi + 8]
add al, 0x7a
mov byte [esp + edi + 8], al
inc edi
cmp edi, 0x5c
jne 0x439710
mov eax, dword [esp + 4]
lea esi, [esp + 8]
mov edi, eax
mov ecx, 0x16
xchg esi, esi
rep movsd dword es:[edi], dword [esi]
xchg esi, esi
lea edi, [eax + 0x58]
xor ecx, ecx
xchg esi, edx
rep movsw word es:[edi], word [esi]
xchg esi, edx
movzx ecx, byte [esp + 0x60]
mov byte [eax + 0x58], cl
mov eax, dword [esp + 4]
mov dword [esp + 8], 0x333231e9
mov ecx, 0x7804ad74
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [esp + ecx - 0x7804ad6c]
xor edx, ecx
mov esi, edx
xor esi, 0xba
and edx, 0x3a
lea edx, [esi + edx*2]
add dl, 2
mov byte [esp + ecx - 0x7804ad6c], dl
inc ecx
cmp ecx, 0x7804ad78
jne 0x439790
add eax, dword [esp + 8]
mov ecx, ebx
shr ecx, 2
lea edx, [esp + 0x98]
mov edi, eax
xchg esi, edx
rep movsd dword es:[edi], dword [esi]
xchg esi, edx
mov ecx, ebx
and ecx, 0xfffffffc
add eax, ecx
lea edx, [esp + ecx]
add edx, 0x98
mov ecx, ebx
shr ecx, 1
and ecx, 1
mov esi, edx
mov edi, eax
xchg esi, esi
rep movsw word es:[edi], word [esi]
xchg esi, esi
test bl, 1
je 0x439804
and ebx, 2
movzx ecx, byte [edx + ebx]
mov byte [eax + ebx], cl
mov eax, dword [esp + 4]
mov dword [esp + 8], 0xf0e09e1
mov ecx, 0xe1224a46
mov edx, 0xc244948c
nop
nop
nop
nop
nop
nop
mov esi, ecx
xor esi, 0x84
mov ebx, edx
and ebx, 0x96
sub ebx, esi
xor bl, byte [esp + ecx + 0x1eddb5c2]
add bl, 0x36
mov byte [esp + ecx + 0x1eddb5c2], bl
inc ecx
add edx, 2
cmp ecx, 0xe1224a4a
jne 0x439820
mov ecx, dword [esp + 8]
add ecx, eax
push dword [esp + 0x2b4]
push ecx
call eax
mov esi, eax
mov dword [esp], edx
mov dword [esp + 0x6c], 0
mov dword [esp + 8], 0xb8bbba85
mov eax, 0x4c146adf
mov edi, 0xb3eb9520
nop
nop
movzx ebx, byte [esp + eax - 0x4c146ad7]
mov edx, eax
and edx, ebx
add edx, edx
lea ebp, [eax + ebx]
mov ecx, edi
sub ecx, ebx
and ecx, edx
not edx
and edx, ebp
sub edx, ecx
add dl, 0xa5
mov byte [esp + eax - 0x4c146ad7], dl
inc eax
dec edi
cmp eax, 0x4c146ae3
jne 0x439880
mov eax, dword [0x446f44]
test eax, eax
mov edi, dword [esp]
je 0x439911
mov ecx, dword [esp + 8]
xor edx, edx
mov ebx, dword [0x446f48]
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebx + edx*8], 0x16194952
je 0x4398e7
inc edx
cmp eax, edx
jne 0x4398d0
jmp 0x439911
mov edi, esi
sar edi, 0x1f
jmp 0x439911
mov eax, dword [ebx + edx*8 + 4]
cmp eax, ecx
je 0x439911
lea ecx, [esp + 0x6c]
lea edx, [esp + 4]
push 0x8000
push ecx
push edx
push 0xffffffffffffffff
push 4
push eax
push dword [0x446f4c]
call fcn.00437050
add esp, 0x1c
mov eax, esi
mov edx, edi
add esp, 0x298
pop esi
pop edi
pop ebx
pop ebp
ret 0x10