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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0xfd12b6
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x10316ec]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push esi
push edi
mov eax, dword [0x10316ec]
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 0xf04025
mov cl, byte [eax]
cmp cl, 0x80
jae 0xf04025
movzx ecx, cl
inc eax
mov dword [ebx + 4], eax
mov dword [ebx + 0x14], ecx
mov eax, ecx
jmp 0xf04079
mov edx, esi
sub edx, eax
cmp edx, 0xa
jge 0xf0405e
cmp eax, esi
jae 0xf0403a
test byte [esi - 1], 0x80
je 0xf0405e
cmp eax, esi
jne 0xf04055
mov eax, dword [ebx + 0x20]
test eax, eax
jle 0xf04055
mov ecx, dword [ebx + 0xc]
sub ecx, eax
cmp ecx, dword [ebx + 0x24]
jge 0xf04055
mov byte [ebx + 0x18], 1
xor eax, eax
jmp 0xf04076
mov eax, ebx
call fcn.00efb180
jmp 0xf04076
lea edx, [esp + 0x3c]
push edx
call fcn.00efb110
add esp, 4
test eax, eax
je 0xf04076
mov dword [ebx + 4], eax
mov eax, dword [esp + 0x3c]
mov dword [ebx + 0x14], eax
test eax, eax
je 0xf04970
mov ecx, eax
shr ecx, 3
dec ecx
cmp ecx, 8
ja case.default.0xf04090
jmp dword [ecx*4 + 0xf04994]
mov edx, eax
and dl, 7
cmp dl, 2
jne case.default.0xf04090
mov esi, dword [esp + 0x20]
call fcn.00f01280
lea edi, [esp + 0x40]
mov esi, ebx
mov dword [esp + 0x1c], eax
call fcn.00e2a530
test al, al
je 0xf0496c
mov esi, dword [esp + 0x40]
mov edi, dword [esp + 0x1c]
call fcn.00eedd80
test al, al
je 0xf0496c
mov eax, dword [ebx + 4]
cmp eax, dword [ebx + 8]
jae 0xf04006
cmp byte [eax], 0x12
jne 0xf04006
inc eax
mov dword [ebx + 4], eax
jmp 0xf04103
mov ecx, eax
and cl, 7
cmp cl, 2
jne case.default.0xf04090
mov esi, dword [esp + 0x20]
or dword [esi + 0xbc], 2
cmp dword [esi + 0xc], 0x1035620
jne 0xf04148
push 0x1c
call fcn.00f58a50
add esp, 4
test eax, eax
je 0xf04138
mov dword [eax + 0x14], 0xf
mov dword [eax + 0x10], 0
mov byte [eax], 0
jmp 0xf0413a
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.00e2a530
test al, al
je 0xf0496c
mov esi, dword [esp + 0x38]
mov edi, dword [esp + 0x1c]
call fcn.00eedd80
test al, al
je 0xf0496c
mov eax, dword [ebx + 4]
cmp eax, dword [ebx + 8]
jae 0xf04006
cmp byte [eax], 0x1a
jne 0xf04006
inc eax
mov dword [ebx + 4], eax
jmp 0xf041a4
mov ecx, eax
and cl, 7
cmp cl, 2
jne case.default.0xf04090
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 0xf041d1
mov edx, dword [esi]
mov ecx, dword [edx + eax*4]
inc eax
mov dword [esi + 4], eax
mov edi, ecx
jmp 0xf0421f
mov eax, dword [esi + 0xc]
cmp ecx, eax
jne 0xf041e1
inc eax
push eax
mov eax, esi
call fcn.00ed1990
add dword [esi + 8], edi
push 0x1c
call fcn.00f58a50
add esp, 4
test eax, eax
je 0xf04205
mov dword [eax + 0x14], 0xf
mov dword [eax + 0x10], 0
mov byte [eax], 0
jmp 0xf04207
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 0xf0423d
mov cl, byte [eax]
cmp cl, 0x80
jae 0xf0423d
movzx ecx, cl
inc eax
mov dword [esp + 0x34], ecx
mov dword [ebx + 4], eax
jmp 0xf04268
mov edx, esi
sub edx, eax
cmp edx, 0xa
jge 0xf0429f
cmp esi, eax
jbe 0xf04250
test byte [esi - 1], 0x80
je 0xf0429f
lea eax, [esp + 0x5c]
push eax
mov eax, ebx
call fcn.00efb550
test al, al
jne 0xf04293
test al, al
je 0xf0496c
mov esi, dword [esp + 0x34]
call fcn.00eedd80
test al, al
je 0xf0496c
mov eax, dword [ebx + 4]
cmp eax, dword [ebx + 8]
jae 0xf042b9
cmp byte [eax], 0x1a
jne 0xf042b9
mov esi, dword [esp + 0x1c]
inc eax
mov dword [ebx + 4], eax
jmp 0xf041af
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x34], ecx
mov al, 1
jmp 0xf04260
lea edx, [esp + 0x34]
push edx
call fcn.00efb110
add esp, 4
test eax, eax
je 0xf0496c
mov dword [ebx + 4], eax
jmp 0xf04268
mov eax, dword [ebx + 4]
cmp eax, dword [ebx + 8]
jae 0xf04006
cmp byte [eax], 0x22
jne 0xf04006
inc eax
mov dword [ebx + 4], eax
jmp 0xf042e2
mov ecx, eax
and cl, 7
cmp cl, 2
jne case.default.0xf04090
mov edi, dword [esp + 0x20]
mov eax, dword [edi + 0x34]
mov ecx, dword [edi + 0x38]
mov esi, 1
cmp eax, ecx
jge 0xf04305
mov edx, dword [edi + 0x30]
mov ecx, dword [edx + eax*4]
inc eax
mov dword [edi + 0x34], eax
mov dword [esp + 0x1c], ecx
jmp 0xf04343
mov eax, dword [edi + 0x3c]
cmp ecx, eax
jne 0xf04316
inc eax
push eax
lea eax, [edi + 0x30]
call fcn.00ed1990
add dword [edi + 0x38], esi
push 0xb8
call fcn.00f58a50
add esp, 4
test eax, eax
je 0xf04331
call fcn.00f06120
jmp 0xf04333
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 0xf04361
mov cl, byte [eax]
cmp cl, 0x80
jae 0xf04361
movzx ecx, cl
inc eax
mov dword [esp + 0x30], ecx
mov dword [ebx + 4], eax
jmp 0xf04394
mov edx, esi
sub edx, eax
cmp edx, 0xa
jge 0xf043ff
cmp esi, eax
jbe 0xf0437c
test byte [esi - 1], 0x80
je 0xf043ff
lea eax, [esp + 0x44]
push eax
mov eax, ebx
call fcn.00efb550
test al, al
jne 0xf043f3
test al, al
je 0xf0496c
inc dword [ebx + 0x2c]
mov eax, dword [ebx + 0x2c]
cmp eax, dword [ebx + 0x30]
jg 0xf0496c
mov eax, dword [esp + 0x30]
push eax
mov ecx, ebx
call fcn.00efab20
mov ecx, dword [esp + 0x1c]
push ebx
mov esi, eax
call fcn.00f06450
test al, al
je 0xf0496c
cmp byte [ebx + 0x18], 0
je 0xf0496c
mov ecx, dword [ebx + 0x20]
add dword [ebx + 8], ecx
lea eax, [ebx + 0x1c]
mov dword [eax], esi
cmp dword [ebx + 0x24], esi
jge 0xf043e0
lea eax, [ebx + 0x24]
mov ecx, dword [eax]
mov eax, dword [ebx + 0xc]
cmp ecx, eax
jge 0xf0441c
sub eax, ecx
sub dword [ebx + 8], eax
mov dword [ebx + 0x20], eax
jmp 0xf04423
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x30], ecx
mov al, 1
jmp 0xf0438c
lea edx, [esp + 0x30]
push edx
call fcn.00efb110
add esp, 4
test eax, eax
je 0xf0496c
mov dword [ebx + 4], eax
jmp 0xf04394
mov dword [ebx + 0x20], 0
mov eax, dword [ebx + 0x2c]
mov byte [ebx + 0x18], 0
test eax, eax
jle 0xf04432
dec eax
mov dword [ebx + 0x2c], eax
mov eax, dword [ebx + 4]
cmp eax, dword [ebx + 8]
jae 0xf04448
cmp byte [eax], 0x22
jne 0xf04448
inc eax
mov dword [ebx + 4], eax
jmp 0xf042e6
mov eax, dword [ebx + 4]
cmp eax, dword [ebx + 8]
jae 0xf04006
cmp byte [eax], 0x2a
jne 0xf04006
inc eax
mov dword [ebx + 4], eax
jmp 0xf04471
mov ecx, eax
and cl, 7
cmp cl, 2
jne case.default.0xf04090
mov edx, dword [esp + 0x20]
add edx, 0x50
mov dword [esp + 0x1c], edx
lea esp, [esp]
mov esi, dword [esp + 0x1c]
call fcn.00ee5c60
mov esi, dword [ebx + 8]
mov edi, eax
mov eax, dword [ebx + 4]
cmp eax, esi
jae 0xf044a9
mov cl, byte [eax]
cmp cl, 0x80
jae 0xf044a9
movzx ecx, cl
inc eax
mov dword [esp + 0x24], ecx
mov dword [ebx + 4], eax
jmp 0xf044dc
mov edx, esi
sub edx, eax
cmp edx, 0xa
jge 0xf04545
cmp esi, eax
jbe 0xf044c4
test byte [esi - 1], 0x80
je 0xf04545
lea eax, [esp + 0x4c]
push eax
mov eax, ebx
call fcn.00efb550
test al, al
jne 0xf04539
test al, al
je 0xf0496c
inc dword [ebx + 0x2c]
mov eax, dword [ebx + 0x2c]
cmp eax, dword [ebx + 0x30]
jg 0xf0496c
mov eax, dword [esp + 0x24]
push eax
mov ecx, ebx
call fcn.00efab20
push ebx
mov ecx, edi
mov esi, eax
call fcn.00f08fe0
test al, al
je 0xf0496c
cmp byte [ebx + 0x18], 0
je 0xf0496c
mov ecx, dword [ebx + 0x20]
add dword [ebx + 8], ecx
lea eax, [ebx + 0x1c]
mov dword [eax], esi
cmp dword [ebx + 0x24], esi
jge 0xf04526
lea eax, [ebx + 0x24]
mov ecx, dword [eax]
mov eax, dword [ebx + 0xc]
cmp ecx, eax
jge 0xf04562
sub eax, ecx
sub dword [ebx + 8], eax
mov dword [ebx + 0x20], eax
jmp 0xf04569
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x24], ecx
mov al, 1
jmp 0xf044d4
lea edx, [esp + 0x24]
push edx
call fcn.00efb110
add esp, 4
test eax, eax
je 0xf0496c
mov dword [ebx + 4], eax
jmp 0xf044dc
mov dword [ebx + 0x20], 0
mov eax, dword [ebx + 0x2c]
mov byte [ebx + 0x18], 0
test eax, eax
jle 0xf04578
dec eax
mov dword [ebx + 0x2c], eax
mov eax, dword [ebx + 4]
cmp eax, dword [ebx + 8]
jae 0xf0458e
cmp byte [eax], 0x2a
jne 0xf0458e
inc eax
mov dword [ebx + 4], eax
jmp 0xf04480
mov eax, dword [ebx + 4]
cmp eax, dword [ebx + 8]
jae 0xf04006
cmp byte [eax], 0x32
jne 0xf04006
inc eax
mov dword [ebx + 4], eax
jmp 0xf045b7
mov ecx, eax
and cl, 7
cmp cl, 2
jne case.default.0xf04090
mov edx, dword [esp + 0x20]
add edx, 0x70
mov dword [esp + 0x1c], edx
mov esi, dword [esp + 0x1c]
call fcn.00ee5ce0
mov esi, dword [ebx + 8]
mov edi, eax
mov eax, dword [ebx + 4]
cmp eax, esi
jae 0xf045eb
mov cl, byte [eax]
cmp cl, 0x80
jae 0xf045eb
movzx ecx, cl
inc eax
mov dword [esp + 0x2c], ecx
mov dword [ebx + 4], eax
jmp 0xf0461e
mov edx, esi
sub edx, eax
cmp edx, 0xa
jge 0xf04687
cmp esi, eax
jbe 0xf04606
test byte [esi - 1], 0x80
je 0xf04687
lea eax, [esp + 0x54]
push eax
mov eax, ebx
call fcn.00efb550
test al, al
jne 0xf0467b
test al, al
je 0xf0496c
inc dword [ebx + 0x2c]
mov eax, dword [ebx + 0x2c]
cmp eax, dword [ebx + 0x30]
jg 0xf0496c
mov eax, dword [esp + 0x2c]
push eax
mov ecx, ebx
call fcn.00efab20
push ebx
mov ecx, edi
mov esi, eax
call fcn.00f0a810
test al, al
je 0xf0496c
cmp byte [ebx + 0x18], 0
je 0xf0496c
mov ecx, dword [ebx + 0x20]
add dword [ebx + 8], ecx
lea eax, [ebx + 0x1c]
mov dword [eax], esi
cmp dword [ebx + 0x24], esi
jge 0xf04668
lea eax, [ebx + 0x24]
mov ecx, dword [eax]
mov eax, dword [ebx + 0xc]
cmp ecx, eax
jge 0xf046a4
sub eax, ecx
sub dword [ebx + 8], eax
mov dword [ebx + 0x20], eax
jmp 0xf046ab
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x2c], ecx
mov al, 1
jmp 0xf04616
lea edx, [esp + 0x2c]
push edx
call fcn.00efb110
add esp, 4
test eax, eax
je 0xf0496c
mov dword [ebx + 4], eax
jmp 0xf0461e
mov dword [ebx + 0x20], 0
mov eax, dword [ebx + 0x2c]
mov byte [ebx + 0x18], 0
test eax, eax
jle 0xf046ba
dec eax
mov dword [ebx + 0x2c], eax
mov eax, dword [ebx + 4]
cmp eax, dword [ebx + 8]
jae 0xf046d0
cmp byte [eax], 0x32
jne 0xf046d0
inc eax
mov dword [ebx + 4], eax
jmp 0xf045c2
mov eax, dword [ebx + 4]
cmp eax, dword [ebx + 8]
jae 0xf04006
cmp byte [eax], 0x3a
jne 0xf04006
inc eax
mov dword [ebx + 4], eax
jmp 0xf046f9
mov ecx, eax
and cl, 7
cmp cl, 2
jne case.default.0xf04090
mov edi, dword [esp + 0x20]
mov eax, dword [edi + 0x94]
mov ecx, dword [edi + 0x98]
xor esi, esi
jmp 0xf04710
cmp eax, ecx
jge 0xf0472a
mov edx, dword [edi + 0x90]
mov ecx, dword [edx + eax*4]
inc eax
mov dword [edi + 0x94], eax
mov dword [esp + 0x1c], ecx
jmp 0xf047a3
mov eax, dword [edi + 0x9c]
cmp ecx, eax
jne 0xf04741
inc eax
push eax
lea eax, [edi + 0x90]
call fcn.00ed1990
inc dword [edi + 0x98]
push 0x30
call fcn.00f58a50
add esp, 4
mov edx, 1
cmp eax, esi
je 0xf04788
mov ecx, 0x1035620
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 0xf0478a
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 0xf047c1
mov cl, byte [eax]
cmp cl, 0x80
jae 0xf047c1
movzx edx, cl
inc eax
mov dword [esp + 0x28], edx
mov dword [ebx + 4], eax
jmp 0xf047f4
mov ecx, esi
sub ecx, eax
cmp ecx, 0xa
jge 0xf0485f
cmp esi, eax
jbe 0xf047dc
test byte [esi - 1], 0x80
je 0xf0485f
lea edx, [esp + 0x64]
push edx
mov eax, ebx
call fcn.00efb550
test al, al
jne 0xf04853
test al, al
je 0xf0496c
inc dword [ebx + 0x2c]
mov eax, dword [ebx + 0x2c]
cmp eax, dword [ebx + 0x30]
jg 0xf0496c
mov edx, dword [esp + 0x28]
push edx
mov ecx, ebx
call fcn.00efab20
mov ecx, dword [esp + 0x1c]
push ebx
mov esi, eax
call fcn.00f08100
test al, al
je 0xf0496c
cmp byte [ebx + 0x18], 0
je 0xf0496c
mov ecx, dword [ebx + 0x20]
add dword [ebx + 8], ecx
lea eax, [ebx + 0x1c]
mov dword [eax], esi
cmp dword [ebx + 0x24], esi
jge 0xf04840
lea eax, [ebx + 0x24]
mov ecx, dword [eax]
mov eax, dword [ebx + 0xc]
cmp ecx, eax
jge 0xf0487c
sub eax, ecx
sub dword [ebx + 8], eax
mov dword [ebx + 0x20], eax
jmp 0xf04883
mov eax, dword [esp + 0x64]
mov dword [esp + 0x28], eax
mov al, 1
jmp 0xf047ec
lea ecx, [esp + 0x28]
push ecx
call fcn.00efb110
add esp, 4
test eax, eax
je 0xf0496c
mov dword [ebx + 4], eax
jmp 0xf047f4
mov dword [ebx + 0x20], 0
mov eax, dword [ebx + 0x2c]
mov byte [ebx + 0x18], 0
test eax, eax
jle 0xf04892
dec eax
mov dword [ebx + 0x2c], eax
mov eax, dword [ebx + 4]
cmp eax, dword [ebx + 8]
jae 0xf048a8
cmp byte [eax], 0x3a
jne 0xf048a8
inc eax
mov dword [ebx + 4], eax
jmp 0xf046fd
mov eax, dword [ebx + 4]
cmp eax, dword [ebx + 8]
jae 0xf04006
cmp byte [eax], 0x42
jne 0xf04006
inc eax
mov dword [ebx + 4], eax
jmp 0xf048cd
mov ecx, eax
and cl, 7
cmp cl, 2
jne case.default.0xf04090
mov esi, dword [esp + 0x20]
call fcn.00ed30b0
push eax
mov eax, ebx
call fcn.00f169e0
add esp, 4
test al, al
je 0xf0496c
mov eax, dword [ebx + 4]
cmp eax, dword [ebx + 8]
jae 0xf04006
cmp byte [eax], 0x4a
jne 0xf04006
inc eax
mov dword [ebx + 4], eax
jmp 0xf0490e
mov edx, eax
and dl, 7
cmp dl, 2
jne case.default.0xf04090
mov esi, dword [esp + 0x20]
call fcn.00f012f0
push eax
mov eax, ebx
call fcn.00f16a50
add esp, 4
test al, al
je 0xf0496c
mov eax, dword [ebx + 4]
cmp eax, dword [ebx + 8]
jne 0xf04006
cmp dword [ebx + 0x20], 0
je 0xf04006
mov al, 1
mov dword [ebx + 0x14], 0
mov byte [ebx + 0x18], al
jmp 0xf04972
mov ecx, eax
and cl, 7
cmp cl, 4
je 0xf04970
mov ecx, dword [esp + 0x20]
add ecx, 4
push ebx
call fcn.00ef5320
add esp, 4
test al, al
jne 0xf04006
xor al, al
jmp 0xf04972
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.00f58a41
mov esp, ebp
pop ebp
ret 4