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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1d12b6
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x2316ec]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push esi
push edi
mov eax, dword [0x2316ec]
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 0x104025
mov cl, byte [eax]
cmp cl, 0x80
jae 0x104025
movzx ecx, cl
inc eax
mov dword [ebx + 4], eax
mov dword [ebx + 0x14], ecx
mov eax, ecx
jmp 0x104079
mov edx, esi
sub edx, eax
cmp edx, 0xa
jge 0x10405e
cmp eax, esi
jae 0x10403a
test byte [esi - 1], 0x80
je 0x10405e
cmp eax, esi
jne 0x104055
mov eax, dword [ebx + 0x20]
test eax, eax
jle 0x104055
mov ecx, dword [ebx + 0xc]
sub ecx, eax
cmp ecx, dword [ebx + 0x24]
jge 0x104055
mov byte [ebx + 0x18], 1
xor eax, eax
jmp 0x104076
mov eax, ebx
call fcn.000fb180
jmp 0x104076
lea edx, [esp + 0x3c]
push edx
call fcn.000fb110
add esp, 4
test eax, eax
je 0x104076
mov dword [ebx + 4], eax
mov eax, dword [esp + 0x3c]
mov dword [ebx + 0x14], eax
test eax, eax
je 0x104970
mov ecx, eax
shr ecx, 3
dec ecx
cmp ecx, 8
ja case.default.0x104090
jmp dword [ecx*4 + 0x104994]
mov edx, eax
and dl, 7
cmp dl, 2
jne case.default.0x104090
mov esi, dword [esp + 0x20]
call fcn.00101280
lea edi, [esp + 0x40]
mov esi, ebx
mov dword [esp + 0x1c], eax
call fcn.0002a530
test al, al
je 0x10496c
mov esi, dword [esp + 0x40]
mov edi, dword [esp + 0x1c]
call fcn.000edd80
test al, al
je 0x10496c
mov eax, dword [ebx + 4]
cmp eax, dword [ebx + 8]
jae 0x104006
cmp byte [eax], 0x12
jne 0x104006
inc eax
mov dword [ebx + 4], eax
jmp 0x104103
mov ecx, eax
and cl, 7
cmp cl, 2
jne case.default.0x104090
mov esi, dword [esp + 0x20]
or dword [esi + 0xbc], 2
cmp dword [esi + 0xc], 0x235620
jne 0x104148
push 0x1c
call fcn.00158a50
add esp, 4
test eax, eax
je 0x104138
mov dword [eax + 0x14], 0xf
mov dword [eax + 0x10], 0
mov byte [eax], 0
jmp 0x10413a
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.0002a530
test al, al
je 0x10496c
mov esi, dword [esp + 0x38]
mov edi, dword [esp + 0x1c]
call fcn.000edd80
test al, al
je 0x10496c
mov eax, dword [ebx + 4]
cmp eax, dword [ebx + 8]
jae 0x104006
cmp byte [eax], 0x1a
jne 0x104006
inc eax
mov dword [ebx + 4], eax
jmp 0x1041a4
mov ecx, eax
and cl, 7
cmp cl, 2
jne case.default.0x104090
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 0x1041d1
mov edx, dword [esi]
mov ecx, dword [edx + eax*4]
inc eax
mov dword [esi + 4], eax
mov edi, ecx
jmp 0x10421f
mov eax, dword [esi + 0xc]
cmp ecx, eax
jne 0x1041e1
inc eax
push eax
mov eax, esi
call fcn.000d1990
add dword [esi + 8], edi
push 0x1c
call fcn.00158a50
add esp, 4
test eax, eax
je 0x104205
mov dword [eax + 0x14], 0xf
mov dword [eax + 0x10], 0
mov byte [eax], 0
jmp 0x104207
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 0x10423d
mov cl, byte [eax]
cmp cl, 0x80
jae 0x10423d
movzx ecx, cl
inc eax
mov dword [esp + 0x34], ecx
mov dword [ebx + 4], eax
jmp 0x104268
mov edx, esi
sub edx, eax
cmp edx, 0xa
jge 0x10429f
cmp esi, eax
jbe 0x104250
test byte [esi - 1], 0x80
je 0x10429f
lea eax, [esp + 0x5c]
push eax
mov eax, ebx
call fcn.000fb550
test al, al
jne 0x104293
test al, al
je 0x10496c
mov esi, dword [esp + 0x34]
call fcn.000edd80
test al, al
je 0x10496c
mov eax, dword [ebx + 4]
cmp eax, dword [ebx + 8]
jae 0x1042b9
cmp byte [eax], 0x1a
jne 0x1042b9
mov esi, dword [esp + 0x1c]
inc eax
mov dword [ebx + 4], eax
jmp 0x1041af
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x34], ecx
mov al, 1
jmp 0x104260
lea edx, [esp + 0x34]
push edx
call fcn.000fb110
add esp, 4
test eax, eax
je 0x10496c
mov dword [ebx + 4], eax
jmp 0x104268
mov eax, dword [ebx + 4]
cmp eax, dword [ebx + 8]
jae 0x104006
cmp byte [eax], 0x22
jne 0x104006
inc eax
mov dword [ebx + 4], eax
jmp 0x1042e2
mov ecx, eax
and cl, 7
cmp cl, 2
jne case.default.0x104090
mov edi, dword [esp + 0x20]
mov eax, dword [edi + 0x34]
mov ecx, dword [edi + 0x38]
mov esi, 1
cmp eax, ecx
jge 0x104305
mov edx, dword [edi + 0x30]
mov ecx, dword [edx + eax*4]
inc eax
mov dword [edi + 0x34], eax
mov dword [esp + 0x1c], ecx
jmp 0x104343
mov eax, dword [edi + 0x3c]
cmp ecx, eax
jne 0x104316
inc eax
push eax
lea eax, [edi + 0x30]
call fcn.000d1990
add dword [edi + 0x38], esi
push 0xb8
call fcn.00158a50
add esp, 4
test eax, eax
je 0x104331
call fcn.00106120
jmp 0x104333
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 0x104361
mov cl, byte [eax]
cmp cl, 0x80
jae 0x104361
movzx ecx, cl
inc eax
mov dword [esp + 0x30], ecx
mov dword [ebx + 4], eax
jmp 0x104394
mov edx, esi
sub edx, eax
cmp edx, 0xa
jge 0x1043ff
cmp esi, eax
jbe 0x10437c
test byte [esi - 1], 0x80
je 0x1043ff
lea eax, [esp + 0x44]
push eax
mov eax, ebx
call fcn.000fb550
test al, al
jne 0x1043f3
test al, al
je 0x10496c
inc dword [ebx + 0x2c]
mov eax, dword [ebx + 0x2c]
cmp eax, dword [ebx + 0x30]
jg 0x10496c
mov eax, dword [esp + 0x30]
push eax
mov ecx, ebx
call fcn.000fab20
mov ecx, dword [esp + 0x1c]
push ebx
mov esi, eax
call fcn.00106450
test al, al
je 0x10496c
cmp byte [ebx + 0x18], 0
je 0x10496c
mov ecx, dword [ebx + 0x20]
add dword [ebx + 8], ecx
lea eax, [ebx + 0x1c]
mov dword [eax], esi
cmp dword [ebx + 0x24], esi
jge 0x1043e0
lea eax, [ebx + 0x24]
mov ecx, dword [eax]
mov eax, dword [ebx + 0xc]
cmp ecx, eax
jge 0x10441c
sub eax, ecx
sub dword [ebx + 8], eax
mov dword [ebx + 0x20], eax
jmp 0x104423
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x30], ecx
mov al, 1
jmp 0x10438c
lea edx, [esp + 0x30]
push edx
call fcn.000fb110
add esp, 4
test eax, eax
je 0x10496c
mov dword [ebx + 4], eax
jmp 0x104394
mov dword [ebx + 0x20], 0
mov eax, dword [ebx + 0x2c]
mov byte [ebx + 0x18], 0
test eax, eax
jle 0x104432
dec eax
mov dword [ebx + 0x2c], eax
mov eax, dword [ebx + 4]
cmp eax, dword [ebx + 8]
jae 0x104448
cmp byte [eax], 0x22
jne 0x104448
inc eax
mov dword [ebx + 4], eax
jmp 0x1042e6
mov eax, dword [ebx + 4]
cmp eax, dword [ebx + 8]
jae 0x104006
cmp byte [eax], 0x2a
jne 0x104006
inc eax
mov dword [ebx + 4], eax
jmp 0x104471
mov ecx, eax
and cl, 7
cmp cl, 2
jne case.default.0x104090
mov edx, dword [esp + 0x20]
add edx, 0x50
mov dword [esp + 0x1c], edx
lea esp, [esp]
mov esi, dword [esp + 0x1c]
call fcn.000e5c60
mov esi, dword [ebx + 8]
mov edi, eax
mov eax, dword [ebx + 4]
cmp eax, esi
jae 0x1044a9
mov cl, byte [eax]
cmp cl, 0x80
jae 0x1044a9
movzx ecx, cl
inc eax
mov dword [esp + 0x24], ecx
mov dword [ebx + 4], eax
jmp 0x1044dc
mov edx, esi
sub edx, eax
cmp edx, 0xa
jge 0x104545
cmp esi, eax
jbe 0x1044c4
test byte [esi - 1], 0x80
je 0x104545
lea eax, [esp + 0x4c]
push eax
mov eax, ebx
call fcn.000fb550
test al, al
jne 0x104539
test al, al
je 0x10496c
inc dword [ebx + 0x2c]
mov eax, dword [ebx + 0x2c]
cmp eax, dword [ebx + 0x30]
jg 0x10496c
mov eax, dword [esp + 0x24]
push eax
mov ecx, ebx
call fcn.000fab20
push ebx
mov ecx, edi
mov esi, eax
call fcn.00108fe0
test al, al
je 0x10496c
cmp byte [ebx + 0x18], 0
je 0x10496c
mov ecx, dword [ebx + 0x20]
add dword [ebx + 8], ecx
lea eax, [ebx + 0x1c]
mov dword [eax], esi
cmp dword [ebx + 0x24], esi
jge 0x104526
lea eax, [ebx + 0x24]
mov ecx, dword [eax]
mov eax, dword [ebx + 0xc]
cmp ecx, eax
jge 0x104562
sub eax, ecx
sub dword [ebx + 8], eax
mov dword [ebx + 0x20], eax
jmp 0x104569
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x24], ecx
mov al, 1
jmp 0x1044d4
lea edx, [esp + 0x24]
push edx
call fcn.000fb110
add esp, 4
test eax, eax
je 0x10496c
mov dword [ebx + 4], eax
jmp 0x1044dc
mov dword [ebx + 0x20], 0
mov eax, dword [ebx + 0x2c]
mov byte [ebx + 0x18], 0
test eax, eax
jle 0x104578
dec eax
mov dword [ebx + 0x2c], eax
mov eax, dword [ebx + 4]
cmp eax, dword [ebx + 8]
jae 0x10458e
cmp byte [eax], 0x2a
jne 0x10458e
inc eax
mov dword [ebx + 4], eax
jmp 0x104480
mov eax, dword [ebx + 4]
cmp eax, dword [ebx + 8]
jae 0x104006
cmp byte [eax], 0x32
jne 0x104006
inc eax
mov dword [ebx + 4], eax
jmp 0x1045b7
mov ecx, eax
and cl, 7
cmp cl, 2
jne case.default.0x104090
mov edx, dword [esp + 0x20]
add edx, 0x70
mov dword [esp + 0x1c], edx
mov esi, dword [esp + 0x1c]
call fcn.000e5ce0
mov esi, dword [ebx + 8]
mov edi, eax
mov eax, dword [ebx + 4]
cmp eax, esi
jae 0x1045eb
mov cl, byte [eax]
cmp cl, 0x80
jae 0x1045eb
movzx ecx, cl
inc eax
mov dword [esp + 0x2c], ecx
mov dword [ebx + 4], eax
jmp 0x10461e
mov edx, esi
sub edx, eax
cmp edx, 0xa
jge 0x104687
cmp esi, eax
jbe 0x104606
test byte [esi - 1], 0x80
je 0x104687
lea eax, [esp + 0x54]
push eax
mov eax, ebx
call fcn.000fb550
test al, al
jne 0x10467b
test al, al
je 0x10496c
inc dword [ebx + 0x2c]
mov eax, dword [ebx + 0x2c]
cmp eax, dword [ebx + 0x30]
jg 0x10496c
mov eax, dword [esp + 0x2c]
push eax
mov ecx, ebx
call fcn.000fab20
push ebx
mov ecx, edi
mov esi, eax
call fcn.0010a810
test al, al
je 0x10496c
cmp byte [ebx + 0x18], 0
je 0x10496c
mov ecx, dword [ebx + 0x20]
add dword [ebx + 8], ecx
lea eax, [ebx + 0x1c]
mov dword [eax], esi
cmp dword [ebx + 0x24], esi
jge 0x104668
lea eax, [ebx + 0x24]
mov ecx, dword [eax]
mov eax, dword [ebx + 0xc]
cmp ecx, eax
jge 0x1046a4
sub eax, ecx
sub dword [ebx + 8], eax
mov dword [ebx + 0x20], eax
jmp 0x1046ab
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x2c], ecx
mov al, 1
jmp 0x104616
lea edx, [esp + 0x2c]
push edx
call fcn.000fb110
add esp, 4
test eax, eax
je 0x10496c
mov dword [ebx + 4], eax
jmp 0x10461e
mov dword [ebx + 0x20], 0
mov eax, dword [ebx + 0x2c]
mov byte [ebx + 0x18], 0
test eax, eax
jle 0x1046ba
dec eax
mov dword [ebx + 0x2c], eax
mov eax, dword [ebx + 4]
cmp eax, dword [ebx + 8]
jae 0x1046d0
cmp byte [eax], 0x32
jne 0x1046d0
inc eax
mov dword [ebx + 4], eax
jmp 0x1045c2
mov eax, dword [ebx + 4]
cmp eax, dword [ebx + 8]
jae 0x104006
cmp byte [eax], 0x3a
jne 0x104006
inc eax
mov dword [ebx + 4], eax
jmp 0x1046f9
mov ecx, eax
and cl, 7
cmp cl, 2
jne case.default.0x104090
mov edi, dword [esp + 0x20]
mov eax, dword [edi + 0x94]
mov ecx, dword [edi + 0x98]
xor esi, esi
jmp 0x104710
cmp eax, ecx
jge 0x10472a
mov edx, dword [edi + 0x90]
mov ecx, dword [edx + eax*4]
inc eax
mov dword [edi + 0x94], eax
mov dword [esp + 0x1c], ecx
jmp 0x1047a3
mov eax, dword [edi + 0x9c]
cmp ecx, eax
jne 0x104741
inc eax
push eax
lea eax, [edi + 0x90]
call fcn.000d1990
inc dword [edi + 0x98]
push 0x30
call fcn.00158a50
add esp, 4
mov edx, 1
cmp eax, esi
je 0x104788
mov ecx, 0x235620
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 0x10478a
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 0x1047c1
mov cl, byte [eax]
cmp cl, 0x80
jae 0x1047c1
movzx edx, cl
inc eax
mov dword [esp + 0x28], edx
mov dword [ebx + 4], eax
jmp 0x1047f4
mov ecx, esi
sub ecx, eax
cmp ecx, 0xa
jge 0x10485f
cmp esi, eax
jbe 0x1047dc
test byte [esi - 1], 0x80
je 0x10485f
lea edx, [esp + 0x64]
push edx
mov eax, ebx
call fcn.000fb550
test al, al
jne 0x104853
test al, al
je 0x10496c
inc dword [ebx + 0x2c]
mov eax, dword [ebx + 0x2c]
cmp eax, dword [ebx + 0x30]
jg 0x10496c
mov edx, dword [esp + 0x28]
push edx
mov ecx, ebx
call fcn.000fab20
mov ecx, dword [esp + 0x1c]
push ebx
mov esi, eax
call fcn.00108100
test al, al
je 0x10496c
cmp byte [ebx + 0x18], 0
je 0x10496c
mov ecx, dword [ebx + 0x20]
add dword [ebx + 8], ecx
lea eax, [ebx + 0x1c]
mov dword [eax], esi
cmp dword [ebx + 0x24], esi
jge 0x104840
lea eax, [ebx + 0x24]
mov ecx, dword [eax]
mov eax, dword [ebx + 0xc]
cmp ecx, eax
jge 0x10487c
sub eax, ecx
sub dword [ebx + 8], eax
mov dword [ebx + 0x20], eax
jmp 0x104883
mov eax, dword [esp + 0x64]
mov dword [esp + 0x28], eax
mov al, 1
jmp 0x1047ec
lea ecx, [esp + 0x28]
push ecx
call fcn.000fb110
add esp, 4
test eax, eax
je 0x10496c
mov dword [ebx + 4], eax
jmp 0x1047f4
mov dword [ebx + 0x20], 0
mov eax, dword [ebx + 0x2c]
mov byte [ebx + 0x18], 0
test eax, eax
jle 0x104892
dec eax
mov dword [ebx + 0x2c], eax
mov eax, dword [ebx + 4]
cmp eax, dword [ebx + 8]
jae 0x1048a8
cmp byte [eax], 0x3a
jne 0x1048a8
inc eax
mov dword [ebx + 4], eax
jmp 0x1046fd
mov eax, dword [ebx + 4]
cmp eax, dword [ebx + 8]
jae 0x104006
cmp byte [eax], 0x42
jne 0x104006
inc eax
mov dword [ebx + 4], eax
jmp 0x1048cd
mov ecx, eax
and cl, 7
cmp cl, 2
jne case.default.0x104090
mov esi, dword [esp + 0x20]
call fcn.000d30b0
push eax
mov eax, ebx
call fcn.001169e0
add esp, 4
test al, al
je 0x10496c
mov eax, dword [ebx + 4]
cmp eax, dword [ebx + 8]
jae 0x104006
cmp byte [eax], 0x4a
jne 0x104006
inc eax
mov dword [ebx + 4], eax
jmp 0x10490e
mov edx, eax
and dl, 7
cmp dl, 2
jne case.default.0x104090
mov esi, dword [esp + 0x20]
call fcn.001012f0
push eax
mov eax, ebx
call fcn.00116a50
add esp, 4
test al, al
je 0x10496c
mov eax, dword [ebx + 4]
cmp eax, dword [ebx + 8]
jne 0x104006
cmp dword [ebx + 0x20], 0
je 0x104006
mov al, 1
mov dword [ebx + 0x14], 0
mov byte [ebx + 0x18], al
jmp 0x104972
mov ecx, eax
and cl, 7
cmp cl, 4
je 0x104970
mov ecx, dword [esp + 0x20]
add ecx, 4
push ebx
call fcn.000f5320
add esp, 4
test al, al
jne 0x104006
xor al, al
jmp 0x104972
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.00158a41
mov esp, ebp
pop ebp
ret 4