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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4b12b6
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x5116ec]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push esi
push edi
mov eax, dword [0x5116ec]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x38], 0
mov eax, dword [ebx + 4]
mov esi, dword [ebx + 8]
cmp eax, esi
jae 0x3e4025
mov cl, byte [eax]
cmp cl, 0x80
jae 0x3e4025
movzx ecx, cl
inc eax
mov dword [ebx + 4], eax
mov dword [ebx + 0x14], ecx
mov eax, ecx
jmp 0x3e4079
mov edx, esi
sub edx, eax
cmp edx, 0xa
jge 0x3e405e
cmp eax, esi
jae 0x3e403a
test byte [esi - 1], 0x80
je 0x3e405e
cmp eax, esi
jne 0x3e4055
mov eax, dword [ebx + 0x20]
test eax, eax
jle 0x3e4055
mov ecx, dword [ebx + 0xc]
sub ecx, eax
cmp ecx, dword [ebx + 0x24]
jge 0x3e4055
mov byte [ebx + 0x18], 1
xor eax, eax
jmp 0x3e4076
mov eax, ebx
call fcn.003db180
jmp 0x3e4076
lea edx, [esp + 0x3c]
push edx
call fcn.003db110
add esp, 4
test eax, eax
je 0x3e4076
mov dword [ebx + 4], eax
mov eax, dword [esp + 0x3c]
mov dword [ebx + 0x14], eax
test eax, eax
je 0x3e4970
mov ecx, eax
shr ecx, 3
dec ecx
cmp ecx, 8
ja case.default.0x3e4090
jmp dword [ecx*4 + 0x3e4994]
mov edx, eax
and dl, 7
cmp dl, 2
jne case.default.0x3e4090
mov esi, dword [esp + 0x20]
call fcn.003e1280
lea edi, [esp + 0x40]
mov esi, ebx
mov dword [esp + 0x1c], eax
call fcn.0030a530
test al, al
je 0x3e496c
mov esi, dword [esp + 0x40]
mov edi, dword [esp + 0x1c]
call fcn.003cdd80
test al, al
je 0x3e496c
mov eax, dword [ebx + 4]
cmp eax, dword [ebx + 8]
jae 0x3e4006
cmp byte [eax], 0x12
jne 0x3e4006
inc eax
mov dword [ebx + 4], eax
jmp 0x3e4103
mov ecx, eax
and cl, 7
cmp cl, 2
jne case.default.0x3e4090
mov esi, dword [esp + 0x20]
or dword [esi + 0xbc], 2
cmp dword [esi + 0xc], 0x515620
jne 0x3e4148
push 0x1c
call fcn.00438a50
add esp, 4
test eax, eax
je 0x3e4138
mov dword [eax + 0x14], 0xf
mov dword [eax + 0x10], 0
mov byte [eax], 0
jmp 0x3e413a
xor eax, eax
mov dword [esp + 0x80], 0xffffffff
mov dword [esi + 0xc], eax
mov edx, dword [esp + 0x20]
mov eax, dword [edx + 0xc]
lea edi, [esp + 0x38]
mov esi, ebx
mov dword [esp + 0x1c], eax
call fcn.0030a530
test al, al
je 0x3e496c
mov esi, dword [esp + 0x38]
mov edi, dword [esp + 0x1c]
call fcn.003cdd80
test al, al
je 0x3e496c
mov eax, dword [ebx + 4]
cmp eax, dword [ebx + 8]
jae 0x3e4006
cmp byte [eax], 0x1a
jne 0x3e4006
inc eax
mov dword [ebx + 4], eax
jmp 0x3e41a4
mov ecx, eax
and cl, 7
cmp cl, 2
jne case.default.0x3e4090
mov esi, dword [esp + 0x20]
add esi, 0x10
mov dword [esp + 0x1c], esi
mov eax, dword [esi + 4]
mov ecx, dword [esi + 8]
mov edi, 1
lea ebx, [ebx]
cmp eax, ecx
jge 0x3e41d1
mov edx, dword [esi]
mov ecx, dword [edx + eax*4]
inc eax
mov dword [esi + 4], eax
mov edi, ecx
jmp 0x3e421f
mov eax, dword [esi + 0xc]
cmp ecx, eax
jne 0x3e41e1
inc eax
push eax
mov eax, esi
call fcn.003b1990
add dword [esi + 8], edi
push 0x1c
call fcn.00438a50
add esp, 4
test eax, eax
je 0x3e4205
mov dword [eax + 0x14], 0xf
mov dword [eax + 0x10], 0
mov byte [eax], 0
jmp 0x3e4207
xor eax, eax
mov dword [esp + 0x80], 0xffffffff
mov ecx, dword [esi + 4]
mov edx, dword [esi]
mov dword [edx + ecx*4], eax
add dword [esi + 4], edi
mov edi, eax
mov eax, dword [ebx + 4]
mov esi, dword [ebx + 8]
cmp eax, esi
jae 0x3e423d
mov cl, byte [eax]
cmp cl, 0x80
jae 0x3e423d
movzx ecx, cl
inc eax
mov dword [esp + 0x34], ecx
mov dword [ebx + 4], eax
jmp 0x3e4268
mov edx, esi
sub edx, eax
cmp edx, 0xa
jge 0x3e429f
cmp esi, eax
jbe 0x3e4250
test byte [esi - 1], 0x80
je 0x3e429f
lea eax, [esp + 0x5c]
push eax
mov eax, ebx
call fcn.003db550
test al, al
jne 0x3e4293
test al, al
je 0x3e496c
mov esi, dword [esp + 0x34]
call fcn.003cdd80
test al, al
je 0x3e496c
mov eax, dword [ebx + 4]
cmp eax, dword [ebx + 8]
jae 0x3e42b9
cmp byte [eax], 0x1a
jne 0x3e42b9
mov esi, dword [esp + 0x1c]
inc eax
mov dword [ebx + 4], eax
jmp 0x3e41af
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x34], ecx
mov al, 1
jmp 0x3e4260
lea edx, [esp + 0x34]
push edx
call fcn.003db110
add esp, 4
test eax, eax
je 0x3e496c
mov dword [ebx + 4], eax
jmp 0x3e4268
mov eax, dword [ebx + 4]
cmp eax, dword [ebx + 8]
jae 0x3e4006
cmp byte [eax], 0x22
jne 0x3e4006
inc eax
mov dword [ebx + 4], eax
jmp 0x3e42e2
mov ecx, eax
and cl, 7
cmp cl, 2
jne case.default.0x3e4090
mov edi, dword [esp + 0x20]
mov eax, dword [edi + 0x34]
mov ecx, dword [edi + 0x38]
mov esi, 1
cmp eax, ecx
jge 0x3e4305
mov edx, dword [edi + 0x30]
mov ecx, dword [edx + eax*4]
inc eax
mov dword [edi + 0x34], eax
mov dword [esp + 0x1c], ecx
jmp 0x3e4343
mov eax, dword [edi + 0x3c]
cmp ecx, eax
jne 0x3e4316
inc eax
push eax
lea eax, [edi + 0x30]
call fcn.003b1990
add dword [edi + 0x38], esi
push 0xb8
call fcn.00438a50
add esp, 4
test eax, eax
je 0x3e4331
call fcn.003e6120
jmp 0x3e4333
xor eax, eax
mov ecx, dword [edi + 0x34]
mov edx, dword [edi + 0x30]
mov dword [edx + ecx*4], eax
add dword [edi + 0x34], esi
mov dword [esp + 0x1c], eax
mov eax, dword [ebx + 4]
mov esi, dword [ebx + 8]
cmp eax, esi
jae 0x3e4361
mov cl, byte [eax]
cmp cl, 0x80
jae 0x3e4361
movzx ecx, cl
inc eax
mov dword [esp + 0x30], ecx
mov dword [ebx + 4], eax
jmp 0x3e4394
mov edx, esi
sub edx, eax
cmp edx, 0xa
jge 0x3e43ff
cmp esi, eax
jbe 0x3e437c
test byte [esi - 1], 0x80
je 0x3e43ff
lea eax, [esp + 0x44]
push eax
mov eax, ebx
call fcn.003db550
test al, al
jne 0x3e43f3
test al, al
je 0x3e496c
inc dword [ebx + 0x2c]
mov eax, dword [ebx + 0x2c]
cmp eax, dword [ebx + 0x30]
jg 0x3e496c
mov eax, dword [esp + 0x30]
push eax
mov ecx, ebx
call fcn.003dab20
mov ecx, dword [esp + 0x1c]
push ebx
mov esi, eax
call fcn.003e6450
test al, al
je 0x3e496c
cmp byte [ebx + 0x18], 0
je 0x3e496c
mov ecx, dword [ebx + 0x20]
add dword [ebx + 8], ecx
lea eax, [ebx + 0x1c]
mov dword [eax], esi
cmp dword [ebx + 0x24], esi
jge 0x3e43e0
lea eax, [ebx + 0x24]
mov ecx, dword [eax]
mov eax, dword [ebx + 0xc]
cmp ecx, eax
jge 0x3e441c
sub eax, ecx
sub dword [ebx + 8], eax
mov dword [ebx + 0x20], eax
jmp 0x3e4423
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x30], ecx
mov al, 1
jmp 0x3e438c
lea edx, [esp + 0x30]
push edx
call fcn.003db110
add esp, 4
test eax, eax
je 0x3e496c
mov dword [ebx + 4], eax
jmp 0x3e4394
mov dword [ebx + 0x20], 0
mov eax, dword [ebx + 0x2c]
mov byte [ebx + 0x18], 0
test eax, eax
jle 0x3e4432
dec eax
mov dword [ebx + 0x2c], eax
mov eax, dword [ebx + 4]
cmp eax, dword [ebx + 8]
jae 0x3e4448
cmp byte [eax], 0x22
jne 0x3e4448
inc eax
mov dword [ebx + 4], eax
jmp 0x3e42e6
mov eax, dword [ebx + 4]
cmp eax, dword [ebx + 8]
jae 0x3e4006
cmp byte [eax], 0x2a
jne 0x3e4006
inc eax
mov dword [ebx + 4], eax
jmp 0x3e4471
mov ecx, eax
and cl, 7
cmp cl, 2
jne case.default.0x3e4090
mov edx, dword [esp + 0x20]
add edx, 0x50
mov dword [esp + 0x1c], edx
lea esp, [esp]
mov esi, dword [esp + 0x1c]
call fcn.003c5c60
mov esi, dword [ebx + 8]
mov edi, eax
mov eax, dword [ebx + 4]
cmp eax, esi
jae 0x3e44a9
mov cl, byte [eax]
cmp cl, 0x80
jae 0x3e44a9
movzx ecx, cl
inc eax
mov dword [esp + 0x24], ecx
mov dword [ebx + 4], eax
jmp 0x3e44dc
mov edx, esi
sub edx, eax
cmp edx, 0xa
jge 0x3e4545
cmp esi, eax
jbe 0x3e44c4
test byte [esi - 1], 0x80
je 0x3e4545
lea eax, [esp + 0x4c]
push eax
mov eax, ebx
call fcn.003db550
test al, al
jne 0x3e4539
test al, al
je 0x3e496c
inc dword [ebx + 0x2c]
mov eax, dword [ebx + 0x2c]
cmp eax, dword [ebx + 0x30]
jg 0x3e496c
mov eax, dword [esp + 0x24]
push eax
mov ecx, ebx
call fcn.003dab20
push ebx
mov ecx, edi
mov esi, eax
call fcn.003e8fe0
test al, al
je 0x3e496c
cmp byte [ebx + 0x18], 0
je 0x3e496c
mov ecx, dword [ebx + 0x20]
add dword [ebx + 8], ecx
lea eax, [ebx + 0x1c]
mov dword [eax], esi
cmp dword [ebx + 0x24], esi
jge 0x3e4526
lea eax, [ebx + 0x24]
mov ecx, dword [eax]
mov eax, dword [ebx + 0xc]
cmp ecx, eax
jge 0x3e4562
sub eax, ecx
sub dword [ebx + 8], eax
mov dword [ebx + 0x20], eax
jmp 0x3e4569
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x24], ecx
mov al, 1
jmp 0x3e44d4
lea edx, [esp + 0x24]
push edx
call fcn.003db110
add esp, 4
test eax, eax
je 0x3e496c
mov dword [ebx + 4], eax
jmp 0x3e44dc
mov dword [ebx + 0x20], 0
mov eax, dword [ebx + 0x2c]
mov byte [ebx + 0x18], 0
test eax, eax
jle 0x3e4578
dec eax
mov dword [ebx + 0x2c], eax
mov eax, dword [ebx + 4]
cmp eax, dword [ebx + 8]
jae 0x3e458e
cmp byte [eax], 0x2a
jne 0x3e458e
inc eax
mov dword [ebx + 4], eax
jmp 0x3e4480
mov eax, dword [ebx + 4]
cmp eax, dword [ebx + 8]
jae 0x3e4006
cmp byte [eax], 0x32
jne 0x3e4006
inc eax
mov dword [ebx + 4], eax
jmp 0x3e45b7
mov ecx, eax
and cl, 7
cmp cl, 2
jne case.default.0x3e4090
mov edx, dword [esp + 0x20]
add edx, 0x70
mov dword [esp + 0x1c], edx
mov esi, dword [esp + 0x1c]
call fcn.003c5ce0
mov esi, dword [ebx + 8]
mov edi, eax
mov eax, dword [ebx + 4]
cmp eax, esi
jae 0x3e45eb
mov cl, byte [eax]
cmp cl, 0x80
jae 0x3e45eb
movzx ecx, cl
inc eax
mov dword [esp + 0x2c], ecx
mov dword [ebx + 4], eax
jmp 0x3e461e
mov edx, esi
sub edx, eax
cmp edx, 0xa
jge 0x3e4687
cmp esi, eax
jbe 0x3e4606
test byte [esi - 1], 0x80
je 0x3e4687
lea eax, [esp + 0x54]
push eax
mov eax, ebx
call fcn.003db550
test al, al
jne 0x3e467b
test al, al
je 0x3e496c
inc dword [ebx + 0x2c]
mov eax, dword [ebx + 0x2c]
cmp eax, dword [ebx + 0x30]
jg 0x3e496c
mov eax, dword [esp + 0x2c]
push eax
mov ecx, ebx
call fcn.003dab20
push ebx
mov ecx, edi
mov esi, eax
call fcn.003ea810
test al, al
je 0x3e496c
cmp byte [ebx + 0x18], 0
je 0x3e496c
mov ecx, dword [ebx + 0x20]
add dword [ebx + 8], ecx
lea eax, [ebx + 0x1c]
mov dword [eax], esi
cmp dword [ebx + 0x24], esi
jge 0x3e4668
lea eax, [ebx + 0x24]
mov ecx, dword [eax]
mov eax, dword [ebx + 0xc]
cmp ecx, eax
jge 0x3e46a4
sub eax, ecx
sub dword [ebx + 8], eax
mov dword [ebx + 0x20], eax
jmp 0x3e46ab
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x2c], ecx
mov al, 1
jmp 0x3e4616
lea edx, [esp + 0x2c]
push edx
call fcn.003db110
add esp, 4
test eax, eax
je 0x3e496c
mov dword [ebx + 4], eax
jmp 0x3e461e
mov dword [ebx + 0x20], 0
mov eax, dword [ebx + 0x2c]
mov byte [ebx + 0x18], 0
test eax, eax
jle 0x3e46ba
dec eax
mov dword [ebx + 0x2c], eax
mov eax, dword [ebx + 4]
cmp eax, dword [ebx + 8]
jae 0x3e46d0
cmp byte [eax], 0x32
jne 0x3e46d0
inc eax
mov dword [ebx + 4], eax
jmp 0x3e45c2
mov eax, dword [ebx + 4]
cmp eax, dword [ebx + 8]
jae 0x3e4006
cmp byte [eax], 0x3a
jne 0x3e4006
inc eax
mov dword [ebx + 4], eax
jmp 0x3e46f9
mov ecx, eax
and cl, 7
cmp cl, 2
jne case.default.0x3e4090
mov edi, dword [esp + 0x20]
mov eax, dword [edi + 0x94]
mov ecx, dword [edi + 0x98]
xor esi, esi
jmp 0x3e4710
cmp eax, ecx
jge 0x3e472a
mov edx, dword [edi + 0x90]
mov ecx, dword [edx + eax*4]
inc eax
mov dword [edi + 0x94], eax
mov dword [esp + 0x1c], ecx
jmp 0x3e47a3
mov eax, dword [edi + 0x9c]
cmp ecx, eax
jne 0x3e4741
inc eax
push eax
lea eax, [edi + 0x90]
call fcn.003b1990
inc dword [edi + 0x98]
push 0x30
call fcn.00438a50
add esp, 4
mov edx, 1
cmp eax, esi
je 0x3e4788
mov ecx, 0x515620
mov dword [eax], vtable.google::protobuf::FieldDescriptorProto.0
mov dword [eax + 4], esi
mov dword [eax + 0x28], esi
mov dword [eax + 8], ecx
mov dword [eax + 0xc], esi
mov dword [eax + 0x10], edx
mov dword [eax + 0x24], edx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], ecx
mov dword [eax + 0x20], esi
mov dword [eax + 0x2c], esi
jmp 0x3e478a
xor eax, eax
mov ecx, dword [edi + 0x94]
mov esi, dword [edi + 0x90]
mov dword [esi + ecx*4], eax
add dword [edi + 0x94], edx
mov dword [esp + 0x1c], eax
mov eax, dword [ebx + 4]
mov esi, dword [ebx + 8]
cmp eax, esi
jae 0x3e47c1
mov cl, byte [eax]
cmp cl, 0x80
jae 0x3e47c1
movzx edx, cl
inc eax
mov dword [esp + 0x28], edx
mov dword [ebx + 4], eax
jmp 0x3e47f4
mov ecx, esi
sub ecx, eax
cmp ecx, 0xa
jge 0x3e485f
cmp esi, eax
jbe 0x3e47dc
test byte [esi - 1], 0x80
je 0x3e485f
lea edx, [esp + 0x64]
push edx
mov eax, ebx
call fcn.003db550
test al, al
jne 0x3e4853
test al, al
je 0x3e496c
inc dword [ebx + 0x2c]
mov eax, dword [ebx + 0x2c]
cmp eax, dword [ebx + 0x30]
jg 0x3e496c
mov edx, dword [esp + 0x28]
push edx
mov ecx, ebx
call fcn.003dab20
mov ecx, dword [esp + 0x1c]
push ebx
mov esi, eax
call fcn.003e8100
test al, al
je 0x3e496c
cmp byte [ebx + 0x18], 0
je 0x3e496c
mov ecx, dword [ebx + 0x20]
add dword [ebx + 8], ecx
lea eax, [ebx + 0x1c]
mov dword [eax], esi
cmp dword [ebx + 0x24], esi
jge 0x3e4840
lea eax, [ebx + 0x24]
mov ecx, dword [eax]
mov eax, dword [ebx + 0xc]
cmp ecx, eax
jge 0x3e487c
sub eax, ecx
sub dword [ebx + 8], eax
mov dword [ebx + 0x20], eax
jmp 0x3e4883
mov eax, dword [esp + 0x64]
mov dword [esp + 0x28], eax
mov al, 1
jmp 0x3e47ec
lea ecx, [esp + 0x28]
push ecx
call fcn.003db110
add esp, 4
test eax, eax
je 0x3e496c
mov dword [ebx + 4], eax
jmp 0x3e47f4
mov dword [ebx + 0x20], 0
mov eax, dword [ebx + 0x2c]
mov byte [ebx + 0x18], 0
test eax, eax
jle 0x3e4892
dec eax
mov dword [ebx + 0x2c], eax
mov eax, dword [ebx + 4]
cmp eax, dword [ebx + 8]
jae 0x3e48a8
cmp byte [eax], 0x3a
jne 0x3e48a8
inc eax
mov dword [ebx + 4], eax
jmp 0x3e46fd
mov eax, dword [ebx + 4]
cmp eax, dword [ebx + 8]
jae 0x3e4006
cmp byte [eax], 0x42
jne 0x3e4006
inc eax
mov dword [ebx + 4], eax
jmp 0x3e48cd
mov ecx, eax
and cl, 7
cmp cl, 2
jne case.default.0x3e4090
mov esi, dword [esp + 0x20]
call fcn.003b30b0
push eax
mov eax, ebx
call fcn.003f69e0
add esp, 4
test al, al
je 0x3e496c
mov eax, dword [ebx + 4]
cmp eax, dword [ebx + 8]
jae 0x3e4006
cmp byte [eax], 0x4a
jne 0x3e4006
inc eax
mov dword [ebx + 4], eax
jmp 0x3e490e
mov edx, eax
and dl, 7
cmp dl, 2
jne case.default.0x3e4090
mov esi, dword [esp + 0x20]
call fcn.003e12f0
push eax
mov eax, ebx
call fcn.003f6a50
add esp, 4
test al, al
je 0x3e496c
mov eax, dword [ebx + 4]
cmp eax, dword [ebx + 8]
jne 0x3e4006
cmp dword [ebx + 0x20], 0
je 0x3e4006
mov al, 1
mov dword [ebx + 0x14], 0
mov byte [ebx + 0x18], al
jmp 0x3e4972
mov ecx, eax
and cl, 7
cmp cl, 4
je 0x3e4970
mov ecx, dword [esp + 0x20]
add ecx, 4
push ebx
call fcn.003d5320
add esp, 4
test al, al
jne 0x3e4006
xor al, al
jmp 0x3e4972
mov al, 1
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.00438a41
mov esp, ebp
pop ebp
ret 4