Function at 0x10038150
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x10077a57
mov eax, dword fs:[0]
push eax
sub esp, 0x178
mov eax, dword [0x100934c0]
xor eax, esp
mov dword [esp + 0x174], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100934c0]
xor eax, esp
push eax
lea eax, [esp + 0x18c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x19c]
mov ebx, dword [esp + 0x1a0]
mov ebp, ecx
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0x58]
cmp eax, 3
ja case.default.0x100381ab
jmp dword [eax*4 + 0x100385bc]
test ebx, ebx
je case.default.0x100381ab
mov ecx, dword [ebp + 0x54]
mov edx, dword [ecx]
mov eax, dword [edx + 0x24]
call eax
mov ecx, dword [ebp + 0x54]
mov edx, dword [ecx]
mov esi, eax
mov eax, dword [edx + 0x34]
mov dword [esp + 0x14], esi
call eax
test al, al
je 0x10038283
cmp dword [ebp + 0x58], 1
jne 0x10038283
test esi, esi
je 0x100381f2
cmp ebx, esi
jae 0x10038283
mov ecx, dword [ebp + 0x54]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
call eax
mov dword [esp + 0x1c], eax
cmp esi, eax
lea eax, [esp + 0x1c]
jb 0x1003820c
lea eax, [esp + 0x14]
mov edx, dword [ebp]
mov edi, dword [eax]
mov eax, dword [edx + 0xa4]
mov ecx, ebp
call eax
mov dword [esp + 0x14], edi
cmp dword [ebp + 0x4c], edi
jae 0x1003824d
mov edx, dword [eax]
mov edx, dword [edx + 0x84]
lea ecx, [esp + 0x14]
push ecx
push 0x1009e240
mov ecx, eax
call edx
cmp dword [esp + 0x14], edi
jb 0x10038244
mov esi, eax
jmp 0x10038250
push edi
lea ecx, [ebp + 0x48]
call fcn.100099c0
mov esi, dword [ebp + 0x50]
mov eax, dword [esp + 0x18]
push ebx
push eax
push esi
call fcn.1005e620
mov ecx, edi
sub ecx, ebx
push ecx
push 0
add ebx, esi
push ebx
call fcn.10058400
mov ecx, dword [ebp + 0x54]
mov edx, dword [ecx]
mov eax, dword [edx + 0x20]
add esp, 0x18
push edi
push esi
push esi
call eax
push 1
push edi
jmp 0x10038350
test esi, esi
jne 0x1003831d
test al, al
je 0x100382d4
push str.StreamTransformationFilter:_plaintext_length_is_not_a_multiple_of_block_size_and_NO_PADDING_is_specified
lea ecx, [esp + 0x5c]
call fcn.10005790
lea ecx, [esp + 0x58]
push ecx
push 4
lea ecx, [esp + 0xb4]
mov dword [esp + 0x19c], esi
call fcn.100066d0
push 0x1008c7c4
lea edx, [esp + 0xb0]
push edx
mov dword [esp + 0xb4], vtable.CryptoPP::InvalidDataFormat.0
call fcn.100587f9
push str.StreamTransformationFilter:_ciphertext_length_is_not_a_multiple_of_block_size
lea ecx, [esp + 0x78]
call fcn.10005790
lea eax, [esp + 0x74]
push eax
push 4
lea ecx, [esp + 0x138]
mov dword [esp + 0x19c], 1
call fcn.100066d0
push 0x1008c7d4
lea ecx, [esp + 0x134]
push ecx
mov dword [esp + method.CryptoPP::InvalidDataFormat.virtual_0], vtable.CryptoPP::InvalidCiphertext.0
call fcn.100587f9
mov edx, dword [ebp + 0x5c]
mov eax, dword [ebp]
push edx
mov edx, dword [eax + 0xa4]
mov ecx, ebp
lea edi, [ebp + 0x48]
call edx
mov esi, ebx
mov ecx, eax
call fcn.100369e0
mov ecx, dword [ebp + 0x54]
mov edx, dword [esp + 0x18]
mov esi, eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
push ebx
push edx
push esi
call eax
push 1
push ebx
mov edx, dword [ebp]
mov eax, dword [edx + 0xa4]
push esi
mov ecx, ebp
call eax
mov ecx, eax
call fcn.100070b0
mov ecx, dword [esp + 0x18c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x174]
xor ecx, esp
call fcn.10053489
add esp, 0x184
ret 8
mov ecx, dword [ebp + 0x54]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
call eax
mov edx, dword [ebp]
mov edi, dword [ebp + 0x5c]
mov dword [esp + 0x14], eax
mov eax, dword [edx + 0xa4]
mov ecx, ebp
call eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x1c], ecx
cmp dword [ebp + 0x4c], ecx
jae 0x100383e7
mov edx, dword [eax]
mov edx, dword [edx + 0x84]
lea ecx, [esp + 0x1c]
push ecx
push 0x1009e240
mov ecx, eax
call edx
mov ecx, dword [esp + 0x14]
cmp dword [esp + 0x1c], ecx
jb 0x100383de
mov esi, eax
jmp 0x100383ea
push edi
lea ecx, [ebp + 0x48]
call fcn.100099c0
mov esi, dword [ebp + 0x50]
mov ecx, dword [ebp + 0x54]
mov edx, dword [ecx]
mov eax, dword [edx + 0x34]
call eax
test al, al
je 0x10038463
mov ecx, dword [esp + 0x18]
push ebx
push ecx
push esi
call fcn.1005e620
add esp, 0xc
cmp dword [ebp + 0x58], 2
jne 0x10038421
mov eax, dword [esp + 0x14]
mov edx, eax
sub al, bl
sub edx, ebx
movzx eax, al
push edx
push eax
add ebx, esi
push ebx
jmp 0x10038434
mov ecx, dword [esp + 0x14]
sub ecx, ebx
dec ecx
push ecx
push 0
lea edx, [ebx + esi + 1]
mov byte [ebx + esi], 0x80
push edx
call fcn.10058400
mov edi, dword [esp + 0x20]
mov ecx, dword [ebp + 0x54]
mov eax, dword [ecx]
mov edx, dword [eax + 0x1c]
add esp, 0xc
push edi
push esi
push esi
call edx
mov eax, dword [ebp]
mov edx, dword [eax + 0xa4]
push 1
push edi
push esi
mov ecx, ebp
call edx
jmp 0x1003835e
mov eax, dword [esp + 0x14]
cmp ebx, eax
je 0x100384b4
push str.StreamTransformationFilter:_ciphertext_length_is_not_a_multiple_of_block_size
lea ecx, [esp + 0x40]
call fcn.10005790
lea eax, [esp + 0x3c]
push eax
push 4
lea ecx, [esp + 0xe0]
mov dword [esp + 0x19c], 2
call fcn.100066d0
push 0x1008c7d4
lea ecx, [esp + 0xdc]
push ecx
mov dword [esp + 0xe0], vtable.CryptoPP::InvalidCiphertext.0
call fcn.100587f9
mov ecx, dword [ebp + 0x54]
mov edx, dword [ecx]
mov edx, dword [edx + 0x1c]
push eax
mov eax, dword [esp + 0x1c]
push eax
push esi
call edx
cmp dword [ebp + 0x58], 2
jne 0x1003854d
mov edi, dword [esp + 0x14]
mov dl, byte [esi + edi - 1]
lea ecx, [esi + edi]
cmp dl, 1
jb 0x10038504
movzx eax, dl
cmp eax, edi
ja 0x10038504
sub edi, eax
lea eax, [edi + esi]
cmp eax, ecx
je 0x100384fd
nop
cmp byte [eax], dl
jne 0x100384f9
inc eax
cmp eax, ecx
jne 0x100384f0
cmp eax, ecx
jne 0x10038504
mov ebx, edi
jmp 0x1003834d
push str.StreamTransformationFilter:_invalid_PKCS_7_block_padding_found
lea ecx, [esp + 0x24]
call fcn.10005790
lea eax, [esp + 0x20]
push eax
push 4
lea ecx, [esp + 0x10c]
mov dword [esp + 0x19c], 3
call fcn.100066d0
push 0x1008c7d4
lea ecx, [esp + 0x108]
push ecx
mov dword [esp + method.CryptoPP::InvalidDataFormat.virtual_0], vtable.CryptoPP::InvalidCiphertext.0
call fcn.100587f9
cmp ebx, 1
jbe 0x1003855f
cmp byte [esi + ebx - 1], 0
jne 0x1003855f
dec ebx
cmp ebx, 1
ja 0x10038552
dec ebx
cmp byte [ebx + esi], 0x80
je 0x1003834d
push str.StreamTransformationFilter:_invalid_ones_and_zeros_padding_found
lea ecx, [esp + 0x94]
call fcn.10005790
lea edx, [esp + 0x90]
push edx
push 4
lea ecx, [esp + 0x164]
mov dword [esp + 0x19c], 4
call fcn.100066d0
push 0x1008c7d4
lea eax, [esp + 0x160]
push eax
mov dword [esp + method.CryptoPP::InvalidDataFormat.virtual_0], vtable.CryptoPP::InvalidCiphertext.0
call fcn.100587f9
lea ecx, [ecx]
mov dl, 0x81
add edx, dword [eax]
mov dl, 0x81
add edx, dword [eax]
pop dword [ebx - 0x7c70effd]
add edx, dword [eax]
int3